-
Notifications
You must be signed in to change notification settings - Fork 770
Home
This is a tool built to run bug bounty hunting from the terminal using Claude Code. It handles recon, scans for about 20 vulnerability classes, has an autonomous hunting mode, and puts together a proper report at the end.
The idea came from getting tired of jumping between five different tools during a hunt. This wraps all of it into one workflow so you can focus on the actual finding instead of the setup.
- Subdomain enumeration, URL crawling, and live host detection
- Scans for SQLi, XSS, SSRF, IDOR, SSTI, open redirects, file upload bypass, CORS issues, and more
- Checks auth flows for MFA/2FA bypass, SAML/SSO weaknesses, and session handling problems
- Autonomous hunting mode where an LLM reasons through recon output and decides what to probe next
- Generates a clean HTML report (Burp-style) that you can actually submit to a bug bounty program
git clone https://github.com/shuvonsec/claude-bug-bounty
cd claude-bug-bounty
python3 hunt.py --target example.com --quickFor a full autonomous hunt with a 2-hour time budget:
python3 hunt.py --target example.com --autonomous --time 2python3 hunt.py --target example.com # domain
python3 hunt.py --target 192.168.1.100 # single IP
python3 hunt.py --target 10.0.0.0/24 # CIDR rangeBy default it uses Ollama locally so you do not need any API keys. If you want to use a cloud model instead:
export BRAIN_PROVIDER=claude
export ANTHROPIC_API_KEY=your-key-here
python3 hunt.py --target example.comSupported providers: Ollama (local, default), Claude, OpenAI, Grok. It auto-detects in that order and falls back if the primary is unavailable.
| Script | What it does |
|---|---|
hunt.py |
Main entry point, orchestrates the full hunt |
recon_engine.sh |
Subdomain enum, URL discovery, live host check |
vuln_scanner.sh |
Runs all vuln checks (20+ classes) |
brain.py |
LLM reasoning layer for triage and next-step decisions |
agent.py |
Autonomous ReAct loop that drives the hunt end-to-end |
report_generator.py |
Builds the final HTML and Markdown report |
The agent writes an append-only event log you can tail in real time:
tail -f recon/example.com/sessions/<id>/agent_trace.jsonlYou can also inject guidance mid-run without stopping the agent:
echo "focus on /api/v2/ endpoints" > agent_bump.txtIf a hunt gets interrupted it saves full state to disk. Resume it with:
python3 agent.py --target example.com --resume SESSION_IDPRs are welcome. If you add a new vuln check or improve an existing one, include a brief description of what it tests and how to verify it. Check open issues and PRs before starting so you are not doubling up on something already in progress.