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

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.

  • Score 80
  • 1.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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

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

Step-by-step: install hunt-django in Claude Code

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

A

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

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.

hunt-django Install

Add to stack

Loading.