Files
d5f7d0d001 feat(engine): default data isolation + leak-proof attack metrics (#230)
Governance fix (Security): the autopilot ledger (engine/memory.py) wrote
host/url findings, negatives, and per-target rollups to the shared
~/.claude/bughunter/memory/ store on EVERY run, while its reads were
already gated behind --use-memory. That asymmetry persisted
target-identifying data by default. record_finding and record_run are
now gated behind --use-memory too: a default run pools NOTHING
target-identifying across engagements. Opt-in --use-memory preserves the
ledger and /pickup exactly as before — no behaviour removed, no data
relocated. Confirmed no other default-on reader breaks (/pickup,
/remember, /autopilot docs updated to say recall is opt-in).

New (Added): engine/attack_metrics.py + --use-metrics. A leak-proof,
per-operator store of GENERIC COUNTERS ONLY — attempts/successes/cost
keyed by tech-stack signature + vuln-class (+ generic technique) — that
never stores a host, url, payload, or body (fail-closed allowlist). On a
new target it ranks class suggestions by past hit-rate in arsenal.md;
advisory only — never auto-fires, and scope + the corroborator + the 7-Q
gate still apply. No engagement/host field exists, so cross-engagement
leak is impossible by construction.

Tests: engine/test_attack_metrics.py (8), engine/test_memory_write_gate.py
(4). engine 103 OK, tests 129 OK, lint/doc-count/leak/skill_index clean.
Docs: engine/README.md, USAGE.md, /pickup, /remember, /autopilot,
.gitignore, CHANGELOG. Engine code only — no skill added, counts unchanged.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-24 07:22:27 +05:30

1.3 KiB

name, description
name description
pickup Pick up a previous hunt on a target — shows hunt history and untested surface from the autopilot ledger. Usage: /pickup target.com

/pickup

Pick up where you left off on a target.

Renamed from /resume — /resume is a reserved Claude Code command.

What This Does

  1. Reads the target rollup from ~/.claude/bughunter/memory/targets/<host>.json.
  2. Shows hunt history (sessions, last seen, tech stack).
  3. Lists confirmed findings and the endpoints already tested.

Usage

/pickup target.com

Implementation

The agent reads the rollup directly:

python3 -c "import sys; sys.path.insert(0,'engine'); import memory, json; print(json.dumps(memory.rollup('target.com'), indent=2))"

If No Previous Hunt

No ledger data for target.com. Run /recon then /autopilot target.com first.

Note — cross-engagement recall is opt-in. The target rollup /pickup reads is written only when the engine ran with --use-memory. A default engine run intentionally persists nothing target-identifying across engagements (no hostnames, URLs, or findings pooled), so /pickup will show no prior data for it. Re-run with --use-memory when you deliberately want persistent per-target recall.