Skip to content
vetkitChecksChangelogDocumentation

vetkit.csharp.crypto.weak-cipher

A broken or legacy block cipher (DES, 3DES or RC2) is used. Its small key or block size makes the ciphertext practical to brute-force or attack.

Last updated:

Suite: Security

csharp

A broken or legacy block cipher (DES, 3DES or RC2) is used. Its small key or block size makes the ciphertext practical to brute-force or attack.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use AES-GCM (AesGcm) or ChaCha20-Poly1305 with a random 96-bit nonce per message.

References

Source: packages/engine/rules/sast/csharp.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.