---
type: "post"
id: "claude-bughunter-makes-target-data-memory-opt-in-e1627a"
slug: "claude-bughunter-makes-target-data-memory-opt-in-e1627a"
title: "Claude-BugHunter makes target-data memory opt-in and adds generic attack metrics"
description: "Previously, runs wrote confirmed findings, negatives and per-target rollups—including hostnames and URLs—to the autopilot ledger even though reading that history required --use-memory."
retrieval_nugget: "Previously, runs wrote confirmed findings, negatives and per-target rollups—including hostnames and URLs—to the autopilot ledger even though reading that history required --use-memory."
published_at: "2026-12-02"
updated_at: "2026-12-02"
record_date: "2026-12-02"
date_kind: "published_at"
topics: ["memory"]
entities: ["Claude-BugHunter"]
related_patterns: ["agent-security-moves-to-runtime-boundaries","harness-architecture-outlives-model-choice"]
novelty_label: "new_fact"
what_changed: null
prior_refs: []
source_url: "https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d"
source_urls: ["https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-02T16:42:12.288Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"medium","human_review":"selective"}
citations: [{"claim":"","quotes":["| | 11 | + autopilot ledger (engine/memory.py) wrote confirmed findings, negatives, and | | | 12 | + per-target rollups (hostnames + URLs) to ~/.claude/bughunter/memory/ on every |","| | 15 | + and record_run are now gated behind --use-memory too, so a default run pools |"],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2011%20%7C%20%2B%20autopilot%20ledger%20%28engine%2Fmemory.py%29%20wrote%20confirmed%20findings%2C%20negatives%2C%20and%20%7C%20%7C%20%7C%2012%20%7C%20%2B%20per%2Dtarget%20rollups%20%28hostnames%20%2B%20URLs%29%20to%20%7E%2F.claude%2Fbughunter%2Fmemory%2F%20on%20every%20%7C&text=%7C%20%7C%2015%20%7C%20%2B%20and%20record_run%20are%20now%20gated%20behind%20%2D%2Duse%2Dmemory%20too%2C%20so%20a%20default%20run%20pools%20%7C","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"--use-memory enables persistent ledger reads and writes, and /pickup reads rollups populated only by runs using that flag.","quotes":["A default run keeps full coverage and persists nothing target-identifying across engagements — important on authorized client work.","Per-engagement state still lives (and dies) in / /. |"],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=A%20default%20run%20keeps%20full%20coverage%20and%20persists%20nothing%20target%2Didentifying%20across%20engagements%20%E2%80%94%20important%20on%20authorized%20client%20work.&text=Per%2Dengagement%20state%20still%20lives%20%28and%20dies%29%20in%20%2F%20%2F.%20%7C","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"","quotes":["| | 38 | +> Note — cross-engagement recall is opt-in. The target rollup /pickup reads |","| 442 | | - - /autopilot maps modes to it: --paranoid (default) / --normal → memory off (full coverage); --quick / --yolo → memory on (token-saving skips). |"],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2038%20%7C%20%2B%3E%20Note%20%E2%80%94%20cross%2Dengagement%20recall%20is%20opt%2Din.%20The%20target%20rollup%20%2Fpickup%20reads%20%7C&text=%7C%20442%20%7C%20%7C%20%2D%20%2D%20%2Fautopilot%20maps%20modes%20to%20it%3A%20%2D%2Dparanoid%20%28default%29%20%2F%20%2D%2Dnormal%20%E2%86%92%20memory%20off%20%28full%20coverage%29%3B%20%2D%2Dquick%20%2F%20%2D%2Dyolo%20%E2%86%92%20memory%20on%20%28token%2Dsaving%20skips%29.%20%7C","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"The project says a fail-closed allowlist excludes hostnames, URLs, payloads and response bodies; the store is ~/.claude/bughunter/attack-metrics/metrics.json, which the commit also adds to.gitignore.","quotes":["--use-metrics records a separate store of generic counters only — attempts / successes / cost keyed by tech-stack signature + vuln-class — and ranks class suggestions by past hit-rate in arsenal.md."],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%2D%2Duse%2Dmetrics%20records%20a%20separate%20store%20of%20generic%20counters%20only%20%E2%80%94%20attempts%20%2F%20successes%20%2F%20cost%20keyed%20by%20tech%2Dstack%20signature%20%2B%20vuln%2Dclass%20%E2%80%94%20and%20ranks%20class%20suggestions%20by%20past%20hit%2Drate%20in%20arsenal.md.","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"","quotes":["| | 30 | + Store: ~/.claude/bughunter/attack-metrics/metrics.json (git-ignored). |"],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2030%20%7C%20%2B%20Store%3A%20%7E%2F.claude%2Fbughunter%2Fattack%2Dmetrics%2Fmetrics.json%20%28git%2Dignored%29.%20%7C","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"The project says enabling memory removes no behavior; it also says existing ledger data was not relocated.","quotes":["| | 28 | + deterministic corroborator, and the 7-Question gate still apply.","| 443 | | - - A class never hunted on a stack is never skipped, and every skip is logged — coverage is never silently reduced."],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2028%20%7C%20%2B%20deterministic%20corroborator%2C%20and%20the%207%2DQuestion%20gate%20still%20apply.&text=%7C%20443%20%7C%20%7C%20%2D%20%2D%20A%20class%20never%20hunted%20on%20a%20stack%20is%20never%20skipped%2C%20and%20every%20skip%20is%20logged%20%E2%80%94%20coverage%20is%20never%20silently%20reduced.","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"},{"claim":"","quotes":["| 440 | 440 | python3 engine/engine.py --scope .json --hunt --use-memory |"],"cite_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20440%20%7C%20440%20%7C%20python3%20engine%2Fengine.py%20%2D%2Dscope%20.json%20%2D%2Dhunt%20%2D%2Duse%2Dmemory%20%7C","source_url":"https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d","publisher":"github.com"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:claude-bughunter-makes-target-data-memory-opt-in-e1627a"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/claude-bughunter-makes-target-data-memory-opt-in-e1627a/","markdown":"https://newruntime.com/posts/claude-bughunter-makes-target-data-memory-opt-in-e1627a.md","json":"https://newruntime.com/posts/claude-bughunter-makes-target-data-memory-opt-in-e1627a.json"}
markdown_url: "https://newruntime.com/posts/claude-bughunter-makes-target-data-memory-opt-in-e1627a.md"
---

# Claude-BugHunter makes target-data memory opt-in and adds generic attack metrics

## Retrieval answer

Previously, runs wrote confirmed findings, negatives and per-target rollups—including hostnames and URLs—to the autopilot ledger even though reading that history required --use-memory.

## Summary

Previously, runs wrote confirmed findings, negatives and per-target rollups—including hostnames and URLs—to the autopilot ledger even though reading that history required `--use-memory`. The unreleased change gates both ledger writes behind that flag. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2011%20%7C%20%2B%20autopilot%20ledger%20%28engine%2Fmemory.py%29%20wrote%20confirmed%20findings%2C%20negatives%2C%20and%20%7C%20%7C%20%7C%2012%20%7C%20%2B%20per%2Dtarget%20rollups%20%28hostnames%20%2B%20URLs%29%20to%20%7E%2F.claude%2Fbughunter%2Fmemory%2F%20on%20every%20%7C&text=%7C%20%7C%2015%20%7C%20%2B%20and%20record_run%20are%20now%20gated%20behind%20%2D%2Duse%2Dmemory%20too%2C%20so%20a%20default%20run%20pools%20%7C))

## What happened

Default runs no longer pool target-identifying data across engagements; per-engagement state remains under `<base>/<name>/`. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=A%20default%20run%20keeps%20full%20coverage%20and%20persists%20nothing%20target%2Didentifying%20across%20engagements%20%E2%80%94%20important%20on%20authorized%20client%20work.&text=Per%2Dengagement%20state%20still%20lives%20%28and%20dies%29%20in%20%2F%20%2F.%20%7C)) `--use-memory` enables persistent ledger reads and writes, and `/pickup` reads rollups populated only by runs using that flag. In `/autopilot`, `--paranoid` and `--normal` leave memory off; `--quick` and `--yolo` turn it on. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2038%20%7C%20%2B%3E%20Note%20%E2%80%94%20cross%2Dengagement%20recall%20is%20opt%2Din.%20The%20target%20rollup%20%2Fpickup%20reads%20%7C&text=%7C%20442%20%7C%20%7C%20%2D%20%2D%20%2Fautopilot%20maps%20modes%20to%20it%3A%20%2D%2Dparanoid%20%28default%29%20%2F%20%2D%2Dnormal%20%E2%86%92%20memory%20off%20%28full%20coverage%29%3B%20%2D%2Dquick%20%2F%20%2D%2Dyolo%20%E2%86%92%20memory%20on%20%28token%2Dsaving%20skips%29.%20%7C))

