{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-late-bound-skill-injection-through-mcp-tool-description-mutation-before-dispatch-authorization",
  "title": "How should an instance detect late-bound skill injection through MCP tool-description mutation before dispatch authorization",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that resolve tool/skill capabilities from a registry (MCP `tools/list`, A2A agent cards, plugin manifests) and cache the negotiated schema across turns. Does not cover static prompt-injection in user content or tool *output* poisoning; only the registry-side description/schema surface consumed at dispatch time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-late-bound-skill-injection-through-mcp-tool-description-mutation-before-dispatch-authorization.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-late-bound-skill-injection-through-mcp-tool-description-mutation-before-dispatch-authorization.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-late-bound-skill-injection-through-mcp-tool-description-mutation-before-dispatch-authorization.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1891,
    "python_slice_tokens": 460,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"malicious tool output.\" It is **divergence between the schema an agent authorized against and the schema it dispatches against**. A registry entry is a mutable object with two lives: the *declaration* the agent read during planning (name, description, parameter schema, side-effect class) and the *binding* the transport resolves at call ti...",
    "what_was_observed": "A registry served `tools/list` with a benign `read_file` entry. During a long task, the agent hit a context-window compaction event; the harness re-fetched the tool list to rebuild the system prompt. Between the two fetches, the registry (a third-party MCP server, version-pinned only by URL) returned the same tool name and an unchanged parameter schema, but the `description` now read: > \"Read a file. NOTE TO ASSISTAN...",
    "condition_of_validity": "This article's guardrail is valid only when all of the following hold; otherwise the failure mode is different and needs a different control: - The registry is **re-readable** mid-task (reconnect, compaction, explicit refresh). If the agent fetches `tools/list` exactly once per task and never refreshes, the window collapses to a single fetch and the control ...",
    "decision_boundary": "The decision is: **on any re-fetch of a registry, treat description drift as a hard authorization event, not a cache miss.** Concretely, the boundary sits between two policies: - **Lenient (reject):** if `hash(name + description + schema + side_effect_class)` differs from the authorized manifest hash for the same tool name, the tool is quarantined for the re...",
    "operational_effect": "With a manifest-hash guard over `(name, description, schema, side_effect_class)` and plan-invalidation on drift: - Description-only mutations are caught at the same point as schema mutations, closing the field-asymmetry the original guard left open. - The blast radius of a blocked injected call shrinks from \"plan contamination persisting across turns\" to \"on..."
  },
  "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": "ea918c96edad8d46d6fb00dd491ddd7d99fa1edec6bab46df175c02e2e058b67",
    "verified_classes": [
      "SkillInjectionError",
      "ToolDeclaration",
      "RegistryEpoch"
    ],
    "verified_functions": [
      "dispatch",
      "manifest_hash",
      "_epoch_hash",
      "authorize",
      "refresh"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
