mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
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>
80 lines
1.3 KiB
Plaintext
80 lines
1.3 KiB
Plaintext
# macOS
|
|
.DS_Store
|
|
._*
|
|
|
|
# Claude Code per-project settings (auto-generated)
|
|
.claude/
|
|
|
|
# Editor backups
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Engagement artifacts — NEVER commit
|
|
# (these end up in your local working dirs but should not enter the repo)
|
|
evidence/
|
|
*.har
|
|
*.png
|
|
*.jpg
|
|
*.jpeg
|
|
*.mp4
|
|
*.mov
|
|
# …but allow display assets under assets/ (banner, diagrams, sponsor logos)
|
|
!assets/*.png
|
|
!assets/*.jpg
|
|
!assets/*.jpeg
|
|
!assets/sponsors/*.png
|
|
findings/
|
|
submissions.txt
|
|
notes.md
|
|
/scope.md
|
|
CLAUDE.md.local
|
|
targets/
|
|
attack-metrics/
|
|
metrics.json
|
|
|
|
# Local-only artifacts
|
|
.obsidian/
|
|
graphify-out/
|
|
|
|
# Secrets
|
|
.env
|
|
.env.local
|
|
*.pem
|
|
*.key
|
|
*-credentials.json
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
.venv/
|
|
venv/
|
|
# packaging build output (cbh is pip/pipx installable)
|
|
build/
|
|
dist/
|
|
*.egg-info/
|
|
|
|
# Node (if anyone adds tooling later)
|
|
node_modules/
|
|
|
|
# Test artifacts
|
|
.pytest_cache/
|
|
*.log
|
|
|
|
# Local cbh recon outputs (when run from repo root)
|
|
recon/
|
|
|
|
# Maintainer-only plaintext client-identifier denylist (never commit names)
|
|
scripts/.identifier-denylist.local
|
|
New_version/
|
|
|
|
# report-harvest pipeline: local runtime artifacts (raw corpus names real programs;
|
|
# drafts/gaps are pre-curation). Never committed — only the tooling under
|
|
# research/reports/*.py + README are tracked.
|
|
research/reports/raw/
|
|
research/reports/drafts/
|
|
research/reports/gaps.md
|
|
research/reports/processed.json
|