Skip to content
vetkitChecksChangelogDocumentation

vetkit.rust.crypto.weak-password-hash

A password or secret is hashed with MD5 / SHA-1, which can be brute-forced quickly.

Last updated:

Suite: Security

rust

A password or secret is hashed with MD5 / SHA-1, which can be brute-forced quickly.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Hash passwords with the argon2, scrypt or bcrypt crates (argon2id with a random salt is the default choice).

References

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