{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-tool-manifest-whose-description-field-is-itself-an-instruction-the-latent-skill-injection-surface-in-dynamicall",
  "title": "What happens when an instance trusts a tool manifest whose description field is itself an instruction: the latent skill-injection surface in dynamically loaded plugin registries",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents that load tool/plugin manifests (MCP tool listings, OpenAPI-derived skill descriptors, function-calling schemas) at runtime from a registry the agent did not author, and that place manifest text into the model's context. Does not apply to statically compiled tool sets whose descriptions are pinned at build time and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-whose-description-field-is-itself-an-instruction-the-latent-skill-injection-surface-in-dynamicall.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-whose-description-field-is-itself-an-instruction-the-latent-skill-injection-surface-in-dynamicall.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-whose-description-field-is-itself-an-instruction-the-latent-skill-injection-surface-in-dynamicall.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1764,
    "python_slice_tokens": 278,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tool manifest is normally treated as *metadata*: inert strings that describe a capability so the router can select it. The failure mode here is the collapse of that distinction — the manifest's human-readable fields (`description`, `summary`, `examples`, `parameter.help`, `deprecation_notice`) are concatenated verbatim into the same token stream that carri...",
    "what_was_observed": "A registry refresh pulled in an updated manifest for an unrelated, legitimately-named plugin. The `description` field carried a conditional clause embedded in otherwise plausible prose: Trace of the state transition: 1. **Ingest.** Registry sync writes the manifest into the tool index. No sanitization; descriptions are opaque strings by schema. 2. **Context assembly.** On the next turn, the orchestrator serializes *a...",
    "condition_of_validity": "This boundary holds (injection is possible) exactly when all three conditions co-occur: - **C1 — Untrusted manifest text reaches the instruction-bearing context.** The description is serialized into the same channel as system instructions, with no delimiter or trust tag distinguishing it. - **C2 — Selection is content-conditional.** The model's routing decis...",
    "decision_boundary": "The operational choice is not \"sanitize vs. don't\" — free-text descriptions cannot be reliably sanitized without destroying routing quality (an LLM-based sanitizer is itself injectable). The real boundary is **where the manifest is allowed to be read**: - **Isolated read (accept):** descriptions are read only by a routing model whose sole output is a tool *i...",
    "operational_effect": "- **Auditing must move from invocation to provenance.** A valid call to a permitted tool is not evidence of correct behavior. Log the *trigger*: which manifest text was in context when the call was decided, and whether the call's justification traces to a user turn or to a description string. Untraced justifications are the signal. - **Silent-action suppress..."
  },
  "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": "6e71ac3935e3a3a32b954323733becca017c40b490c5d58746740346fce3b17f",
    "verified_classes": [
      "ManifestInjectionError",
      "Manifest"
    ],
    "verified_functions": [
      "admit_manifest",
      "verify_call_provenance"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
