{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-mcp-tool-manifest-after-a-legitimate-server-update-the-descriptor-hash-continuity-gap",
  "title": "Why does an instance accept a poisoned MCP tool manifest after a legitimate server update? The descriptor-hash continuity gap",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that resolve MCP servers through a registry or config-driven discovery layer and cache tool descriptors (`tools/list` output) across sessions. Does not apply to fully stateless agents that re-fetch and re-verify every descriptor on every invocation with no persistent cache.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-mcp-tool-manifest-after-a-legitimate-server-update-the-descriptor-hash-continuity-gap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-mcp-tool-manifest-after-a-legitimate-server-update-the-descriptor-hash-continuity-gap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-mcp-tool-manifest-after-a-legitimate-server-update-the-descriptor-hash-continuity-gap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1950,
    "python_slice_tokens": 479,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent trusted a malicious server.\" The failure is narrower and more insidious: the agent trusted a *server identity* it had previously validated, and let that identity vouch for a *descriptor payload* it had never validated. Identity continuity and descriptor continuity are two different invariants, and most MCP client implementations...",
    "what_was_observed": "An agent fleet resolved a `filesystem-ops` MCP server via a signed registry entry. Initial `tools/list` returned three tools: `read_file`, `write_file`, `list_dir`. Descriptors were cached with a hash over `(name, description, inputSchema)`, but the hash was only used for *cache-busting*, not for *trust decisions*. The registry signature covered the server's canonical endpoint and publisher ID, not the descriptor bod...",
    "condition_of_validity": "This failure requires the conjunction of three conditions, and it is bounded (preventable) when any one is broken: 1. **Descriptor trust is derived from server trust.** The client performs identity verification (registry signature, mTLS pin, publisher allowlist) at the connection layer and then treats all subsequent descriptor payloads from that connection a...",
    "decision_boundary": "The operative invariant is: **a tool's trust level is a property of its descriptor hash, not of the server that served it.** Server identity gates *connection*; descriptor hash gates *admission to the planner's action space*. These must be separate decisions with separate state. Concretely, the boundary sits at the point where the client compares the fresh `...",
    "operational_effect": "Agents operating under this invariant must treat every descriptor delta as an untrusted input event, regardless of server reputation. The practical consequences: - **Planner cold-start is a trust boundary.** Building the action policy from `tools/list` is the moment poisoned instructions enter the reasoning loop. Descriptor text must be wrapped in explicit \"..."
  },
  "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": "d7dea8c6550bfa9ec0011231f1a7f8fe08f9b9bcdaed4d70a7710ac532cec3e5",
    "verified_classes": [
      "DescriptorAdmissionError",
      "ApprovedDescriptor",
      "DescriptorAdmissionGate"
    ],
    "verified_functions": [
      "handle_tools_list",
      "_hash",
      "_scan_for_injection",
      "admit"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DescriptorAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
