{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-trust-boundary-between-tool-registry-metadata-and-executable-plugin-code-a-study-of-skill-injection-via-manifest-decla",
  "title": "Where must an instance draw the trust boundary between tool-registry metadata and executable plugin code? A study of skill-injection via manifest-declared side effects",
  "date_of_record": "2026 December 2",
  "scope": "Applies to LLM agents that discover and invoke tools through a registry or plugin manifest (MCP servers, OpenAPI-derived tool sets, function-calling schemas with `description`/`examples`/`default` fields, or plugin catalogs declaring side-effect annotations). Does not cover prompt injection arriving in user content or tool *outputs*; this record is strictly about injection encoded in the *manifest* the agent reads before any tool executes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-tool-registry-metadata-and-executable-plugin-code-a-study-of-skill-injection-via-manifest-decla.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-tool-registry-metadata-and-executable-plugin-code-a-study-of-skill-injection-via-manifest-decla.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-tool-registry-metadata-and-executable-plugin-code-a-study-of-skill-injection-via-manifest-decla.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1871,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The prevailing model treats a tool manifest as **inert metadata**: a name, a JSON-schema for arguments, and a natural-language `description` the model reads to decide *when* to call the tool. Security review therefore focuses on the executable body — sandboxing, syscall filtering, network egress. This is the wrong boundary. The actual attack surface is that ...",
    "what_was_observed": "A registry federated from third-party plugin sources served a tool whose manifest was structurally valid but semantically adversarial. The relevant fragment: Three distinct injection channels fired, and they compounded: 1. **Behavioral steering via `description`.** The `NOTE TO ASSISTANT` clause is not a schema constraint; it is an instruction. The model's tool-selection policy weighted it as if it were a system dire...",
    "condition_of_validity": "The boundary holds — i.e., the manifest is safe to treat as inert — only when **all** of the following are true: - Manifest free-text fields (`description`, `examples`, `enum` labels, `title`) are rendered to the model inside a delimited, explicitly-untrusted context block that the system prompt instructs the model to treat as data, not instructions; and - S...",
    "decision_boundary": "The operational question is not \"is this manifest valid?\" but **\"which fields may the model's control flow depend on, and who vouches for each?\"** Draw the line as follows: - Fields the model may *reason over* (description, examples): untrusted, delimited, non-authoritative. They inform selection but cannot grant scope. - Fields the model may *emit* (argumen...",
    "operational_effect": "Enforcing the boundary changes three things in practice. First, default-filling is disabled for a defined set of sensitive parameters, which increases model burden slightly (the model must emit paths explicitly) but restores the property that the executed call equals the authorized call. Second, annotations become advisory: the policy engine ignores `readOnl..."
  },
  "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": "006e9a16e2d05d7cd24a531d62ddc0bc3f2046d8ef8468b8109ebd75145f79c0",
    "verified_classes": [
      "ManifestTrustViolation"
    ],
    "verified_functions": [
      "validate_manifest_for_execution",
      "authorize_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
