Skip to content
vetkitChecksChangelogDocumentation

vetkit.ruby.crypto.weak-password-hash

A password is hashed with MD5/SHA-1, which is trivially brute-forced.

Last updated:

Suite: Security

ruby

A password is hashed with MD5/SHA-1, which is trivially brute-forced.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Use has_secure_password / BCrypt::Password.create (or Argon2) instead of a plain digest.

References

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