Skip to main content
prompt CX Codex

hunt — Claude Code prompt: automated vulnerability hunting

hunt — a prompt for systematic vulnerability detection on target hosts. Reads scope, detects tech stack, auto-selects vuln classes by likelihood, and runs targeted tests with concrete payloads and WAF bypass rules.

no license ★ 1,298 updated 2026-06-12

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/hunt.md
Open on GitHub

What hunt does

hunt loads the scan scope from scope.yaml, checks what has already been tested via brain telemetry, detects the target's technology stack from HTTP headers, and ranks vulnerability classes by attack surface and ROI. For each class, it dispatches specialized agents armed with ready-to-use payloads, WAF bypass techniques, and chain anchors for low-value findings.

The prompt enforces four mandatory phases: artifact reads (scope, brain, policy), tech stack detection via curl headers, automatic class selection by probability ranking, and prior art search through MCP writeup-search. If a WAF is detected (Cloudflare, Akamai, AWS WAF), the prompt injects a seven-level bypass ladder: encoding, tag mutation, JavaScript obfuscation, and compound techniques. Time and token budgets gate each class. If a vuln class is exhausted (too many attempts without signal), an exhaustion check either advances to the next class or re-dispatches with stricter requirements. For feeder classes that sell low as standalone findings (open-redirect, info-disclosure, CSRF), the prompt mandates chain hunting before writeup submission.

What it helps with

  • determine which vulnerability classes are most likely on a given tech stack
  • bypass WAF and shields without wasting testing budget
  • find proven techniques and payloads for the target vulnerability from community knowledge
  • track what has already been tested to avoid duplicate effort
  • chain low-value findings into high-impact reports before submission

Example prompts for the agent

  • /hunt example.com
  • /hunt api.target.org --vuln-class xss
  • /hunt app.service.io --vuln-class idor

How to install hunt

Manually: put the files in place

.claude/commands/hunt.md

Questions about hunt

How do I install hunt in Claude Code?

Create a file .claude/commands/hunt.md at the project root and paste the prompt text into it. After that, the /hunt slash command will be available in Claude Code.

What does hunt do?

It automates vulnerability discovery: reads the scan scope, identifies the target's technology stack, ranks vulnerability classes by likelihood, and runs targeted tests with payloads. If a WAF is detected, hunt applies its built-in bypass protocol.

What dependencies does hunt need?

hunt calls internal tools: brain.py for test history, scope_check.py for scope validation, intel_engine.py for class ranking and budget allocation. It also uses the writeup-search MCP server if available. All of these must be present in your project.

Similar prompts

All prompts for Security →
security-payloads Eyadkelleh security-payloads delivers curated SecLists attack payloads for testing anti-virus filters and file upload handlers. Built for authorized penetration testers and auditors. CX Codex +1 643installs hunt-exceptional-conditions Sachin Sharma The hunt-exceptional-conditions skill reveals when an app leaks stack traces, server paths, or library versions through unhandled exceptions triggered by malformed input. Effective for testing APIs and web endpoints. CX Codex +1 ★ 16,193repo stars hunt-session Sachin Sharma hunt-session is a Claude Code skill that detects session-management flaws during security testing, including fixation, weak IDs, invalidation gaps, and JWT or refresh-token issues. CX Codex +1 ★ 16,193repo stars xss-cross-site-scripting yaklang xss-cross-site-scripting is a Claude Code skill for investigating XSS when user input flows into HTML, JavaScript, or DOM. It helps analyze the rendering context involved. CX Codex +1 4,300installs ghost-bits-cast-attack yaklang ghost-bits-cast-attack is a Claude Code skill showing how a 16-bit Java char narrows to an 8-bit byte and bypasses WAFs before SQLi, deserialization and webshell uploads. CX Codex +1 3,700installs performing-web-application-firewall-bypass mahipal performing-web-application-firewall-bypass guides security testing agents through bypassing web application firewalls. It provides obfuscation techniques, parameter pollution, and HTTP tricks to test SQLi and XSS payloads. CX Codex +1 310installs

From the same set43

The whole set →
ssti-hunter ssti-hunter is a Claude Code skill that investigates server-side template injection (SSTI). It activates for user-controlled templates, rule engines, and rendered messages. CX Codex +1 ★ 1,298repo stars pentest-agents-hunting The pentest-agents-hunting rule structures security hunting around scope, practical impact, and attack chains. It helps an agent drop weak leads and investigate confirmed bugs more deeply. CX Codex +1 ★ 1,298repo stars ssti-hunter ssti-hunter — a subagent for finding and exploiting Server-Side Template Injection (SSTI) across Jinja2, Twig, Velocity, FreeMarker, ERB, and Handlebars. Maps sandbox blocklists, identifies engine type, and chains bypasses to RCE. CX Codex +1 ★ 1,298repo stars pentest-agents-techniques The pentest-agents-techniques rule guides agents through checks for authorization flaws and data leaks in web apps. Use it when testing systems you’re authorized to assess. CX Codex +1 ★ 1,298repo stars hunt Conducts targeted vulnerability hunting by validating scope, fingerprinting stacks, and dispatching exploit tests. CX Codex +1 ★ 1,298repo stars autopilot autopilot coordinates security testing for a target by checking scope and program rules before dispatching specialized subagents. Autonomous mode runs through its completion checks before reporting. CX Codex +1 ★ 1,298repo stars autopilot autopilot — a Claude Code skill that runs a hunt across all vulnerability classes for a target and keeps the agent from calling it done too early. CX Codex +1 ★ 1,298repo stars pentest-agents-mistakes pentest-agents-mistakes is a rule that collects 11 mistakes agents make in security testing, from hallucinated paths to fake PoCs. Read it before a vulnerability hunt. CX Codex +1 ★ 1,298repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open