Do not bake a password or password hash into the image: every device ships with the same credential. Lock the account (usermod -p '*'), use key authentication, or set a per-device password at provisioning.
## high Finding
**Scanner:** yocto-config
**Severity:** high
**Rule:** yocto-extrausers-password
**CWE:** CWE-798
**CRA:** cra-ai-8 — Keine Default-Passwörter (Annex I)
### Description
The image sets a fixed password for the account.
CRA Annex I Part I (2)(b): products are made available with a secure by default configuration.
### Location
**File:** `fixtures/nightly/firmware/yocto-layer/recipes-core/images/pump-image.bb` (line 13)
### Code
```
usermod -p <hidden>
```
### Remediation
Do not bake a password or password hash into the image: every device ships with the same credential. Lock the account (usermod -p '*'), use key authentication, or set a per-device password at provisioning.
---
*Fingerprint:* `423e4081f1b380337fcbd35964a253c7257fad4df881f6b24ff5c5fb830f3a81`
*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.
high Finding
Scanner: yocto-config
Severity: high
Rule: yocto-extrausers-password
CWE: CWE-798
CRA: cra-ai-8 — Keine Default-Passwörter (Annex I)
Description
The image sets a fixed password for the account.
CRA Annex I Part I (2)(b): products are made available with a secure by default configuration.
Location
File:
fixtures/nightly/firmware/yocto-layer/recipes-core/images/pump-image.bb(line 13)Code
Remediation
Do not bake a password or password hash into the image: every device ships with the same credential. Lock the account (usermod -p '*'), use key authentication, or set a per-device password at provisioning.
Fingerprint:
423e4081f1b380337fcbd35964a253c7257fad4df881f6b24ff5c5fb830f3a81Generated 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.