Weak encryption algorithm (DES) detected.
- Rule ID: java_lang_weak_encryption_des
- Languages: java
- Source: weak_encryption_des.yml
A weak encryption library can lead to data breaches and greater security risk.
According to OWASP, DES (Data Encryption Standard) is considered a weak encryption algorithm and therefore shouldn't be used.
✅ Use stronger encryption algorithms when storing data.
Cipher c = Cipher.getInstance("AES/CBC/PKCS5Padding");
OWASP Top 10
To skip this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --skip-rule=java_lang_weak_encryption_des
To run only this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --only-rule=java_lang_weak_encryption_des
Ready to take the next step? Learn more about Bearer Cloud.