django-access-review
Skill by sickn33
Guides an AI assistant through an investigation-driven access control review of Django and DRF code. It traces authorization flows, IDOR risks, object permissions and tenant isolation. Written for developers and security reviewers.
Install django-access-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/django-access-review ~/.claude/skills/django-access-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/django-access-review ~/.gemini/antigravity-cli/skills/django-access-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install django-access-review in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through an access control review of Django or Django REST Framework code. It centres on one question: can User A access, modify, or delete User B's data? The skill asks the assistant to first learn how the codebase enforces authorization, such as decorators, permission classes, base classes, custom managers and middleware, and then to map endpoints that handle user data.
The skill traces specific request flows from the resource ID to the ORM query. It checks for query scoping, permission classes, object-level permissions and tenant isolation. It reports only issues confirmed through investigation, with confidence levels, and requires suggested fixes to contain real enforcement code rather than comments. It is intended for developers and security reviewers auditing Django or DRF applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Authorization model mappingFinds how permission checks, query scoping and ownership are implemented in the codebase.
- Attack surface mappingIdentifies endpoints and models that handle user-specific data and the operations exposed.
- Request flow tracingFollows a resource ID from the URL, query or body to the ORM query and checks for access controls.
- IDOR investigationAsks whether one user can access, modify or delete another user's resources by ID.
- Confidence-rated findingsReports confirmed issues with HIGH, MEDIUM or LOW confidence and a structured report format.
- Enforcing fix suggestionsRequires suggested fixes to include code that validates permissions, not documentation alone.
What you need
- A Django or Django REST Framework codebase to review
Try asking
- Review this Django DRF project for IDOR risks in the document endpoints.
- Trace the authorization flow for GET /api/documents/{pk}/ and report findings.
- Check whether the organization_id in our URLs can expose another tenant's data.
Good to know
- Review is read-only by default.
- Negative requests should only target authorized disposable or staging resources.
- Output is not a substitute for environment-specific validation or expert review.
- Examples are integration patterns and must be adapted to the actual models and permissions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/django-access-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to django-access-review
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
django-access-review: common questions
What does the django-access-review skill check?
It checks whether one user can access, modify or delete another user's data in a Django or DRF codebase. It looks at query scoping, object permissions, ownership and tenant isolation.
Does it scan for known vulnerable patterns?
No. The source says it does not scan for predefined patterns and instead investigates how authorization works in the specific codebase. It reports only what it confirms through tracing.
Can it suggest fixes for access control gaps?
Yes. Suggested fixes must include code that enforces permissions, and the source says documentation or comments are never an acceptable fix.
How do I install django-access-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is django-access-review free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is django-access-review safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to django-access-review?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
