django-access-review
Skill by getsentry
django-access-review is an agent skill that checks Django and DRF code for access control and IDOR flaws. It traces whether one user can reach another user's data by changing an ID, and reports only confirmed issues.
Install django-access-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/getsentry/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/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/getsentry/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/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
django-access-review is an agent skill for reviewing Django views, DRF viewsets, ORM queries and other Python code that handles user authorization. It guides the assistant to first learn how authorization works in the codebase. That covers decorators, middleware, base classes, permission classes, custom managers and ownership models such as user, organization or tenant. It then maps endpoints that handle user data.
The skill asks whether one user can read, change or delete another user's data by using a known ID. It traces each flow from where the ID enters to where data is fetched, and checks for access checks in between. Findings are rated High, Medium or Low confidence, and suggested fixes must contain enforcing code rather than comments. The source describes it for developers and security reviewers working on Django projects.
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 operations that handle user-specific data.
- Flow tracingFollows a resource ID from the request to the ORM query and checks what runs in between.
- Confidence-rated findingsReports issues as High or Medium confidence, with Low findings left out.
- Enforcing fix suggestionsSuggests code that validates permissions instead of documentation or comments.
What you need
- A Django or Python codebase to review
- Access to read and search project files (Read, Grep, Glob)
- Shell access through the Bash tool
Try asking
- Review my Django DRF viewsets for IDOR and access control issues
- Check whether my ORM queries scope data to the current user
- Trace the authorization on the document detail endpoint in this project
Good to know
- Investigates the code it reads and does not scan for fixed vulnerable patterns.
- Medium confidence findings need manual verification.
- Low confidence findings are not reported.
- The source does not say it changes files.
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
Allowed tools: Read Grep Glob Bash Task
-
SKILL.md10 KB -
references/django-orm.md2 KB -
references/django-views.md2 KB -
references/drf-permissions.md2 KB -
references/tenant-isolation.md2 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
Does this skill scan for known vulnerable patterns?
No. The source says it investigates how each codebase handles authorization instead of matching predefined patterns.
What confidence levels does it use?
High, Medium and Low. High findings are reported with evidence, Medium findings are noted for manual checks, and Low findings are not reported.
What kind of fixes does it suggest?
Fixes must include code that validates permissions and raises an error when access is denied. The source says comments or docstrings are not acceptable as fixes.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is django-access-review safe to use?
It scores 88 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.
