Scanner: semgrep Severity: medium Rule: cra-ai-13-csharp-broken-hash-or-cipher CWE: CWE-327
Description
TripleDES is a broken algorithm (MD5, SHA-1, DES, 3DES or RC2) that protects neither integrity nor confidentiality (CWE-327). Use SHA-256 or better, and AES-GCM.
## medium Finding
**Scanner:** semgrep
**Severity:** medium
**Rule:** cra-ai-13-csharp-broken-hash-or-cipher
**CWE:** CWE-327
### Description
TripleDES is a broken algorithm (MD5, SHA-1, DES, 3DES or RC2) that protects neither integrity nor confidentiality (CWE-327). Use SHA-256 or better, and AES-GCM.
### Location
**File:** `compliance-agent/rules/cra_semgrep_csharp.cs` (line 196)
### Code
```
var tdes = TripleDES.Create();
```
---
*Fingerprint:* `56635baa9ba365f366b9121a1574ccdf82b761cd32450ea7e98459d24f83a6e6`
*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: semgrep
Severity: medium
Rule: cra-ai-13-csharp-broken-hash-or-cipher
CWE: CWE-327
Description
TripleDES is a broken algorithm (MD5, SHA-1, DES, 3DES or RC2) that protects neither integrity nor confidentiality (CWE-327). Use SHA-256 or better, and AES-GCM.
Location
File:
compliance-agent/rules/cra_semgrep_csharp.cs(line 196)Code
Fingerprint:
56635baa9ba365f366b9121a1574ccdf82b761cd32450ea7e98459d24f83a6e6Generated 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.