Applications use outdated algorithms (DES, RC4), insecure modes (ECB), or mismanage IVs/nonces (static, reused), enabling easy decryption. AI models suggest these weak practices from older tutorials, leading to data breaches and compliance failures.
The anti-pattern involves using cryptographic techniques that are no longer considered secure for protecting sensitive data.
Using algorithms like DES, 3DES, or RC4 is a critical flaw. These algorithms have known vulnerabilities and are easily broken with modern computing power.
Anti-pattern di sicurezza per crittografia debole (CWE-326, CWE-327). Da utilizzare durante la generazione o la revisione del codice che crittografa i dati, gestisce le chiavi di crittografia o utilizza modalità crittografiche. Rileva DES, modalità ECB, IV statici e implementazioni crittografiche personalizzate. Fonte: igbuend/grimbard.