Separately, `--use-metrics` opts into a per-operator store of generic attack counters: attempts, successes and cost, keyed by tech-stack signature and vulnerability class, plus a generic technique category. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%2D%2Duse%2Dmetrics%20records%20a%20separate%20store%20of%20generic%20counters%20only%20%E2%80%94%20attempts%20%2F%20successes%20%2F%20cost%20keyed%20by%20tech%2Dstack%20signature%20%2B%20vuln%2Dclass%20%E2%80%94%20and%20ranks%20class%20suggestions%20by%20past%20hit%2Drate%20in%20arsenal.md.)) The project says a fail-closed allowlist excludes hostnames, URLs, payloads and response bodies; the store is `~/.claude/bughunter/attack-metrics/metrics.json`, which the commit also adds to `.gitignore`. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2030%20%7C%20%2B%20Store%3A%20%7E%2F.claude%2Fbughunter%2Fattack%2Dmetrics%2Fmetrics.json%20%28git%2Dignored%29.%20%7C))

Metrics rank vulnerability-class suggestions by past hit rate in `arsenal.md`, but the ranking is advisory, not an automatic attack launch. Scope, deterministic corroboration and the 7-Question gate still apply. The documentation says memory-based skips are logged and a class never hunted on a stack is never skipped. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20%7C%2028%20%7C%20%2B%20deterministic%20corroborator%2C%20and%20the%207%2DQuestion%20gate%20still%20apply.&text=%7C%20443%20%7C%20%7C%20%2D%20%2D%20A%20class%20never%20hunted%20on%20a%20stack%20is%20never%20skipped%2C%20and%20every%20skip%20is%20logged%20%E2%80%94%20coverage%20is%20never%20silently%20reduced.)) The project says enabling memory removes no behavior; it also says existing ledger data was not relocated.

