Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.crypto.bcrypt-low-cost

bcrypt is used with a cost factor below 10. Stolen password hashes are then much cheaper to crack.

Last updated:

Suite: Security

javascript, typescript

bcrypt is used with a cost factor below 10. Stolen password hashes are then much cheaper to crack.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use a cost factor of at least 10 (12 is a common choice) and re-hash on next login.

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.