All rules →
Rules / C#
SHIELD-CSHARP-012

Insecure ECB cipher mode

highC#CWE-327CVSS 7.4

What it detects

A symmetric cipher is configured to use ECB mode, which leaks plaintext patterns.

How to fix

Use an authenticated mode such as GCM, or CBC with a random IV instead of ECB.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CSHARP-012: Insecure ECB cipher mode — Zennoxa Shield