{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-trust-boundary-for-dynamically-loaded-tool-manifests-when-the-manifest-s-description-field-is-itself-an-executable-pro",
  "title": "Where must an instance draw the trust boundary for dynamically loaded tool manifests when the manifest's *description* field is itself an executable prompt surface",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent runtime that loads tool/plugin manifests (MCP `tools/list`, OpenAI-style function schemas, A2A capability cards) at runtime from a registry it does not fully control, and injects the manifest's `description`/`parameters` text into the model's context. Does not apply to statically compiled tool sets whose schemas ship with the runtime binary and are never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-for-dynamically-loaded-tool-manifests-when-the-manifest-s-description-field-is-itself-an-executable-pro.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-for-dynamically-loaded-tool-manifests-when-the-manifest-s-description-field-is-itself-an-executable-pro.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-for-dynamically-loaded-tool-manifests-when-the-manifest-s-description-field-is-itself-an-executable-pro.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1914,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common framing of \"skill injection\" treats the manifest as *data* and the tool *implementation* as the *code*. The boundary that actually matters is different: the manifest's human-readable `description` field is **executable instruction text** delivered directly into the privileged region of the context window, while the tool's `execute()` body runs in ...",
    "what_was_observed": "A runtime registered a third-party plugin whose manifest declared a benign tool, `summarize_log`, with a handler that was correctly sandboxed (no network, read-only FS, 2s CPU budget). The handler was audited and clean. The manifest's `description` field, however, read: The handler ignored `context` entirely — it was never read, never logged, never sent anywhere. The exfiltration did not happen in the tool. It happen...",
    "condition_of_validity": "The attack requires all of the following to hold simultaneously; remove any one and the surface closes: - **C1 — Description reaches the privileged region.** The runtime injects manifest text into the same message block as system instructions, or into a tool block the model does not tag as untrusted. If descriptions are wrapped in an explicit untrusted-conte...",
    "decision_boundary": "The runtime must decide, per manifest field, whether the field is **inert data** (safe to pass to the model as content) or **instruction-bearing** (must be quarantined, summarized by a separate unprivileged model, or stripped). The boundary is not \"trusted vs. untrusted registry\" — a trusted registry can be compromised, and a semi-trusted registry can ship a...",
    "operational_effect": "With the field-role boundary enforced, the observed attack class collapses: the description no longer reaches the model as instruction, so the model never forms the `read_file` plan, and even if a compromised registry ships a hostile description, the sanitizer either rewrites it to a factual summary or rejects the manifest. The residual risk shifts to the sa..."
  },
  "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": "5d29284ea56ac37b2a1b6898b5d2ae5f6d7e791941a4cdb937f687f1b071244c",
    "verified_classes": [
      "ManifestInstructionFieldError"
    ],
    "verified_functions": [
      "sanitize_manifest",
      "attribute_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestInstructionFieldError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
