django-access-review

Analyzes Django and DRF codebases to trace authorization logic and identify IDOR access control vulnerabilities.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/monmacllcapp/skill-forks --skill django-access-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-access-review
Source: https://github.com/monmacllcapp/skill-forks/tree/main/skills/sentry/plugins/sentry-skills/skills/django-access-review
Command: npx skills add https://github.com/monmacllcapp/skill-forks --skill django-access-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps identify and fix critical access control vulnerabilities, such as Insecure Direct Object References (IDOR), in Django applications, ensuring that users can only access data they are authorized to see.

Core Features & Use Cases

  • Authorization Model Analysis: Understand how permissions are implemented in a Django codebase.
  • Attack Surface Mapping: Identify endpoints and resources that handle sensitive user data.
  • Vulnerability Tracing: Trace code flows to pinpoint gaps in access control logic.
  • Use Case: Reviewing a Django REST Framework API to ensure that a user logged in as 'user_a' cannot access or modify the data belonging to 'user_b' by simply manipulating an ID in the URL.

Quick Start

Analyze the Django codebase at '/path/to/project' for potential IDOR vulnerabilities.

Frequently Asked Questions about django-access-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find IDOR vulnerabilities in a Django REST Framework API?

To find IDOR vulnerabilities in a Django REST Framework API, analyze views and viewsets to trace authorization logic and data access patterns. This identifies endpoints where manipulating an object ID might expose another user's data.

What is the best way to review Django ORM queries for access control flaws?

Reviewing Django ORM queries for access control flaws involves tracing object permissions and tenant isolation logic within querysets. This ensures data retrieval is strictly scoped to the authorized user.

How does authorization model analysis work for Django codebases?

Authorization model analysis works by mapping how permissions are implemented across Django views and DRF viewsets. It traces code flows to pinpoint gaps in access control logic and locate sensitive endpoints.

Can I use this to check tenant isolation in my Django application?

Yes, you can check tenant isolation in your Django application by analyzing Python code related to user authorization. It traces data access patterns to ensure multi-tenant boundaries are enforced across ORM queries.

How do I map the attack surface of a Django REST Framework codebase?

To map the attack surface of a Django REST Framework codebase, identify endpoints and resources that handle sensitive user data. This highlights areas where insecure direct object references or permission gaps could be exploited.

What limitations exist when tracing access control logic in Django views?

When tracing access control logic in Django views, limitations arise if authorization is enforced dynamically outside standard ORM queries or viewsets. Complex, scattered permission checks may obscure data access patterns and hinder vulnerability tracing.