Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 88
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install django-access-review in Claude Code

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

A

No 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 →

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.

django-access-review Install

Add to stack

Loading.