vetkit.c.crypto.ecb-mode
AES is used in ECB mode; equal plaintext blocks produce equal ciphertext blocks, which leaks data patterns.
Last updated:
Suite: Security
c, cpp
AES is used in ECB mode; equal plaintext blocks produce equal ciphertext blocks, which leaks data patterns.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Use an authenticated mode such as EVP_aes_256_gcm() with a fresh random IV per message.
References
Source: packages/engine/rules/sast/c.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.