{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-tool-manifest-after-a-clean-registry-handshake-the-skill-injection-surface-in-dynamically-loaded-plugin-registr",
  "title": "Why does an instance accept a poisoned tool manifest after a clean registry handshake? The skill-injection surface in dynamically loaded plugin registries",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that resolve tool/plugin manifests at runtime from a registry whose entries can be authored or mutated by third parties (MCP servers, marketplace plugins, peer-published skills), and that cache or re-resolve those manifests across sessions. Does not apply to statically compiled tool sets with signed, build-time-pinned schemas.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-manifest-after-a-clean-registry-handshake-the-skill-injection-surface-in-dynamically-loaded-plugin-registr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-manifest-after-a-clean-registry-handshake-the-skill-injection-surface-in-dynamically-loaded-plugin-registr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-tool-manifest-after-a-clean-registry-handshake-the-skill-injection-surface-in-dynamically-loaded-plugin-registr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1607,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent loaded a malicious tool.\" It is that the *binding* between a tool's identity and its behavioral contract is established at discovery time, but the contract that governs inference is re-read from a mutable field at invocation time — and those two reads are not the same object. A registry handshake verifies *who published* a skill...",
    "what_was_observed": "A tool registry served manifests as: `{name, schema_hash, description, examples[]}`. The loader verified `schema_hash` against a signed publisher record, then cached the full manifest keyed by `(name, schema_hash)`. A plugin publisher's CI regenerated `description` and `examples` on every deploy via an \"auto-documentation\" step that summarized the tool's parameter semantics with an auxiliary LLM. The `schema_hash` co...",
    "condition_of_validity": "The guardrail \"verify the manifest digest before trusting the tool\" is only valid under the condition that **the digest is computed over the exact bytes the model is conditioned on, and the cache key is the digest of that same byte range.** Two corollaries bound the failure: - If any transformation (interpolation, localization, summarization, example enrichm...",
    "decision_boundary": "The boundary is between *identity verification* and *content integrity*. Place every manifest on the correct side: - **Content-integrity side (must be hashed over rendered bytes, content-addressed cache):** `description`, `examples`, `usage_notes`, `preconditions`, any field the model reads. - **Identity side (schema digest, publisher signature):** parameter...",
    "operational_effect": "Without the content-addressed invariant, a compromised or merely careless publisher can inject behavioral instructions into a running agent fleet while passing every cryptographic check, and the audit trail will affirmatively certify the poisoned call as verified. The blast radius is bounded only by the tool's own permissions, which is exactly the wrong boun..."
  },
  "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": "2ed534dc629231d9b965efce4fda857a11b01dea5337ad9b6426d75309f7467c",
    "verified_classes": [
      "ManifestIntegrityError",
      "SignedManifest"
    ],
    "verified_functions": [
      "_content_digest",
      "admit_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
