hunt-django
Skill by uphiago
Hunts Django-specific vulnerabilities, including Django REST Framework permission gaps, ORM raw query injection and Django admin exploitation. Written for security testers working on Python and Django targets.
Install hunt-django
Built from the published package, never by AI.
git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.claude/skills && cp -r /tmp/recon-skills/redteam/hunt-django ~/.claude/skills/hunt-djangoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/recon-skills/redteam/hunt-django ~/.gemini/antigravity-cli/skills/hunt-djangoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
hunt-django is a security testing skill for AI assistants that focuses on Django-specific vulnerabilities. It covers Django REST Framework permission class gaps, ORM raw query injection, template injection through the |safe filter and mark_safe, and Django admin panel exploitation. It also covers Django Channels WebSocket auth parity. The skill describes Celery task queues and Channels WebSockets as part of Django's attack surface.
The procedure runs in phases using curl and short Python snippets. It probes common DRF action names, tests raw() and extra() queries, checks common admin paths and credentials, and decodes session cookies. It links to related skills for SQL injection, SSTI, IDOR and CSRF. It is intended for security researchers and penetration testers working on Django targets.
Written from the project's SKILL.md and checked against it.
What it can do
- DRF permission gap checksTests DRF list, retrieve and custom @action endpoints for missing permission checks.
- ORM raw query injectionTests Django raw() and extra() calls for SQL injection using crafted input.
- Django admin exploitationFinds admin paths, decodes session cookies and tests common admin credentials.
- Template injection checksLooks for unsafe use of |safe or mark_safe and user-controlled template names.
- Channels WebSocket auth checksCompares WebSocket authentication with and without a session cookie.
What you need
- curl
- Python 3
- Linux
Try asking
- Check my Django REST API at target.com for permission gaps in DRF actions.
- Test the search endpoint on my Django app for ORM raw query injection.
- Look for an exposed Django admin panel on this host and check its session handling.
Good to know
- Django admin brute force is heavily logged, so use caution on production targets.
- SECRET_KEY must actually be leaked, since guessing or brute-forcing it is not practical.
- Template injection needs an explicit sink such as |safe or mark_safe, because Django auto-escapes by default.
- A DRF AllowAny setting is not a misconfiguration unless the endpoint should be restricted.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: redteam/hunt-django/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to hunt-django
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
hunt-django: common questions
What Django vulnerabilities does hunt-django look for?
The source covers DRF permission class gaps, ORM raw query injection, template injection through |safe and mark_safe, and Django admin exploitation. It also covers Channels WebSocket auth parity.
What do I need to run hunt-django?
The skill's compatibility line says it requires curl and python3, and it lists Linux as the platform.
Is hunt-django safe to use on production systems?
The source warns that Django admin brute force is heavily logged and says to use it with caution on production targets.
How do I install hunt-django?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hunt-django free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hunt-django safe to use?
It scores 80 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 hunt-django?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
