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
Demo · Security Architecture · Install · Quick Start · What Changed from Upstream · CLI & MCP · AI Providers · reconFTW Delegation · Honest Limitations · Credits
🎬 Live Demo
Recorded live on an 8-vCPU Ubuntu VPS: rhodawk doctor (0 FAIL, <5s) → fail-closed OOS 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 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.
- Clean-room verification. Findings are promoted only through a 7-question validation gate with provenance-tracked evidence.
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.
🔐 Security Architecture — code-enforced vs. LLM-assisted
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 |
| 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; 100-vector zero-leakage harness (rhodawk proxy chaos-test) |
| Credential vault | chmod 600 ~/.rhodawk/.env (directory 0700), atomic writes, one-time migration from the pre-2.0 data home |
| Report gate | Report-ready requires verifier-confirmed status and linked evidence and enforced scope |
| Data home | All runtime artifacts live under $RHODAWK_HOME (default ~/.rhodawk) — never the package install tree |
LLM-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 (v2.1.0)
Layers 1–4 are process guardrails on your machine: they gate what the
tooling tries to do, 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.
pipx install 'rhodawk-bounty-hunter[proxy]' # mitmproxy + dnspython (PEP only)
# One-shot sandboxed hunt (up -> run -> audit-verify -> down):
rhodawk recon target.com --sandbox
rhodawk hunt target.com --sandbox # or export RHODAWK_SANDBOX=1
# Or drive the enclave manually (no docker compose plumbing):
rhodawk proxy up --scope acme --build # scope = handle or manifest path
rhodawk proxy exec --scope acme -- curl -s https://in-scope-host/
rhodawk proxy status; rhodawk proxy down --scope acme
# Local-only PEP (no Docker) — points tools at http://127.0.0.1:8080:
rhodawk proxy start --scope acme --listen 127.0.0.1:8080
rhodawk recon target.com --proxy http://127.0.0.1:8080
# Prove containment:
rhodawk proxy chaos-test --mode hermetic # 100 hostile vectors, offline, <1s
rhodawk proxy verify-audit ~/.rhodawk/proxy/acme/audit/audit_chain.jsonl
# Full VPS receipt (tcpdump + enclave + audit chain):
sudo ./scripts/verify_zero_leakage.sh
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.
🚀 Install
PyPI (recommended):
pipx install rhodawk-bounty-hunter
# or
uv tool install rhodawk-bounty-hunter
npm (thin CLI wrapper around the PyPI package — it does NOT bundle the
tool): the wrapper chains to a pipx/pip-installed rhodawk binary (or falls
back to pipx run); if the PyPI package is absent it prints an install hint.
pipx install rhodawk-bounty-hunter # install the actual package first
npm install -g @rhodawkai/bounty-hunter
npx @rhodawkai/bounty-hunter doctor
From source:
git clone https://github.com/Rhodawk-AI/rhodawk-bounty-hunter.git
cd rhodawk-bounty-hunter
./install.sh --agent standalone
Complete install matrix — every supported path:
| Install path | Command | What you get |
|---|---|---|
| PyPI CLI (recommended) | pipx install rhodawk-bounty-hunter or uv tool 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 at ~/.rhodawk/venv (editable install) + rhodawk / rhodawk-agent symlinks in /usr/local/bin (or ~/.local/bin) |
| Claude Code / coding-agent plugin + PreToolUse hook | ./install.sh --agent claude (--project for repo-local) |
skills, commands, agents + the hash-verified scope-guard hook in settings.json |
| MCP client setup | ./install.sh --agent mcp |
MCP client config for Claude Code / OpenCode + mcp SDK install hint |
| Every supported target | ./install.sh --agent all |
all of the plugin targets + MCP |
| External binary arsenal | ./install_tools.sh |
subfinder, httpx, nuclei, katana, ffuf, nmap, … |
| reconFTW gap-fill backing binaries | ./install_tools.sh --rtw-deps |
the 7 delegated reconFTW capabilities (ASN enum, …) |
| Managed headless browser | ./install_tools.sh --browser |
managed Chromium for SPA crawling |
External security binaries are installed separately via ./install_tools.sh
(subfinder, httpx, nuclei, katana, ffuf, nmap, …), with optional flags
--rtw-deps (reconFTW gap-fill backing binaries) and --browser (managed
Chromium) — the Python package alone
only runs the gated pipeline shells that call them. There is no official
Docker image yet: for isolation, bring your own container/VM and mount a
volume at RHODAWK_HOME — everything the tool writes (recon, findings,
reports, hunt-memory, vault, capabilities) lives under that one directory.
⚡ Quick Start (5 Commands)
# 0. Configure an LLM brain first — hunt/validate/report need a provider
# (Ollama = free & local, or any hosted key via `rhodawk setup`)
rhodawk setup
# 1. Install the external arsenal + the managed Chromium (katana SPA crawling)
./install_tools.sh
# 2. Verify everything in <5 seconds (exit 1 on any FAIL)
rhodawk doctor
# 3. Compile the authoritative scope manifest for a program
# (or pin scope manually: rhodawk recon <target> --scope-domain '*.target.com')
rhodawk scope-compile <program-handle>
# 4. Run live, CDN-aware recon (fail-closed: out-of-scope target => exit 3, 0 packets)
rhodawk recon <target>
# 5. Hunt, validate, report (validate is interactive; report requires validation.json)
rhodawk hunt <target> && rhodawk validate && rhodawk report
💻 CLI Reference
| Command | What it does |
|---|---|
rhodawk setup |
Persist provider/model to ~/.rhodawk/config.json |
rhodawk doctor |
Fast environment diagnostic — PASS/WARN/FAIL + 1-line fixes |
rhodawk scope-compile <handle> |
Compile the authoritative SHA-256 scope manifest |
rhodawk recon <target> |
Scoped recon + AI surface analysis |
rhodawk hunt <target> |
Full hunt pipeline (recon → hypothesis → clean-room verify) |
rhodawk validate |
7-Question Gate on a finding |
rhodawk triage |
Fast triage (alias of validate) |
rhodawk report |
Write a submission-ready bug report |
rhodawk mcp |
MCP server / doctor / tool catalog |
rhodawk providers · models · status · chat |
Provider and session tooling |
Agent slash commands (Claude Code / OpenCode — 43 shipped; the core six):
/scope · /scope-aggregate · /recon · /hunt · /validate · /report
🤝 MCP — Drive RhodawkAI from Any Agent
The bundled rhodawk-mcp server exposes the whole engine as typed MCP tools
(rhodawk_recon, rhodawk_hunt, rhodawk_compile_scope, rhodawk_validate,
…) with per-tool security metadata, approval levels, and server-side policy
inputs. Every active tool requires a scope source and approve=true; read-only
tools never touch the target. Wire it in one line:
claude mcp add rhodawk -- rhodawk mcp serve
🧠 Open-Weight & Multi-Provider AI
- Ollama — 100% free, fully offline
- NVIDIA NIM — open weights, hosted
- Groq · DeepSeek · Cerebras · Mistral · Gemini · Claude · OpenAI · Grok · OpenRouter · OrcaRouter · LiteLLM · Requesty — auto-detected, free-first
rhodawk setup # pick a provider, paste a key, choose a model
🔧 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 six-step 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 gap map covers 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
(upstream commit 82f4512). Attribution is preserved in NOTICE. The
412 shared files split into 199 byte-identical and 213 modified; the verified
headline deltas:
| Area | Upstream | RhodawkAI Edition |
|---|---|---|
| Scope intake | scope_aggregator.sh — substring handle matching, *. wildcards stripped, first-50 truncation |
rhodawk scope-compile: paginated H1 REST (no 50-item cap), exact-handle match, SHA-256-sealed CompiledScopeManifest; tamper ⇒ hard block |
| Scope enforcement | Engine CLI ran recon bare; only httpx redirect-following disabled in shell | 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 (scope_domains or [target]) silently |
Caller-supplied scope_domains are audited (caller-supplied-scope) and active modes additionally require approve=true; a verified manifest stays the preferred authority — this is a policy guardrail, not a hard boundary (see Honest Limitations) |
| SSRF / hop-0 | Only redirect hops checked; verifier fetch() and PoC capture() could hit metadata/private hosts; fuzzer ungated |
One canonical hop-0 gate before any socket/browser launch in verifiers, PoC bundler and fuzzer; scope mandatory, fail-closed |
| TLS | CERT_NONE fallback in _spray_http_form.py |
Always ssl.create_default_context() |
| Secrets | H1 tokens passed as CLI argv; no managed vault | ~/.rhodawk/.env vault (0600/0700, atomic writes); tokens via env / mktemp header files, never argv |
| Subprocess | Two shell=True scan invocations; bare kill() on timeout |
argv lists only (except hardcoded version probes); whole process-group SIGKILL with reaping wait |
| Validation | Evidence optional (or not session_dir hole) |
Evidence mandatory; report-ready additionally requires scope_enforced |
| Recon output | Flat .txt files, install-tree/CWD rooted |
Canonical recon_truth.json + run-over-run delta.json; artifacts always under $RHODAWK_HOME |
| Capability gaps | — | Deterministic reconFTW delegation: 7 typed capability IDs, pinned checkout, 7-day dedup, fail-closed scope pre/post call |
| LLM providers | fluxion + 14 providers, env-only | fluxion removed; NVIDIA NIM added; provider/keys persist in config.json |
| Removed | — | netflix-privacy-analysis/ doc project, 8 docs/phase*.md, sponsor assets |
📊 Benchmarks
Timed, per-domain, honestly annotated — RhodawkAI Bounty Hunter vs the upstream baseline vs standalone reconFTW: see BENCHMARKS.md and .github/benchmarks.md.
📁 Project Structure
rhodawk/ the Python package (engine, brain, MCP, tools, prompts)
commands/ 43 agent slash commands
skills/ 25 methodology + toolkit skills
hooks/hooks.json PreToolUse deterministic scope hooks
demo/ local vulnerable demo lab (demo-lab.rhodawkai.test)
docs/ deep-dive documentation
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
_scope_gate.shrun blocks withexit 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(a 0700/0600 home) can authorize that scope. Protect yourRHODAWK_HOME. - The
PreToolUsehook is a command-level guardrail, not a network security boundary. It fails closed on out-of-scope/unscopedcurl/wgettargets and direct scanner invocations, and blocks active recon/hunt tools without a verified manifest — but it classifies command text; it does not inspect packets or constrain the processes it fails to classify. Concretely, these shapes are KNOWN to slip past classification today: a scheme-lesscurl example.com(no URL scheme to match),node -e 'fetch(...)', a Python script written to disk and then executed (two individually benign commands), acurlwhose URL is assembled from shell variables (U=https://example.com; curl "$U"), and the running agent setting its ownRHODAWK_SCOPE_UNSAFE=1orRHODAWK_HOOK_ALLOW_UNSCOPED_FETCH=1in a command's environment. Treat the hook as an audit trail with teeth for the common accidental cases, not as a sandbox. - The MCP server accepts caller-supplied scope with approval.
rhodawk_research(scope_domains=[...], approve=true)lets the MCP client declare its own scope instead of compiling a verified manifest; the declaration is audited tohunt-memory/audit.jsonl(caller-supplied-scope), but it is not independently checked against a program's actual policy. Preferrhodawk_compile_scope+ a verified manifest whenever the program is on a supported platform. - HTTP guard caveats (both editions): no scheme allowlist (
file://), no port allowlist, and a DNS-rebinding TOCTOU window in the shared HTTP guard; the fuzzer's target check is pre-flight, not a connection pin. - Operator-supplied spray targets are ungated:
_spray_oauth.py/_spray_http_form.pysend to whatever URL you pass — point them only at programs whose policy explicitly allows credential-spray testing. - 7-Question Gate verdicts are model-judged (SUBMIT/CHAIN/DROP); the
deterministic kill/chain/identity/evidence gates in
validate_core.pyare the backstop. Never submit without reading the evidence yourself. - Secret stripping is allowlist-shaped, not absolute. The main scanner
spawns (
rhodawk recon/rhodawk huntchildren) run throughsafe_scanner_env(), which strips both the named vault, LLM, VCS and cloud token sets (GitHub/AWS/npm/PyPI credentials included) AND any unlisted secret-suffixed variable name (*_API_KEY,*_TOKEN,*_SECRET,*_PASSWORD, ..., case-insensitive); the recon-provider keys (PDCP_API_KEY,CHAOS_API_KEY) and theRHODAWK_AUTH_*session wiring stay intact. The exploit-exec path runs with a stricter env allowlist. Tools you launch yourself outside those entrypoints still see your full interactive environment. - Platform coverage: scope compilation is HackerOne-only today; Bugcrowd/Intigriti/YesWeHack are vault-only. No official Docker image.
- Benchmarks are environment-specific (5 authorized vulnweb/scanme domains, one VPS) — 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 an MIT-licensed upstream 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.1.2
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.1.2.tar.gz | 1.1 MB | Without provenance | Details for rhodawk_bounty_hunter-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rhodawk_bounty_hunter-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for rhodawk_bounty_hunter-2.1.2-py3-none-any.whl |
Total release size: 2.0 MB
Release files / rhodawk_bounty_hunter-2.1.2.tar.gz
| Download URL | rhodawk_bounty_hunter-2.1.2.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bd50b56824e1ac616886bde7bcb66da02c3dcf05371cf92f3672a821ffe29da
|
|
BLAKE2b-256 checksum How to use checksums |
a113bee644a4078eaa4dcffd40ebe8fe1ccc9f3adc8fb8fc8f56c1d81d8b3b16
|
| 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.1.2-py3-none-any.whl
| Download URL | rhodawk_bounty_hunter-2.1.2-py3-none-any.whl |
|---|---|
| Size | 897.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cf5896c718c797eca10c5287cf2a26f2b53b458961e91cfd500b0630acc2a7c
|
|
BLAKE2b-256 checksum How to use checksums |
5431f5f621751e3b4901cf92d04dce84114cf2c89573ee8e687b38495cf72f55
|
| 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.1.2
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.