## medium Finding
**Scanner:** oelint-adv
**Severity:** medium
**Rule:** oelint.task.network
**CWE:** CWE-494
**CRA:** cra-ai-2 — Minimale Angriffsfläche (Annex I)
### Description
Task 'do_compile' uses the network flag, that can lead to unpredictable results
CRA Annex I Part I (2)(j): products are designed to limit attack surfaces.
### Location
**File:** `fixtures/nightly/firmware/yocto-layer/recipes-app/pump-web/pump-web_2.1.bb` (line 8)
### Code
```
do_compile[network] = "1"
```
### Remediation
Fetch in do_fetch through SRC_URI, with checksums, instead of giving a build task network access.
---
*Fingerprint:* `aca8b0e5576e34d4ffbeb153f67753a21a6a32f0a47a64f84e6b9396fe33efaf`
*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.task.network
CWE: CWE-494
CRA: cra-ai-2 — Minimale Angriffsfläche (Annex I)
Description
Task 'do_compile' uses the network flag, that can lead to unpredictable results
CRA Annex I Part I (2)(j): products are designed to limit attack surfaces.
Location
File:
fixtures/nightly/firmware/yocto-layer/recipes-app/pump-web/pump-web_2.1.bb(line 8)Code
Remediation
Fetch in do_fetch through SRC_URI, with checksums, instead of giving a build task network access.
Fingerprint:
aca8b0e5576e34d4ffbeb153f67753a21a6a32f0a47a64f84e6b9396fe33efafGenerated 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.