Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.django.empty-password-validators

A Django settings module sets AUTH_PASSWORD_VALIDATORS to an empty list, so any password (including "1") is accepted.

Last updated:

Suite: Security

python

A Django settings module sets AUTH_PASSWORD_VALIDATORS to an empty list, so any password (including "1") is accepted.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Enable at least MinimumLengthValidator, CommonPasswordValidator and UserAttributeSimilarityValidator.

References

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