Credentials that are stored in clear text in memory or written to log files can be intercepted by a malicious actor.
1PASSWORD_HASHERS = [
2 # Noncompliant: uses non-standard or insecure password hashers.
3 "django.contrib.auth.hashers.MD5PasswordHasher",
4 "django.contrib.auth.hashers.PBKDF2PasswordHasher"
5 ]
1PASSWORD_HASHERS = [
2 # Compliant: uses standard and secure hashers.
3 'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
4 'django.contrib.auth.hashers.BCryptPasswordHasher',
5 'django.contrib.auth.hashers.PBKDF2PasswordHasher',
6 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
7 'django.contrib.auth.hashers.Argon2PasswordHasher'
8]