All rules →
Rules / Kotlin
SHIELD-KOTLIN-008

Weak or ECB-mode cipher via Cipher.getInstance

highKotlinCWE-327CVSS 7.5

What it detects

Requesting DES, RC4, or AES in ECB mode from Cipher.getInstance provides inadequate confidentiality.

How to fix

Use AES in GCM mode (AES/GCM/NoPadding) with a securely generated random IV.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-008: Weak or ECB-mode cipher via Cipher.getInstance — Zennoxa Shield