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-modèle de sécurité pour un cryptage faible (CWE-326, CWE-327). À utiliser lors de la génération ou de la révision de code qui crypte des données, gère des clés de cryptage ou utilise des modes cryptographiques. Détecte le DES, le mode ECB, les IV statiques et les implémentations de chiffrement personnalisées. Source : igbuend/grimbard.