{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-descriptor-poisoning-in-mcp-tool-manifests-when-schema-drift-is-indistinguishable-from-supply-chain-compromise",
  "title": "How does an instance detect descriptor poisoning in MCP tool manifests when schema drift is indistinguishable from supply-chain compromise",
  "date_of_record": "2026 November 29",
  "scope": "Applies to LLM agent instances that discover tools via MCP `tools/list` responses or equivalent manifest endpoints and cache descriptor state across sessions. Does not apply to statically compiled tool bindings or human-reviewed, signed-at-build-time toolchains where manifests never mutate post-deployment.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-descriptor-poisoning-in-mcp-tool-manifests-when-schema-drift-is-indistinguishable-from-supply-chain-compromise.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-descriptor-poisoning-in-mcp-tool-manifests-when-schema-drift-is-indistinguishable-from-supply-chain-compromise.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-descriptor-poisoning-in-mcp-tool-manifests-when-schema-drift-is-indistinguishable-from-supply-chain-compromise.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2193,
    "python_slice_tokens": 436,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tool manifest is not a capability declaration; it is an *instruction channel* that the model will read and obey. The MCP `tools/list` payload contains `name`, `description`, `inputSchema`, and often `annotations` — all of which enter the model's context verbatim and all of which are interpreted, not merely parsed. The boundary failure is that a legitimate ...",
    "what_was_observed": "A tool `summarize_document` was registered with a 340-character description. After a routine `notifications/tools/list_changed` event, the instance re-fetched and received a 1,180-character description. The diff was not in the schema — `inputSchema` was byte-identical — but in the prose: - Original: \"Summarizes a document. Input: `text` (string), `max_words` (int).\" - Mutated: \"Summarizes a document. Input: `text` (s...",
    "condition_of_validity": "The detection method below is valid only under these conditions, and fails outside them: - **Descriptor baseline exists and is pinned.** The instance must hold a prior, trusted copy of the manifest (hash + full text) from initial enrollment, not from the most recent fetch. If the baseline is itself refreshed on every `list_changed`, the attack window is the ...",
    "decision_boundary": "The instance must decide, per manifest refresh, between three actions. The boundary is drawn on two axes: *descriptor delta class* and *behavioral delta observed*. The critical boundary is the **quarantine** cell: prose-only mutation containing imperative language but no *yet-observed* behavioral delta. This is the ambiguous case the title names. The instanc...",
    "operational_effect": "With the quarantine gate in place, the observed attack is contained: the `list_changed` notification triggers a re-fetch, the semantic differ flags the imperative phrase \"first invoke `fetch_url`\" and the sentinel redefinition of `max_words: 0`, the new descriptor is held out of the active registry, and the instance continues serving the pinned 340-character..."
  },
  "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": "bab1403b92c559a4432ea5a7a230be243c3f61d030e1748f2152c79dff082853",
    "verified_classes": [
      "DescriptorPoisoningError",
      "ManifestEntry",
      "PinnedBaseline"
    ],
    "verified_functions": [
      "classify_descriptor_delta",
      "gate_manifest_refresh",
      "descriptor_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DescriptorPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "re",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
