AI-powered bug bounty hunting — recon to report, in your terminal. Fail-closed, CDN-aware, deterministic. Zero closed-model lock-in.
🚀 5-Min Operator Playbook • 📊 Live Benchmarks • FAQ • Attribution • MIT License
Get Started · Demo · Safe First Run · Install · AI Providers · Workflows · CLI & Commands · Security Architecture · MCP · What Changed from Upstream · Honest Limitations · Credits
🚀 Get Started (30 Seconds)
# 1. Install the CLI (pick one)
pipx install rhodawk-bounty-hunter
# uv tool install rhodawk-bounty-hunter
# pip install rhodawk-bounty-hunter
# 2. Configure an AI provider (Ollama = free & fully offline)
rhodawk setup
# 3. Compile scope, then hunt
rhodawk scope-compile <program-handle>
rhodawk recon target.com
…or drive it from inside Claude Code / OpenCode:
/recon target.com
/hunt target.com
External scanners (subfinder · httpx · nuclei · katana · ffuf · nmap · …)
are installed separately from a git clone checkout via ./install_tools.sh —
see Install. All runtime data (recon, findings, reports, config,
vault) lives under ~/.rhodawk (override the recon/findings/reports/proxy
tree with $RHODAWK_HOME; see Honest Limitations
for the one path that doesn't follow it).
🎬 Live Demo
Recorded live on an 8-vCPU Ubuntu VPS: rhodawk doctor (0 FAIL, <5s) → fail-closed out-of-scope block (0 packets) → live CDN-aware recon on rhodawkai.com → canonical recon_truth.json + AI recon_brief.md.
🛡️ What Is This?
rhodawk is a terminal-first bug bounty agent for authorized bug-bounty
programs. It is an authorized-testing workflow engine: it fuses a
deterministic recon pipeline (subdomain enumeration, live-host probing, URL
collection, port and parameter discovery) with an LLM brain that runs fully
local (Ollama) or against any OpenAI-compatible provider. Every stage is
gated:
- Scope first, always. Active stages refuse to start without a hash-verified scope manifest; out-of-scope targets abort with zero packets sent to them.
- Deterministic delegation. Capability gaps are filled by reconFTW through a fixed, code-level routing table — never an LLM judgment call.
- A 7-question LLM validation gate, backed by deterministic gates.
Findings are promoted only after a 7-question validation pass whose
verdict is parsed and persisted in code, backstopped by the deterministic
evidence/scope/SSRF gates in
validate_core.py— see Security Architecture for exactly which parts are code-enforced and which are model-judged.
Platform coverage (honest): scope compilation is HackerOne-only today
(paginated REST + keyless GraphQL fallback). Bugcrowd / Intigriti / YesWeHack
credentials can be stored in the vault for manual sessions — no scope compiler
or API integration exists for them yet. Any program's scope can be pinned
without a platform using --scope-domain '*.target.com' patterns on
rhodawk recon / rhodawk hunt.
✅ Safe First Run (60 Seconds, Offline)
Every new install should pass this before touching a live target. It sends zero packets:
rhodawk --version && rhodawk-agent --version
rhodawk doctor # PASS/WARN/FAIL, <5s
rhodawk proxy chaos-test --mode hermetic # 120 hostile multi-plane vectors (HTTP+DNS+SOCKS5), offline
Optional local practice lab (requires a git clone checkout — it is not
shipped in the PyPI/npm package):
python3 demo/app.py # intentionally-vulnerable lab on http://127.0.0.1:8080
📦 Install
Prerequisites
# macOS
brew install go python3 jq
# Linux (Ubuntu / Debian)
sudo apt install golang python3 jq
Option A — Global CLI (PyPI / npm, no git clone needed)
pipx install rhodawk-bounty-hunter # recommended
uv tool install rhodawk-bounty-hunter # or
pip install rhodawk-bounty-hunter # or
# Local scope-enforcement PEP support (mitmproxy + dnspython):
pipx install 'rhodawk-bounty-hunter[proxy]'
# npm — a thin wrapper that chains to the pipx/pip-installed `rhodawk`
# binary (or falls back to `pipx run`); it does NOT bundle the tool itself.
pipx install rhodawk-bounty-hunter # install the real package first
npm install -g @rhodawkai/bounty-hunter
npx @rhodawkai/bounty-hunter doctor
# Coexistence with a standalone install (v2.1.4): both ship a `rhodawk`
# binary, so `npm install -g` fails with EEXIST while
# /usr/local/bin/rhodawk (from `./install.sh --agent standalone`) exists.
# Pick ONE of:
./uninstall.sh --agent standalone --yes # (a) remove the standalone link first
npx @rhodawkai/bounty-hunter doctor # (b) use the npm build without installing
npm install -g --force @rhodawkai/bounty-hunter # (c) override deliberately
Option B — Full Source Install (external binaries, Docker enclave, scripts)
Scripts like install_tools.sh and scripts/verify_zero_leakage.sh only
exist in a git clone checkout — they are not part of the PyPI/npm package
and a global-CLI install has no access to them.
git clone https://github.com/Rhodawk-AI/rhodawk-bounty-hunter.git
cd rhodawk-bounty-hunter
./install.sh --agent standalone # 'rhodawk' + 'rhodawk-agent' on PATH
# (PEP 668-safe venv at ~/.rhodawk/venv)
./install_tools.sh # subfinder · httpx · nuclei · katana · ffuf · nmap · …
./install_tools.sh --rtw-deps # reconFTW gap-fill backing binaries (7 delegated capabilities)
./install_tools.sh --browser # managed headless Chromium for --js-crawl (SPA crawling)
Option C — Coding-Agent Plugins & MCP
./install.sh --agent claude # skills, commands, agents + the
# hash-verified PreToolUse scope hook
./install.sh --agent claude --project # same, installed repo-local instead of globally
./install.sh --agent mcp # MCP client config + 'mcp' SDK install hint
./install.sh --agent mcp --client claude # also safely merges rhodawk into
# ~/.claude/settings.json (atomic, .bak backup)
./install.sh --agent antigravity # Google Antigravity / Gemini (~/.gemini/config)
# aliases: gemini, agy
./install.sh --agent opencode # OpenCode
./install.sh --agent pi # Pi Agent
./install.sh --agent codex # Codex
./install.sh --agent agents # shared Agent Skills -> ~/.agents/skills (alias: generic)
./install.sh --agent all # every supported target
# Manual / non-venv MCP setup:
pip install 'mcp>=2.2.0'
rhodawk mcp doctor
rhodawk mcp serve
claude mcp add rhodawk -- rhodawk mcp serve
Uninstall
./uninstall.sh --agent standalone # removes rhodawk + rhodawk-agent
# + the managed venv (~/.rhodawk/venv)
./uninstall.sh --agent standalone --purge-config # also deletes config.json ($RHODAWK_HOME-aware)
./uninstall.sh --agent mcp --yes # removes the merged mcpServers["rhodawk"] entry + .bak residue
./uninstall.sh --agent all --yes # every target, no confirmation prompt
# Supported --agent values: claude · antigravity · opencode · pi · codex · agents · standalone · mcp · all
# (--agent claude / opencode / all also clean the mcpServers["rhodawk"] entry; other user MCP entries are preserved)
./uninstall_tools.sh # removes the external scanning binaries (git-clone checkout only)
~/.rhodawk/.env, config.json, and all recon/findings/report data are
preserved unless --purge-config is passed (which still only removes
config.json).
Install Matrix
| Path | Command | What you get |
|---|---|---|
| PyPI CLI (recommended) | pipx install rhodawk-bounty-hunter |
rhodawk + rhodawk-agent on PATH |
| npm thin wrapper | npm install -g @rhodawkai/bounty-hunter |
wrapper chaining to the PyPI package |
| Repo standalone install | ./install.sh --agent standalone |
PEP 668-safe venv + PATH symlinks |
| Claude Code plugin + hook | ./install.sh --agent claude (--project for repo-local) |
skills, commands, agents + PreToolUse scope-guard hook |
| MCP client setup | ./install.sh --agent mcp (--client claude to auto-merge) |
MCP client config + SDK install hint |
| Antigravity / Gemini | ./install.sh --agent antigravity |
skills, rules & agents in ~/.gemini/config |
| Every supported target | ./install.sh --agent all |
all plugin targets + MCP |
| External binary arsenal | ./install_tools.sh |
subfinder, httpx, nuclei, katana, ffuf, nmap, … |
| reconFTW gap-fill binaries | ./install_tools.sh --rtw-deps |
the 7 delegated reconFTW capabilities |
| Managed headless browser | ./install_tools.sh --browser |
managed Chromium for SPA crawling |
There is no official prebuilt Docker image on a public registry. Rhodawk
builds its own local enclave images (rhodawk-scope-proxy,
rhodawk-enclave-runner) on demand from docker/enclave/ the first time you
run rhodawk proxy up --build or rhodawk recon|hunt --sandbox — see
Air-Gapped Scope Enforcement Proxy.
🧠 AI Providers & Setup Recipes
| Provider | Cost | Notes |
|---|---|---|
| Ollama | 100% free, fully offline | ollama pull qwen2.5:14b, then rhodawk setup |
| NVIDIA NIM | Open weights, hosted | NVIDIA_API_KEY |
| Groq | Free tier | GROQ_API_KEY — fastest cloud option |
| DeepSeek | Very cheap | DEEPSEEK_API_KEY |
| Cerebras | Hosted | CEREBRAS_API_KEY |
| Mistral | Hosted | MISTRAL_API_KEY |
| Google Gemini / Antigravity | Included with Gemini AI Pro | rhodawk login (Google OAuth, no API key) or GEMINI_API_KEY |
| Claude | Paid | ANTHROPIC_API_KEY |
| OpenAI | Paid | standard OpenAI key |
| Grok (xAI) | Paid | xAI console key |
| OpenRouter | Pay-as-you-go | 100+ models |
| OrcaRouter | Pay-as-you-go | ORCAROUTER_API_KEY |
| LiteLLM | Uses your existing provider keys | opt-in via LITELLM_API_KEY |
| Requesty | Pay-as-you-go | REQUESTY_API_KEY, optional REQUESTY_BASE_URL for EU routing |
rhodawk setup persists the chosen provider and model in config.json
(under $RHODAWK_HOME, default ~/.rhodawk/config.json — v2.1.4: honored
consistently everywhere). API keys persist in the credential vault
~/.rhodawk/.env (chmod 600, directory chmod 700). A key typed at the
rhodawk setup prompt is currently saved in config.json (also chmod 600).
Interactive setup:
rhodawk setup
Non-interactive setup:
rhodawk setup --provider ollama --model qwen2.5:14b
Zero-cost, fully offline:
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull qwen2.5:14b
rhodawk setup --provider ollama --model qwen2.5:14b
Free cloud (Groq):
export GROQ_API_KEY="gsk_..."
rhodawk setup --provider groq
Hosted open-weight (NVIDIA NIM):
export NVIDIA_API_KEY="nvapi-..."
rhodawk setup --provider nvidia
Google OAuth (Antigravity / Gemini AI Pro — no API key):
rhodawk login
One-off override (put the global flag before the subcommand):
rhodawk --provider ollama --model qwen3:14b recon target.com
rhodawk --provider nvidia --model "nvidia/nemotron-3-ultra-550b-a55b" hunt target.com
Optional recon & intel API keys (not an LLM provider — just better recon coverage):
export CHAOS_API_KEY="..." # ProjectDiscovery Chaos subdomain dataset
export PDCP_API_KEY="..." # ProjectDiscovery Cloud (subfinder/httpx sources)
⚡ End-to-End Hunting Workflows
Workflow 1 — Standard Scoped Hunt (process-level guardrails):
rhodawk scope-compile <program-handle>
rhodawk recon target.com --js-crawl # --js-crawl is optional (SPA crawling)
rhodawk hunt target.com
rhodawk validate "<finding description>"
rhodawk chain
rhodawk report
Workflow 2 — Air-Gapped Enclave Hunt (network-level containment, requires a repo checkout + Docker):
rhodawk scope-compile <program-handle>
rhodawk recon target.com --sandbox --js-crawl
rhodawk hunt target.com --sandbox # or: export RHODAWK_SANDBOX=1
rhodawk proxy verify-audit ~/.rhodawk/proxy/<program-handle>/audit/audit_chain.jsonl
The enclave is network-level containment — even curl --noproxy '*' or
node -e "fetch(...)" inside the enclave cannot leave it. This is different
from the local PEP below, which only governs traffic that voluntarily uses it.
Workflow 2b — FULL reconFTW inside the 3-Plane Enclave (v2.2.0):
# One-time: build the locked reconFTW runner image (parameterized upstream:
# RHODAWK_RECONFTW_IMAGE, default six2dez/reconftw:main)
docker compose -f docker/enclave/docker-compose.yml --profile reconftw build
# Run the FULL 80/80 reconFTW engine STRICTLY inside the air-gapped enclave:
# every byte crosses the 3-plane PEP — HTTP/HTTPS :8080, Scoped DNS :53,
# Scoped SOCKS5 :1080 — and the whole run lands in ONE audit chain.
rhodawk recon target.com --sandbox --engine reconftw --mode r
rhodawk hunt target.com --sandbox --engine reconftw --mode a
# Engine selection: --fast == --engine native (lightweight pipeline, no
# Docker); --engine auto (default) picks reconftw when the runner image
# exists, native otherwise. --engine reconftw without the image exits 1
# with the build one-liner — it NEVER silently bypasses containment.
rhodawk recon target.com --fast
# Outputs: the full reconFTW tree is fused into the canonical
# recon_truth.json + delta.json (out-of-scope records quarantined,
# osint/js secrets redacted) so the MCP tools serve the full 80-tool data.
Workflow 3 — Persistent Enclave, Local Loopback PEP & Live Proof:
# Persistent enclave
rhodawk scope-compile <program-handle>
rhodawk proxy up --scope <program-handle> --build
rhodawk proxy up --scope <program-handle> --profile reconftw # + reconFTW runner
rhodawk proxy exec --scope <program-handle> -- curl -s https://target.com/
rhodawk proxy status # shows all 3 planes: HTTP :8080, DNS :53, SOCKS5 :1080
rhodawk proxy verify-audit ~/.rhodawk/proxy/<program-handle>/audit/audit_chain.jsonl
rhodawk proxy down --scope <program-handle>
# Local loopback PEP (no Docker, requires the [proxy] extra)
rhodawk scope-compile <program-handle>
rhodawk proxy start --scope <program-handle> --listen 127.0.0.1:8080
rhodawk recon target.com --proxy http://127.0.0.1:8080
# Zero-leakage proof: 120 hostile multi-plane vectors (HTTP + Scoped DNS +
# Scoped SOCKS5), offline and deterministic (<2s)
rhodawk proxy chaos-test --mode hermetic
# Full VPS wire-level receipt (tcpdump + enclave + audit chain; git-clone checkout only)
sudo bash scripts/verify_zero_leakage.sh
Workflow 4 — Autonomous ReAct Agent (rhodawk-agent):
rhodawk-agent --target target.com -d target.com --time 2 --max-steps 20
rhodawk-agent --target target.com -d target.com -x staging.target.com --langgraph
rhodawk-agent --resume <session-id>
rhodawk-agent --list-models
rhodawk-agent --bump <session-dir> "focus on the OAuth flow" # inject guidance mid-run
-d/--domain is required for any tool that sends traffic: without it the
agent starts but blocks every such tool (fail-closed). rhodawk-agent
currently uses Ollama tool calling (--model overrides the Ollama model;
--langgraph selects the LangGraph backend, also Ollama-based) — it does not
use the cloud provider chosen with rhodawk setup.
💻 Complete CLI Reference, Slash Commands & Agents
rhodawk Master CLI
| Command | Alias | What it does |
|---|---|---|
rhodawk --help / rhodawk help |
Full help | |
rhodawk --version / -V |
Print version and exit | |
rhodawk setup [--provider P] [--model M] |
init |
Configure and persist provider/model |
rhodawk login [--no-browser|--status|--logout] |
auth |
Google OAuth login (Gemini AI Pro) |
rhodawk providers |
p |
Show all providers + API key status |
rhodawk models |
m |
List models for the active provider |
rhodawk status |
s |
Show hunt pipeline status |
rhodawk doctor [--strict] [-q/--quiet] |
PASS/WARN/FAIL environment diagnostic | |
rhodawk chat |
ask |
Interactive AI shell |
rhodawk scope-compile <handle> [--output] [--h1scope-csv] [--huntdeck-db] [--bbscope-cache] |
sc |
Compile a SHA-256 scope manifest (HackerOne REST/GraphQL today; Bugcrowd/Intigriti/YesWeHack URLs auto-detected for handle parsing) |
rhodawk recon <target> [--quick] [--js-crawl] [--sandbox] [--proxy URL] [--scope-domain PAT] [--scope-exclude PAT] [--scope-manifest PATH] [--no-scope-check] |
r |
Scoped recon + AI surface analysis |
rhodawk hunt <target> [--quick] [--js-crawl] [--sandbox] [--proxy URL] [--scope-domain PAT] [--scope-exclude PAT] [--scope-manifest PATH] [--no-scope-check] |
h |
Full hunt pipeline (recon → hypothesis → verify) |
rhodawk validate ["<finding>"] |
v |
7-Question Gate on a finding |
rhodawk triage ["<finding>"] |
t |
Fast triage (alias behavior of validate) |
rhodawk report [--findings-dir DIR] |
rep |
Write a submission-ready report |
rhodawk chain [--findings-dir DIR] ["<finding>"] |
c |
Build an A→B→C exploit chain |
rhodawk mcp [serve|doctor|tools] |
MCP server / doctor / tool catalog (default: serve) |
|
rhodawk proxy start|up|down|status|exec|verify-audit|chaos-test |
Scope-enforcement proxy & enclave control (see Workflow 2/3) |
--scope-domain / --scope-exclude are repeatable (or comma-separated) and are
the explicit scope authority when no compiled manifest exists; --no-scope-check
is for local demo testing only.
Global flags (before the subcommand): -p/--provider, -m/--model,
--no-banner.
rhodawk-agent (autonomous ReAct agent)
| Flag | Meaning |
|---|---|
--version / -V |
Print version and exit |
--target |
Domain to hunt |
-d/--domain (repeatable) |
In-scope domain(s) |
-x/--exclude-domain (repeatable) |
Explicitly excluded domain(s) |
--time |
Time budget in hours (default 2) |
--max-steps |
Max ReAct iterations (default 20) |
--cookie |
Session cookie for POST discovery |
--scope-lock |
Stick to the exact target only |
--max-urls |
Max URLs in recon (default 100) |
--model |
Ollama model override |
--langgraph |
Use the real LangGraph backend |
--resume |
Resume a session by ID |
--list-models |
List available Ollama models |
--bump SESSION_DIR MESSAGE |
Inject operator guidance mid-run |
Slash Commands (Claude Code / OpenCode — 42 shipped)
Core Workflow
| Command | What it does |
|---|---|
/recon target.com |
Full scoped recon pipeline + AI surface analysis |
/hunt target.com |
Active vulnerability hunt (auto-runs recon first if missing) |
/validate |
7-Question Gate + 4-gate checklist on a finding |
/triage |
Faster go/no-go 7-Question Gate pass |
/chain |
Build an exploit chain from an existing bug |
/report |
Write a submission-ready H1/Bugcrowd/Intigriti/Immunefi report |
/verify |
Report gate — independently re-derives a finding from its PoC bundle |
/autopilot target.com [--paranoid|--normal|--yolo] |
Full autonomous loop with configurable checkpoints |
Recon, Enumeration & Scope
| Command | What it does |
|---|---|
/scope <asset> |
Checks if an asset is in scope before you test it |
/scope-aggregate <program-handle> |
Compiles every in-scope asset into a verified manifest |
/surface target.com |
Ranked attack surface from recon + hunt memory |
/cloud-recon --keyword <name> | --cf-bypass <domain> |
Public S3/Azure/GCP buckets + CloudFlare-bypass origin IPs |
/param-discover <url> |
Hidden HTTP parameters via Arjun/x8 |
/secrets-hunt --filesystem|--git|--js-bundle|--github-org |
Leaked credentials in source, git history, JS bundles, or a GitHub org |
/takeover <subdomains-file> |
Subdomain takeover candidates |
/scan-cves <host> [--year] |
Focused nuclei CVE sweep |
/bypass-403 <url> |
403/401 bypass technique matrix |
/portscan <host> |
Open ports + non-HTTP services (SSH, DBs, Redis, Docker API, RDP) |
/screenshot -l urls.txt |
Visual triage gallery for live hosts |
/pickup target.com |
Resume a previous hunt, untested endpoints first |
/intel target.com |
CVEs + disclosed reports relevant to a target |
/osint-employees <target.com> [--with-linkedin] |
Employee names/email patterns for spray prep |
/wordlist-gen <target> |
Company-specific password wordlist |
Scanners (Web + LLM)
| Command | What it does |
|---|---|
/cors <url> |
CORS misconfiguration (origin reflection, null-origin, credentialed) |
/crlf <url> |
CRLF / response-splitting + host-header injection |
/nosqli --login <url> |
NoSQL injection (operator bypass, $where timing) |
/jwt-scan <token> |
Offline JWT toolkit — alg:none, RS256→HS256, secret crack |
/oob --payloads <oob-domain> |
Out-of-band listener for blind SSRF/XXE/SQLi/RCE/Log4Shell |
/sast <path> |
Semgrep security rulesets over fetched JS/source |
/domxss "<url>" |
Confirms DOM XSS in a real headless browser |
/llm-redteam --url <endpoint> |
Prompt-injection / jailbreak / exfil corpus runner |
/llm-app-audit <agent-url-or-product> |
Black-box audit of a deployed AI agent |
/oracle train|rank|score|eval |
Self-learning lead prioritizer trained on hunt memory |
Smart Contract (Web3)
| Command | What it does |
|---|---|
/web3-audit <contract.sol> |
10-class smart contract audit + Foundry PoC template |
/token-scan <contract> |
Rug-pull scanner (mint authority, LP lock, honeypot, bonding curve) |
Session, Credential & Utility
| Command | What it does |
|---|---|
/dashboard [--port 8777] |
Local Hunt Dashboard — leads, surface, findings, reports, screenshots |
/poc capture <url> |
Reproducible PoC evidence (curl, HAR, screenshot, redacted by default) |
/breach-check <wordlist> |
HIBP k-anonymity breach-count enrichment for a password wordlist |
/spray <url> --mode <mode> |
Password spray with hard guards (fails closed without scope) |
/arsenal [tool] |
Lists installed external tools or prints an install hint |
/remember |
Logs the current finding/signal to hunt memory |
/memory-gc |
Inspects or rotates hunt-memory JSONL files |
Specialist AI Agents (9 shipped)
| Agent | Role |
|---|---|
recon-agent |
Subdomain enumeration + live host discovery under a verified scope manifest |
recon-ranker |
Ranks attack surface by IDOR likelihood, API surface, past-success tech-stack match |
validator |
Runs the 7-Question Gate + 4-gate checklist; kills weak/theoretical findings |
report-writer |
Impact-first H1/Bugcrowd/Intigriti/Immunefi reports, no "could potentially" language |
chain-builder |
Finds B/C findings to chain with an existing bug for higher severity |
autopilot |
Full autonomous hunt loop with configurable checkpoints |
web3-auditor |
Smart contract audit across 10 bug classes, ordered by real-world frequency |
token-auditor |
Meme-coin/token rug-pull and security audit (EVM + Solana) |
credential-hunter |
Chains wordlist-gen → osint-employees → breach-check, then hard-stops before spray |
Vulnerability Coverage
26 Web2 Vulnerability Classes
IDOR/BOLA · Auth Bypass · XSS (stored/reflected/DOM) · SSRF · Business Logic · Race Conditions · SQL Injection · OAuth/OIDC · File Upload→RCE · GraphQL Auth Bypass · LLM/Prompt Injection · API Misconfiguration (mass assignment, JWT, CORS) · Account Takeover · SSTI · Subdomain Takeover · Cloud/Infra Exposure · HTTP Request Smuggling · Cache Poisoning · MFA/2FA Bypass · SAML/SSO Attack · Error Disclosure/Debug Endpoints · CSS Injection · LFI→RCE · Insecure Deserialization · Dependency Confusion/Supply Chain · Padding Oracle/Crypto Misuse.
10 Web3 / Smart Contract Bug Classes
Accounting Desync · Access Control · Incomplete Code Path · Off-By-One · Oracle Manipulation · ERC4626 Share Inflation · Reentrancy · Flash Loan Attack · Signature Replay · Proxy/Upgrade.
Core Hunting Rules
| # | Rule |
|---|---|
| 1 | Read full scope first — only test what the program authorizes |
| 2 | Real bugs only — "can an attacker do this right now?" If no, stop |
| 3 | Kill weak findings early — a 30-second check saves hours of wasted reporting |
| 4 | Never go out of scope — one wrong request can get you banned |
| 5 | 5-minute rule — no progress after 5 minutes on a lead? Move on |
| 6 | Validate before report — /validate before writing 30 minutes of report |
| 7 | Impact first — test the worst-consequence bugs first |
Contributing
git checkout -b feature/your-contribution
git commit -m "feat: short description"
git push origin feature/your-contribution
🔐 Security Architecture
Not every boundary below is enforced the same way. Read the split before your first hunt.
Code-enforced (deterministic — no model judgment involved):
| Boundary | Mechanism |
|---|---|
| Scope authority | Paginated, SHA-256-verified CompiledScopeManifest (recon/<handle>/scope/compiled_scope.json) — tampered manifest = hard block |
| Scope checker | Fail-closed ScopeChecker host/IP/path matcher — exit 3 in the recon engines, SCOPE_REQUIRED in MCP |
| Pre-flight gate | recon_engine.sh refuses manifest-less / out-of-scope runs before any packet; every block is audited to hunt-memory/audit.jsonl |
| Post-enumeration filter | Discovered hosts/URLs are re-checked before probing; out-of-scope entries quarantined to scope/dropped_oos.txt; checker crash aborts the run |
| Per-scanner gate | _scope_gate.sh sourced by 10 scanners (vuln, secrets, 403, params, CVE, OSINT, takeover, cloud, GraphQL, wordlists) |
| Tool-call hooks | Deterministic PreToolUse scope guard (SCOPE_HOOK_BLOCK) wired through hooks/hooks.json — unparseable input or missing/tampered manifest blocks |
| Spray hard-stop | _spray_oauth.py / _spray_http_form.py fail closed (exit 3, 0 requests sent) without a compiled scope manifest, unless RHODAWK_SPRAY_UNSAFE=1 is explicitly set |
| SSRF / hop-0 | initial_host_blocked gates verifier fetches, PoC capture and the fuzzer before any socket or browser launch (metadata/private/loopback always blocked) |
| CDN quarantine | Pre-probe dnsx 3rd-party SaaS CNAME quarantine drops *.zendesk.com-style edge hosts before any packet leaves |
| Air-gapped egress PEP | rhodawk.proxy 9-gate policy engine: every outbound request/CONNECT/redirect authorized against the SHA-256-verified manifest + ProxyPolicyOverlay; DNS-rebinding-resistant CNAME/IP gate with IP pinning; hash-chained audit ledger; 120-vector zero-leakage harness (rhodawk proxy chaos-test) across all 3 planes |
| Credential vault | chmod 600 ~/.rhodawk/.env (directory 0700), atomic writes |
| Report gate | Report-ready requires verifier-confirmed status and linked evidence and enforced scope |
| Data home | Recon, findings, reports, proxy audit logs, the vault AND config.json live under $RHODAWK_HOME (default ~/.rhodawk), never the package install tree — config.json consistently honors $RHODAWK_HOME in engine, brain, credentials, capability registry and the MCP doctor (v2.1.4); $RHODAWK_CONFIG_FILE overrides the path for tests/CI |
Model-assisted (prompt-level — NOT hard boundaries):
| Layer | Reality |
|---|---|
| 7-Question Gate verdict | Questions live in prompt text; code parses and persists the VERDICT: line — SUBMIT/CHAIN/DROP is the model's judgment, with the deterministic gates above as backstop |
| Data-plane isolation | <untrusted_target_data> wrapping is declared in the agent prompts (rhodawk/prompts/kernel.md); it constrains the model's interpretation, not the kernel |
| Session scope reminders | SessionStart/Stop hooks are echo-only reinforcement |
| Arbitrary Bash beyond fetch/scanner shapes | The PreToolUse hook is a command-level guardrail, not a network security boundary: it classifies command shapes (curl/wget fetches, direct scanner invocations, active recon tools) and blocks out-of-scope ones, but it cannot see inside obfuscated one-liners and it never inspects the traffic itself |
Air-Gapped Scope Enforcement Proxy
Process-level guardrails (the table above) gate what the tooling tries to
do on your machine, but a misbehaving subprocess with raw sockets can still
touch the network directly. The enclave is different: it is a network
containment boundary. rhodawk recon|hunt --sandbox runs the whole
pipeline inside a Docker enclave whose rhodawk-runner container has zero
direct internet (pentest_net is internal: true); every byte of egress
crosses a Policy Enforcement Point (scope-proxy, a mitmproxy addon) that
re-authorizes each request/CONNECT/redirect against your SHA-256-verified
scope manifest plus an optional ProxyPolicyOverlay JSON — DNS/CNAME/IP
classification with IP pinning (DNS-rebinding TOCTOU elimination), L7 path
and destructive-verb firewalls, per-host token-bucket rate limiting,
mandatory-header stamping, and a tamper-evident hash-chained audit ledger
(rhodawk proxy verify-audit proves no entry was edited after the fact).
Be honest with yourself about the two containment tiers: the enclave is
network containment — even curl --noproxy '*' or node -e "fetch(...)" cannot leave the sandbox; the local PEP (rhodawk proxy start) is a policy check on traffic that voluntarily crosses it — a
hostile process that bypasses the proxy env vars is not contained by it. For
untrusted prompt-injection conditions, use --sandbox.
Everything is parameterized ($RHODAWK_PROXY_SUBNET, $RHODAWK_PROXY_IP,
$RHODAWK_PROXY_PORT, $RHODAWK_PROXY_POLICY_FILE, …) — no hardcoded
targets, subnets or paths; fixtures use RFC 2606/5737 documentation names
only. See docker/enclave/.env.example and
rhodawk/proxy/chaos_egress_test.py --help.
🤝 MCP Server & Deterministic reconFTW Delegation
The bundled rhodawk-mcp server exposes the engine as ~24 typed MCP tools
— including rhodawk_research, rhodawk_recon, rhodawk_hunt,
rhodawk_compile_scope, rhodawk_scope_check, rhodawk_validate,
rhodawk_generate_report, and read-only tools like rhodawk_attack_surface
and rhodawk_list_findings — with per-tool security metadata, approval
levels, and server-side policy inputs. Active tools require a scope source
and approve=true; read-only tools never touch the target.
claude mcp add rhodawk -- rhodawk mcp serve
rhodawk mcp doctor
The MCP server accepts caller-supplied scope with approval. A caller can
declare its own scope_domains instead of compiling a verified manifest; the
declaration is audited (caller-supplied-scope) but is not independently
checked against a program's actual policy — prefer rhodawk_compile_scope /
rhodawk scope-compile plus a verified manifest whenever the program is on a
supported platform.
Deterministic reconFTW delegation: wherever the native pipeline hits a
capability gap, a typed registry (rhodawk/tools/capability_registry.py)
routes the work to reconFTW through a fixed flow: typed capability ID →
native-parity guard → 7-day-TTL dedup → availability check → fail-closed
scope gate → single-function reconFTW call in an isolated workdir. The 7
verified capabilities: ASN/CIDR enumeration, DNS permutation, CDN/origin
isolation, JS source-map secrets, virtual-host discovery, TLS IP pivots, and
favicon fingerprinting. Vulnerability scanning is never delegated — the
verifier spine stays local.
🔍 What Changed from Upstream Agentic-Bug-Hunter
RhodawkAI Bounty Hunter is a standalone edition of the MIT-licensed Agentic-Bug-Hunter framework. Attribution is preserved in NOTICE. Verified headline deltas:
| Area | Upstream | RhodawkAI Edition |
|---|---|---|
| Scope intake | Substring handle matching, wildcards stripped, truncated results | rhodawk scope-compile: paginated HackerOne REST (no cap), exact-handle match, SHA-256-sealed CompiledScopeManifest; tamper ⇒ hard block |
| Scope enforcement | Recon ran with minimal guardrails | Fail-closed pre-flight gate (exit 3, 0 packets), post-enumeration quarantine filter, _scope_gate.sh in 10 scanners, PreToolUse hook (SCOPE_HOOK_BLOCK) |
| MCP scope authority | Caller could self-authorize silently | Caller-supplied scope_domains are audited and active modes additionally require approve=true; a verified manifest stays the preferred authority — a policy guardrail, not a hard boundary (see Honest Limitations) |
| SSRF / hop-0 | Partial coverage | One canonical hop-0 gate before any socket/browser launch in verifiers, PoC bundler and fuzzer; scope mandatory, fail-closed |
| TLS | Fallback insecure context in one spray path | Always ssl.create_default_context() |
| Secrets | Tokens passed on the CLI; no managed vault | ~/.rhodawk/.env vault (0600/0700, atomic writes); tokens via env/temp header files, never argv |
| Validation | Evidence optional | Evidence mandatory; report-ready additionally requires scope_enforced |
| Recon output | Flat text files | Canonical recon_truth.json + run-over-run delta.json, always under $RHODAWK_HOME |
| Capability gaps | — | Deterministic reconFTW delegation: 7 typed capability IDs, pinned checkout, 7-day dedup, fail-closed scope pre/post call |
| Air-gapped proxy / enclave | — | 9-gate scope-enforcement PEP + Docker enclave, 100-vector zero-leakage harness |
| LLM providers | Fewer providers, env-only | Expanded provider set (Ollama, NVIDIA NIM, Groq, DeepSeek, Cerebras, Mistral, Gemini/Antigravity OAuth, Claude, OpenAI, Grok, OpenRouter, OrcaRouter, LiteLLM, Requesty); provider/keys persist in config.json/.env |
See BENCHMARKS.md and CHANGELOG.md for versioned numbers and reproducible methodology — this table stays evergreen on purpose and doesn't pin specific commits or file counts.
📁 Project Structure
rhodawk/ the Python package
├── engine.py standalone CLI ('rhodawk' entry point)
├── agent.py LangGraph-style ReAct hunting agent ('rhodawk-agent')
├── brain.py multi-provider LLM layer
├── agents/ 9 specialist agent prompts (recon-agent, validator, …)
├── proxy/ air-gapped scope-enforcement PEP (config, dns_guard, addon, chaos test)
├── mcp/ rhodawk-mcp server + Burp/Caido/HackerOne MCP clients
├── prompts/ kernel.md and other agent system prompts
├── tools/ ~35 Python/shell scanner + pipeline modules
└── wordlists/ curated wordlists
commands/ 42 agent slash commands (/recon /hunt /validate /report …)
skills/ 25 methodology + toolkit skills
hooks/hooks.json PreToolUse deterministic scope hook
docker/enclave/ Dockerfiles + compose for the local enclave (proxy + runner)
scripts/ verify_zero_leakage.sh, full_hunt.sh, dork_runner.py
demo/ intentionally-vulnerable local practice lab (demo/app.py)
tests/ pytest regression suite
docs/ deep-dive documentation
web3/ smart contract audit guide
site/ project landing page
⚠️ Honest Limitations & Responsible Use
Read this before your first hunt — several boundaries are prompt-level, and a few caveats are structural.
Limitations:
- Authorized targets only. The scope gate is fail-closed: a
manifest-less run blocks with
exit 3before any probe (unlessRHODAWK_SCOPE_UNSAFE=1is set explicitly for authorized local testing), and non-loopbackcurl/wgetwithout a resolvable manifest are blocked by thePreToolUsehook unlessRHODAWK_HOOK_ALLOW_UNSCOPED_FETCH=1. IP/CIDR targets self-scope. You are the authorization layer of last resort. - Scope manifests are tamper-evident, not signed. The SHA-256 detects
modification, not authorship: whoever can write
compiled_scope.json(a0700/0600home) can authorize that scope. Protect your$RHODAWK_HOME. config.jsondoes not follow$RHODAWK_HOME. Recon, findings, reports, the proxy audit tree and the credential vault all live under$RHODAWK_HOME— butconfig.jsoncurrently always resolves to~/.rhodawk/config.json, overridable only via$RHODAWK_CONFIG_FILE, not$RHODAWK_HOME. If you isolate environments by$RHODAWK_HOME, your provider/model selection is still shared unless you also set$RHODAWK_CONFIG_FILE.- The
PreToolUsehook is a command-level guardrail, not a network security boundary. It classifies command text; it does not inspect packets or constrain processes it fails to classify. Treat it as an audit trail with teeth for common accidental cases, not as a sandbox. - The MCP server accepts caller-supplied scope with approval — see MCP Server. Prefer a verified manifest whenever the program is on a supported platform.
- Operator-supplied spray targets fail closed by default.
_spray_oauth.py/_spray_http_form.pysend 0 requests without a compiled scope manifest unlessRHODAWK_SPRAY_UNSAFE=1is explicitly set — point them only at programs whose policy allows credential-spray testing. - 7-Question Gate verdicts are model-judged (SUBMIT/CHAIN/DROP); the
deterministic evidence/scope/SSRF gates in
validate_core.pyare the backstop. Never submit without reading the evidence yourself. - Platform coverage: scope compilation is HackerOne-only today;
Bugcrowd/Intigriti/YesWeHack are vault-only. There is no official
prebuilt Docker image on a public registry — the enclave images are
built locally on demand from
docker/enclave/. - Benchmarks are environment-specific. Treat BENCHMARKS.md as reproducible methodology, not a guarantee.
Responsible use:
- Hunt only programs whose policy authorizes you —
scope-compileexists so you never have to trust a pasted target list. - Respect
max_rpsandmandatory_headersfrom the program policy — the manifest enforces them as pipeline defaults. - Validate before reporting: a finding without linked evidence is never
report-ready; use
rhodawk validateand attach the PoC bundle. - Keep upstream attribution (NOTICE) intact — this edition is built on an MIT-licensed framework.
❤️ Credits & Attribution
RhodawkAI Bounty Hunter is a standalone edition built on the MIT-licensed Agentic-Bug-Hunter framework. Upstream attribution is preserved in NOTICE — please keep it intact in redistributions.
License
MIT — see LICENSE. Hunt only what you are authorized to hunt.
Metadata
Release files for rhodawk-bounty-hunter 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rhodawk_bounty_hunter-2.2.0.tar.gz | 1.3 MB | Without provenance | Details for rhodawk_bounty_hunter-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rhodawk_bounty_hunter-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for rhodawk_bounty_hunter-2.2.0-py3-none-any.whl |
Total release size: 2.2 MB
Release files / rhodawk_bounty_hunter-2.2.0.tar.gz
| Download URL | rhodawk_bounty_hunter-2.2.0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e21bdd90b08a5874dbefd337ec44e3f60b0d89014c44551faa60363bb5ae3c69
|
|
BLAKE2b-256 checksum How to use checksums |
a9c6f0cbfe206beae785b7d3b125960715dc38f27bed70c84e8c04a5f34879b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / rhodawk_bounty_hunter-2.2.0-py3-none-any.whl
| Download URL | rhodawk_bounty_hunter-2.2.0-py3-none-any.whl |
|---|---|
| Size | 964.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0af03fdb32e38af72d01ed4f08dc9d0924d4319ce34a50cc6f48cd26f3eb5d0
|
|
BLAKE2b-256 checksum How to use checksums |
e8ee341306b344d52fa401db13e95939e1728d3bf45507ca0041d2bb6de4d4cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for rhodawk-bounty-hunter 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.