What problem does it solve?
Django access control and IDOR vulnerabilities are a common risk in Django applications. This skill helps security reviewers systematically audit how the code enforces authorization, focusing on ownership, permissions, and tenant isolation to prevent unauthorized access or modification of user data.
Core Features & Use Cases
- Understand and map the application's authorization model, including where permission checks occur (decorators, mixins, or DRF permissions) and how queries are scoped.
- Trace endpoints from URL/view to the database query to ensure data access is properly restricted to the intended user or tenant.
- Provide concrete remediation guidance with evidence-based, codified fixes for Django views, DRF viewsets, and ORM queries to close gaps.
Quick Start
Begin by selecting a Django project, identify a user-owned resource endpoint, and trace authorization checks from the view to the query to verify proper scoping.