{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-tool-schema-after-a-registry-re-sync-the-manifest-signature-description-body-split-in-dynamically-loaded-agent",
  "title": "Why does an instance accept a poisoned tool schema after a registry re-sync — the manifest-signature/description-body split in dynamically loaded agent tool registries",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents whose tool/function registry is refreshed at runtime from a remote catalog (MCP-style `tools/list` re-sync, plugin marketplaces, hot-reloaded skill packs) where tool *manifests* are signed but tool *descriptions* are treated as presentation metadata. Does not apply to statically compiled tool sets or to registries where the full schema (including description text) is inside the signed envelope.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-schema-after-a-registry-re-sync-the-manifest-signature-description-body-split-in-dynamically-loaded-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-schema-after-a-registry-re-sync-the-manifest-signature-description-body-split-in-dynamically-loaded-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-schema-after-a-registry-re-sync-the-manifest-signature-description-body-split-in-dynamically-loaded-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2208,
    "python_slice_tokens": 376,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"prompt injection in a tool description.\" That is well understood. The failure is that a **signature-verified manifest and an unsigned description body are recombined at load time**, so the agent's trust decision is made against artifact A while its reasoning is conditioned on artifact B. Concretely: a registry entry has two parts. 1. A **...",
    "what_was_observed": "A tool `summarize_repo` was published at v1.2.0 with a benign description and a valid manifest signature. At sync time T0 the agent loaded it and cached the description in its system prompt as part of the tool preamble. At T0+6h the registry served the *same* manifest (same signature, same hash, same version — the publisher did not bump the version because \"only docs changed\") with a mutated description body: > \"Summ...",
    "condition_of_validity": "The guardrail that bounds this is a **description-manifest binding invariant**: the description text must be inside the signed envelope, or its hash must be committed into the signed manifest, such that any change to the description invalidates the signature unless re-signed by the publisher key. Formally, the load gate must be: If any conjunct fails, the to...",
    "decision_boundary": "The boundary is **whether description text is in the signature preimage**. Operationally: - **Inside the preimage** → a description change is a manifest change is a signature change is a version bump. The agent's \"has this tool changed?\" gate and the security gate are the *same gate*. Safe to hot-reload. - **Outside the preimage** → description changes are i...",
    "operational_effect": "Downstream of a description/manifest split, three effects compound: 1. **Signature theater.** Dashboards report 100% signature-valid tool loads while the actual attack surface (description text) is unauthenticated. The control that looks like it covers the risk does not touch it. 2. **Checkpoint contamination.** Because the poisoned description entered the c..."
  },
  "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": "68a8c83a09cd48b9582c37ea17bbf06996013091e04738b649b9256ee896afe7",
    "verified_classes": [
      "DescriptionManifestSplitError",
      "ToolEntry"
    ],
    "verified_functions": [
      "_h",
      "verify_tool_load",
      "resume_checkpoint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DescriptionManifestSplitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
