## medium Finding
**Scanner:** oelint-adv
**Severity:** medium
**Rule:** oelint.vars.autorev
**CWE:** CWE-494
**CRA:** cra-ai-6 — Integritätsprüfung (Annex I)
### Description
The usage of 'AUTOREV' for SRCREV leads to not reproducible builds
CRA Annex I Part I (2)(f): the integrity of the software is protected; an image built from unverified or moving sources cannot be traced to them.
### Location
**File:** `fixtures/nightly/firmware/yocto-layer/recipes-app/pump-fw/pump-fw_git.bb` (line 6)
### Code
```
SRCREV = "${AUTOREV}"
```
### Remediation
Pin SRCREV to a commit: with AUTOREV every build takes whatever the branch holds, and the image cannot be rebuilt or traced to its sources.
---
*Fingerprint:* `327ec4c4bbf865caecbded14a9f3cd9c3a39132c72d0880a38ec032c33f3f25b`
*Generated by compliance-scanner*
[Open in Prüfwerk / In Prüfwerk öffnen](https://pruefwerk.breakpilot.com/findings?target=6ae9aa2160f5d8045fc570a7)
Prüfwerk: Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind.
The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.
**Prüfwerk:** Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind.
The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
medium Finding
Scanner: oelint-adv
Severity: medium
Rule: oelint.vars.autorev
CWE: CWE-494
CRA: cra-ai-6 — Integritätsprüfung (Annex I)
Description
The usage of 'AUTOREV' for SRCREV leads to not reproducible builds
CRA Annex I Part I (2)(f): the integrity of the software is protected; an image built from unverified or moving sources cannot be traced to them.
Location
File:
fixtures/nightly/firmware/yocto-layer/recipes-app/pump-fw/pump-fw_git.bb(line 6)Code
Remediation
Pin SRCREV to a commit: with AUTOREV every build takes whatever the branch holds, and the image cannot be rebuilt or traced to its sources.
Fingerprint:
327ec4c4bbf865caecbded14a9f3cd9c3a39132c72d0880a38ec032c33f3f25bGenerated by compliance-scanner
Open in Prüfwerk / In Prüfwerk öffnen
Prüfwerk: Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind.
The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.