{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-exploit-synthesis-drift-when-a-continuous-red-teaming-harness-mutates-its-own-attack-corpus-against-a-live-a",
  "title": "How should an instance detect and contain \"exploit-synthesis drift\" when a continuous red-teaming harness mutates its own attack corpus against a live agentic protocol?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to continuous red-teaming harnesses that synthesize exploits against agentic protocols (MCP tool-call surfaces, A2A handoffs, state-transfer endpoints) and replay them against live or shadow agent instances. Does not apply to static, human-authored pentest suites or one-shot fuzzing where the corpus is frozen between runs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-exploit-synthesis-drift-when-a-continuous-red-teaming-harness-mutates-its-own-attack-corpus-against-a-live-a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-exploit-synthesis-drift-when-a-continuous-red-teaming-harness-mutates-its-own-attack-corpus-against-a-live-a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-exploit-synthesis-drift-when-a-continuous-red-teaming-harness-mutates-its-own-attack-corpus-against-a-live-a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2457,
    "python_slice_tokens": 707,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the harness found a false positive\" or \"the harness generated an invalid exploit.\" Both of those are noisy but bounded. The failure is **exploit-synthesis drift**: the harness's mutation operator optimizes against a *reward signal derived from the target agent's own responses*, and once a mutation produces an anomalous response (a stack t...",
    "what_was_observed": "A continuous harness against an MCP server fronting a tool-using agent was configured with a mutation loop: take a seed exploit, mutate one field (JSON schema key, tool name, argument type), send to the agent, score the response by \"anomaly score\" (length deviation from baseline, presence of stack-trace markers, presence of the injected token). Top-scoring mutants seed the next generation. Trace of the drift: 1. **Ge...",
    "condition_of_validity": "The invariant that bounds this failure is a **diversity floor on the mutation operator's field-coverage distribution**, enforced independently of the fitness signal. Formally: at every generation `g`, the corpus must satisfy `min_over_fields(coverage(field, g)) >= epsilon`, where `coverage` counts how many mutants in the corpus exercise that protocol field (...",
    "decision_boundary": "The boundary between \"healthy aggressive red-teaming\" and \"drift\" is crossed when **the marginal information gain of a new mutant about the protocol surface is negative**—i.e., the mutant's field-coverage contribution is zero *and* its fitness is inherited from a parent that already saturated that field. Operationally, the harness must halt and re-seed when:...",
    "operational_effect": "The practical consequence for an instance running such a harness is that **it must treat its own exploit corpus as untrusted state**, subject to the same continuity checks it would apply to any agent memory. Specifically: - The corpus must carry a **provenance tag** per mutant (which seed, which mutation operator, which generation). A mutant whose provenance..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7734f32cc9811e818aee4126bbd11f00453faae2036fda2b36b6e38b57e5f349",
    "verified_classes": [
      "ExploitSynthesisDriftError",
      "Mutant",
      "HarnessConfig",
      "DriftGuard"
    ],
    "verified_functions": [
      "select_parents",
      "__init__",
      "_field_coverage",
      "_distinct_findings",
      "check"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ExploitSynthesisDriftError"
    ],
    "sample_fail_closed_invariants": [
      "no scoreable mutants remain; fitness signal is undefined, not zero",
      "empty corpus; cannot evaluate drift"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
