vetkit.js.crypto.weak-password-hash
A password or secret is hashed with a fast, broken digest (MD5/SHA-1). Such hashes are trivially brute-forced.
Last updated:
Suite: Security
javascript, typescript
A password or secret is hashed with a fast, broken digest (MD5/SHA-1). Such hashes are trivially brute-forced.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Use a password hashing function such as argon2id, scrypt or bcrypt.
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.