Skip to content

feat(skills): Add Django access control and IDOR security review skill#38

Merged
gricha merged 1 commit intomainfrom
django-access-review
Feb 4, 2026
Merged

feat(skills): Add Django access control and IDOR security review skill#38
gricha merged 1 commit intomainfrom
django-access-review

Conversation

@gricha
Copy link
Member

@gricha gricha commented Feb 4, 2026

Add a new skill for reviewing Django codebases for access control vulnerabilities, particularly IDOR (Insecure Direct Object Reference) issues.

This skill takes an investigation-based approach rather than pattern matching. Instead of scanning for predefined vulnerable patterns, it guides the agent to:

  1. Understand how authorization works in the specific codebase
  2. Map the attack surface (resources, endpoints, operations)
  3. Ask and answer the core question: "Can User A access User B's data?"
  4. Trace specific flows from request to data access
  5. Report only confirmed findings with evidence

Includes reference documentation for:

  • Django ORM query scoping patterns
  • Django view authorization patterns
  • DRF permission classes and object permissions
  • Multi-tenant isolation approaches

Trigger keywords: "IDOR", "access control", "authorization", "Django permissions", "object permissions", "tenant isolation", "broken access"

Introduces a new skill for reviewing Django codebases for access control
vulnerabilities, with focus on IDOR detection. Unlike pattern-matching
scanners, this skill emphasizes investigation-based review: understanding
the authorization model, tracing data flows, and confirming gaps through
code analysis.

Includes reference docs for Django ORM, views, DRF permissions, and
tenant isolation patterns.

Co-Authored-By: Claude <noreply@anthropic.com>
@gricha gricha marked this pull request as ready for review February 4, 2026 22:42
@gricha gricha merged commit 4da4bed into main Feb 4, 2026
6 checks passed
@gricha gricha deleted the django-access-review branch February 4, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant