{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-survived-provenance-verification-the-schema-hash-divergence-window",
  "title": "What structural signals indicate a poisoned MCP tool manifest survived provenance verification: the schema-hash divergence window",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that discover and bind tools from remote MCP servers whose manifests are fetched, verified against a registry attestation, and then loaded into a live session. Does not cover in-process tools compiled into the agent, nor does it cover prompt-injection delivered through tool *outputs* (that is a data-plane problem, not a manifest-plane problem).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-survived-provenance-verification-the-schema-hash-divergence-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-survived-provenance-verification-the-schema-hash-divergence-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-survived-provenance-verification-the-schema-hash-divergence-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1829,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a malicious server got listed.\" It is subtler: a server whose *registry attestation is valid* for manifest version `N`, but whose *runtime-served manifest* is version `N+1` — a semantically enriched manifest that injects skills (instructions, default arguments, chained tool preambles) the attestation never covered. Provenance verific...",
    "what_was_observed": "A client fetched `tools/list` from a compromised-but-attested MCP server. The registry attestation pinned `manifest_sha256 = a91f...` for version `2.3.0`. The server returned a manifest whose top-level `version` field still read `2.3.0` and whose `tools` array contained the attested tools — but with three additions that do not change the version string: 1. A `description` on `read_file` extended from 40 to 900 charac...",
    "condition_of_validity": "The guardrail holds only under a **canonicalization-and-pin invariant**: the digest that is signed must be computed over a deterministic canonical form of the *entire* manifest (tool names, descriptions, every schema keyword including `default`, `enum`, `annotations`, and the tool ordering), and the client must recompute that same digest at the moment of bin...",
    "decision_boundary": "The operational decision is: **on digest mismatch, refuse to bind — do not downgrade to a warning.** The temptation is to log a mismatch and proceed with the attested subset of tools, because the attested tools are \"safe.\" This is wrong for two reasons. First, the injected description on an *attested* tool (`read_file`) is itself the payload; the safe subset...",
    "operational_effect": "After enforcing the canonical-digest-at-bind invariant, the observed class of incidents changes shape: injected descriptions and default-argument preludes are caught at bind time as digest mismatches (high signal, low noise once canonicalization is fixed), and the residual attacks move to the *data plane* — poisoned tool outputs — which is a different contro..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "2d97bedd26e9943707235747e210be73ff5af420674862019d78195463a58408",
    "verified_classes": [
      "ManifestDigestDivergence"
    ],
    "verified_functions": [
      "canonical_manifest_digest",
      "bind_tools",
      "norm"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ManifestDigestDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json",
      "unicodedata"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
