mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
The eval proved the gap to "automate 80% of the grind" isn't the skills (the base model already exploits standard classes) — it's an autonomous engagement SYSTEM. This is its v0 skeleton. Design: control flow is deterministic CODE; only hunt/validate are the LLM. So an unattended run is safe, auditable, and resumable. scope -> recon -> rank -> hunt -> validate -> report - scope.py: deterministic allowlist (apex/wildcard/CIDR/regex; deny-wins; default-deny), enforced at recon (drop out-of-scope discoveries) AND hunt (never dispatch out-of-scope). Self-test incl. suffix-confusion + wildcard-depth guards. - state.py: persistent, resumable engagement store (state.json + evidence/ + log + report.md). - agent.py: headless `claude -p` dispatch (skills + Burp MCP) + JSON extraction; detects and stops on the usage limit. - engine.py: orchestrator — ranks by impact, runs one focused hunt agent per (url,param,class), then an ADVERSARIAL validate agent that rejects false positives before anything is reported. Validated end-to-end in --mock mode: out-of-scope host dropped at recon, rank, candidate→confirm, a false-positive open-redirect REJECTED at validate while a real IDOR is confirmed, report written, and resume-from-state.json. Live agent phases are wired (same proven claude -p + Burp path as eval/) but unrun here — rate-limited at build time. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7 lines
146 B
JSON
7 lines
146 B
JSON
{
|
|
"name": "demo-local",
|
|
"in_scope": ["localhost", "127.0.0.1"],
|
|
"out_of_scope": ["admin.localhost"],
|
|
"seeds": ["http://localhost:3002"]
|
|
}
|