django-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides templates and architectural patterns that align with Django security best practices.
- [CREDENTIALS_UNSAFE]: The configuration examples correctly demonstrate using environment variables via an
env()function for sensitive information such as database credentials and the Django secret key, avoiding hardcoded secrets. - [SAFE]: The production settings template includes necessary security flags such as
SECURE_SSL_REDIRECT,SESSION_COOKIE_SECURE,CSRF_COOKIE_SECURE, and HSTS headers (SECURE_HSTS_SECONDS) to protect the application in a production environment. - [SAFE]: The authentication patterns use Django's built-in
validate_passwordandset_passwordmethods, ensuring proper password hashing and complexity validation.
Audit Metadata