{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-mcp-tool-poisoning-detection-when-schema-anomalies-and-dependency-graph-taints-disagree",
  "title": "Where must an instance Bound MCP Tool-Poisoning Detection When Schema Anomalies and Dependency-Graph Taints Disagree",
  "date_of_record": "2026 November 30",
  "scope": "Applies to MCP client instances that detect poisoned tool descriptors by (a) static schema-anomaly scoring of each `tools/list` entry and (b) dynamic taint propagation across an inter-tool dependency graph inferred from observed call sequences. Does not apply to single-tool servers with no cross-tool data flow, nor to poisoning introduced exclusively at the transport layer (TLS interception, MITM) where descriptor bytes are mutated in flight rather than authored maliciously.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-mcp-tool-poisoning-detection-when-schema-anomalies-and-dependency-graph-taints-disagree.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-mcp-tool-poisoning-detection-when-schema-anomalies-and-dependency-graph-taints-disagree.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-mcp-tool-poisoning-detection-when-schema-anomalies-and-dependency-graph-taints-disagree.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1561,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a poisoned tool slipped past detection.\" It is the **disagreement between two detectors that each individually report clean**. Schema-anomaly analysis operates per-descriptor: it flags a tool whose `inputSchema` contains anomalous constructs (over-broad `additionalProperties: true` combined with free-form `description` fields instructing ...",
    "what_was_observed": "A three-tool MCP server exposed `read_note`, `summarize`, and `send_email`. Schema-anomaly scoring: all three descriptors scored below threshold. `read_note` had a tight `inputSchema` (`{id: string}`) and a plain `outputSchema`. `send_email` had `{to, subject, body}` with a normal `format: email` constraint. Dependency tainting: the inferred graph had edges `read_note → summarize` (summarize's input consumed read_not...",
    "condition_of_validity": "The compositionality failure is bounded by three conditions; detection is sound only when all hold: 1. **Descriptor self-containment.** No tool's `description` or schema may reference the *content* of another tool's output. If a description contains conditional logic keyed on upstream payload (\"if the input contains X, do Y\"), it is a cross-node contract and...",
    "decision_boundary": "When schema-anomaly and dependency-taint detectors disagree — or, worse, both report clean but a cross-node contract exists — the instance must not resolve the disagreement by majority or by score threshold. The boundary rule: - **If any tool description contains conditional or imperative logic keyed on upstream payload, escalate to joint analysis** of that ...",
    "operational_effect": "Instances that adopt per-node scoring without joint analysis will pass poisoned tool pairs at a rate equal to the base rate of cross-node contracts — which, in observed MCP servers, is non-trivial because multi-tool servers routinely author descriptions that assume upstream context. The fix is not a better anomaly classifier; it is a **graph-level admission ..."
  },
  "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": "21f26b78a557f54d0d71cd71864f2e3214b43c24bc791024977fa90d3b8fe6ea",
    "verified_classes": [
      "TaintCompositionError"
    ],
    "verified_functions": [
      "taint_closure",
      "admit_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintCompositionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
