dashboard
Launch the local Hunt Dashboard β one live view of leads, recon surface, findings, reports, screenshot galleries, and the memory flywheel. Usage: /dashboard [--port 8777] | /dashboard --export dashboard.html
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/dashboard.md https://raw.githubusercontent.com/awarexone/Agentic-Bug-Hunter/HEAD/commands/dashboard.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/dashboard.md https://raw.githubusercontent.com/awarexone/Agentic-Bug-Hunter/HEAD/commands/dashboard.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β
--- description: Launch the local Hunt Dashboard β one live view of leads, recon surface, findings, reports, screenshot galleries, and the memory flywheel. Usage: /dashboard [--port 8777] | /dashboard --export dashboard.html --- # /dashboard Spin up a single live view of the current hunt. A hunt's state is normally scattered across `memory/leads/<target>.jsonl`, `recon/<target>/`, `findings/`, `reports/`, screenshot `gallery.html` files, and `hunt-memory/*.jsonl` β the dashboard reads all of it and shows it in one place, so stale high-priority leads (Critical Rule 6) and the memory flywheel stop being invisible. Pure stdlib, zero dependencies. Binds to `127.0.0.1` only. ## Usage ``` /dashboard # serve at http://127.0.0.1:8777 /dashboard --port 9000 # custom port /dashboard --export report.html # write a shareable self-contained snapshot ``` Run directly: ```bash bughunter/tools/hunt_dashboard.py serve --port 8777 bughunter/tools/hunt_dashboard.py export -o dashboard.html ``` > Not to be confused with `bughunter/tools/dashboard.py`, the in-terminal ANSI progress > bar shown *while* a recon/hunt runs. This is the persistent **web view** of > everything a hunt has accumulated. ## What it shows - **Stat tiles** β targets, total leads, untouched, in-progress, findings, and a red **stale HIGH leads** alert (HIGH-priority `new` leads untouched β₯2 days). - **Lead board** β per target, grouped by status (new β investigating β reported β parked β killed), untouched-first, with priority chips and per-lead age. - **Recon surface** β subdomains / live hosts / URLs / nuclei counts per target. - **Findings & Reports** β every `.md`/`.txt` under `findings/` and `reports/`, newest first, clickable (served safely from within the repo root). - **Screenshot galleries** β links to any `gallery.html` from `/screenshot`. - **Memory flywheel** β journal / pattern / audit counts and recent activity. ## Endpoints (serve mode) | Path | Returns | |---|---| | `/` | the dashboard (auto-refreshes every 30s) | | `/api/state` | the same data as JSON β for scripting or other tools | | `/file?path=<rel>` | a finding/report, restricted to the repo root | ## Safety - Binds to `127.0.0.1` by default. Binding elsewhere prints a loud warning; a **Host-header allow-list** (loopback + the bind host + any `--allow-host`) blocks **DNS-rebinding** β a malicious page pointing its domain at your loopback still sends a foreign `Host` and gets a `403`. - `/file` resolves paths under the repo root only; traversal (`../`) is refused and only viewable extensions are served. - Captured HTML is **served as `text/plain`** (with `X-Content-Type-Options: nosniff`), never as active HTML β a recon/PoC-captured response can't run JS in the dashboard's origin and exfil `/api/state`. - All recon-derived text (URLs, tech banners, evidence) is HTML-escaped in the dashboard itself, so a malicious captured value cannot execute.