## medium Finding
**Scanner:** devskim
**Severity:** medium
**Rule:** DS187371
**CWE:** CWE-327
**CRA:** cra-ai-13 — Verschlüsselung sensibler Daten (Annex I)
### Description
A weak cipher mode of operation was used
A weak cipher mode of operation was used: A potentially weak cipher mode of operation was used.
### Location
**File:** `compliance-agent/rules/cra_semgrep_csharp.cs` (line 203)
### Code
```
aes.Mode = CipherMode.ECB;
```
### Remediation
Exclude rule fixture/example paths from cryptographic scans or move examples out of production paths.
---
*Fingerprint:* `86f0218efe68d53377b93ddad0233950afc80ec282f3cd53f14cfaf084e26542`
*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: devskim
Severity: medium
Rule: DS187371
CWE: CWE-327
CRA: cra-ai-13 — Verschlüsselung sensibler Daten (Annex I)
Description
A weak cipher mode of operation was used
A weak cipher mode of operation was used: A potentially weak cipher mode of operation was used.
Location
File:
compliance-agent/rules/cra_semgrep_csharp.cs(line 203)Code
Remediation
Exclude rule fixture/example paths from cryptographic scans or move examples out of production paths.
Fingerprint:
86f0218efe68d53377b93ddad0233950afc80ec282f3cd53f14cfaf084e26542Generated 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.