## What the archive adds

This follows the earlier Claude-BugHunter update adding HackerOne MCP integration and setup support for connecting it to OpenCode and Codex. ([earlier New Runtime note](https://newruntime.com/posts/claude-bughunter-has-added-a-hackerone-mcp-server-752a06/))

## Trend signal

The explicit write gate puts persistence under a runtime control rather than relying on an instruction to avoid retaining target data. A separate metrics opt-in creates a distinct path for aggregate learning; neither control, by itself, establishes protection against memory poisoning.

## Why it matters

Choose autopilot modes with their memory defaults in mind: future `/pickup` history depends on runs made with memory enabled. If you want cross-target performance signals without target-specific recall, the project offers `--use-metrics` as a separate opt-in.

## Limits and uncertainty

The metrics exclusions and storage design are project claims, not independently confirmed here. The changes are listed under Unreleased, and existing ledger data was not moved by the change.

## Skill to build now

For a hunt that deliberately enables persistent memory, run `python3 engine/engine.py --scope <engagement>.json --hunt --use-memory`. ([github.com](https://github.com/elementalsouls/Claude-BugHunter/commit/d5f7d0d#:~:text=%7C%20440%20%7C%20440%20%7C%20python3%20engine%2Fengine.py%20%2D%2Dscope%20.json%20%2D%2Dhunt%20%2D%2Duse%2Dmemory%20%7C))

## Reader takeaway

Default runs no longer write target-identifying findings and rollups to the shared ledger. Use `--use-memory` when you want persistent target-specific recall; `--use-metrics` separately opts into generic attack counters. The project says those counters exclude target data, but the change is still listed as unreleased and does not move existing ledger data.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Memory](https://newruntime.com/topics/memory.md): Explore the memory topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
