Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.crypto.ecb-mode

A block cipher is used in ECB mode. ECB encrypts identical plaintext blocks to identical ciphertext blocks and leaks the structure of the data.

Last updated:

Suite: Security

javascript, typescript

A block cipher is used in ECB mode. ECB encrypts identical plaintext blocks to identical ciphertext blocks and leaks the structure of the data.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use an authenticated mode such as AES-256-GCM with a random 12-byte IV per message.

References

Source: packages/engine/rules/sast/javascript.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.