Security essentials for Django — CSRF, CORS, security middleware, ALLOWED_HOSTS,
99
99%
Does it follow best practices?
Impact
99%
2.91xAverage score across 2 eval scenarios
Passed
No known issues
SECURE_SSL_REDIRECT enabled
0%
100%
HSTS enabled
0%
100%
CSRF_TRUSTED_ORIGINS configured
0%
100%
SESSION_COOKIE_SECURE enabled
0%
100%
SECRET_KEY from environment
100%
100%
DEBUG is False for production
100%
100%
ALLOWED_HOSTS configured
50%
100%
Password validators configured
100%
100%
CSRF protection in templates
100%
100%
Session cookie secure and httponly
0%
100%
CSRF cookie secure
0%
100%
SECRET_KEY from environment
0%
85%
SECURE_SSL_REDIRECT enabled
0%
100%
HSTS enabled
0%
100%
No sensitive data in logs
100%
100%
Table of Contents