Skip to content
vetkitChecksChangelogDocumentation

vetkit.go.crypto.weak-kdf-cost

A password hash is computed with a work factor below the accepted minimum (bcrypt cost under 10 or PBKDF2 under 10000 iterations).

Last updated:

Suite: Security

go

A password hash is computed with a work factor below the accepted minimum (bcrypt cost under 10 or PBKDF2 under 10000 iterations).

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use bcrypt.DefaultCost or higher; for PBKDF2-HMAC-SHA256 use at least 600000 iterations, or prefer argon2id.

References

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