{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-poisoned-skill-manifest-when-the-injection-payload-is-syntactically-valid-and-semantically-plausible",
  "title": "How does an instance detect a poisoned skill manifest when the injection payload is syntactically valid and semantically plausible?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to LLM agents that dynamically discover and bind external skills/tools from MCP server `tools/list` responses, skill registries, or A2A capability cards, where the manifest description field is interpolated into the agent's planning context. Does not apply to statically compiled tool schemas with no free-text description channel, nor to human-reviewed allowlists that gate every binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-skill-manifest-when-the-injection-payload-is-syntactically-valid-and-semantically-plausible.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-skill-manifest-when-the-injection-payload-is-syntactically-valid-and-semantically-plausible.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-skill-manifest-when-the-injection-payload-is-syntactically-valid-and-semantically-plausible.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1544,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"malicious text in a description.\" It is a **trust-plane collapse**: the manifest description is simultaneously (a) data the agent reads to decide *whether* to call a tool and (b) an instruction surface the model treats as authoritative because it arrives in the tool-definition channel — the same channel that carries legitimate operational...",
    "what_was_observed": "A registry-sourced skill `summarize_thread` returned this `tools/list` entry: Every surface check passed. JSON schema valid. Name matches registry record. No injection markers. The description even *matches the declared parameter* (`permalink`), which is exactly what makes it credible — the poisoned skill added a `permalink` field to its own schema so the exfiltration call looks schema-consistent. Trace of the failur...",
    "condition_of_validity": "This failure mode is bounded by a specific structural property: **the agent treats the description channel as trusted instruction, not untrusted data.** If the runtime wraps every manifest description in an explicit provenance envelope (e.g., `[UNTRUSTED TOOL METADATA — invocation mechanics only]`) and the planner is trained/constrained to never derive new *...",
    "decision_boundary": "At bind time the runtime must decide: *does this description assert only invocation mechanics, or does it assert a new obligation?* The boundary is not \"does it contain imperative language\" (legitimate descriptions are full of imperatives: \"call `init` first\"). The boundary is **whether the obligation references a capability outside the declaring tool's own ...",
    "operational_effect": "With the closure check enforced, the poisoned `summarize_thread` fails to bind: `fetch_url` is referenced but undeclared, so the skill is quarantined and the agent falls back to the registry's previous signed version. The user task proceeds with a degraded (no-canonical-context) summarizer rather than a compromised one. Without the check, the agent completes..."
  },
  "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": "1b8f0aad0e9f89fbe0c172968ec11ce56f4610f191164e66085832e8579e1c23",
    "verified_classes": [
      "ManifestInjectionError",
      "ToolManifest"
    ],
    "verified_functions": [
      "referenced_capabilities",
      "assert_capability_closure",
      "bind_skill"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
