django-security-scan
Installation
SKILL.md
Django Security Scan
Defensive scan for Django (4.2+/5.x) and Django REST Framework projects. Reports findings using the shared scoring schema.
Scope
settings.py/settings/*.pyviews.py, class-based views, DRFViewSets andSerializersurls.py,middleware.py, custom managers and querysets- Templates with
{% autoescape off %}/|safe
Procedure
- Read settings and assess configuration first.
- Walk views and serializers for permissions and validation.
- Grep for
raw(,extra(,mark_safe,format_html,|safe.