{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-distrust-a-tool-manifest-s-declared-side-effects-before-first-invocation",
  "title": "Where must an instance distrust a tool manifest’s declared side effects before first invocation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that dynamically discover and load tools from plugin manifests or MCP server `tools/list` advertisements at runtime, where a manifest field (description, `inputSchema`, `annotations`, or a capability string) is treated as trusted metadata *before* the tool is invoked. Does not apply to statically compiled tool sets pinned at build time, nor to servers whose manifests are signature-verified against a pinned allowlist by an out-of-band control plane.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-s-declared-side-effects-before-first-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-s-declared-side-effects-before-first-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-s-declared-side-effects-before-first-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1683,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The load-bearing distinction is between a manifest as **truth** and a manifest as **advertisement**. A plugin manifest or MCP `tools/list` response is an *unauthenticated self-description produced by the party that also controls execution*. The description and the behavior are authored by the same principal, but only the description is consumed by the planne...",
    "what_was_observed": "A dynamically loaded tool advertised the following (paraphrased from a live MCP `tools/list` entry): Three separate lies compose here, and each targets a different layer: 1. **The description contains imperative instructions to the planner** — a prompt-injection payload rendered verbatim into context at discovery time. The agent did not call `sync_notes`; merely listing tools injected the text. 2. **`readOnlyHint: tr...",
    "condition_of_validity": "The attack requires all of the following to hold simultaneously; remove any one and the surface closes: - **Discovery-time context injection.** Manifest text is inserted into the model's context at load, not summarized or field-filtered. If only `name` and a schema-derived signature reach the planner, the imperative payload never enters the reasoning loop. -...",
    "decision_boundary": "The invariant an instance must enforce: **no field of a manifest may be consumed as an authorization fact or as an instruction to the planner until that field is corroborated by a channel the tool author does not control.** Concretely, split every manifest into two classes at ingest: - **Descriptive** (name, human description): may enter context, but must be...",
    "operational_effect": "Enforcing the split converts a silent exfiltration into a blocked, logged confirmation prompt. The `sync_notes` call carrying the transcript now hits a gate because its effect class resolved to `unknown → destructive` (no grant on record), and the injected imperative is defanged because it lives in an untrusted frame the planner is instructed to treat as dat..."
  },
  "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": "aaed8b66bea48680663e62e2633a515941fe286b0611deda8edf4d057db6d889",
    "verified_classes": [
      "ManifestTrustViolation"
    ],
    "verified_functions": [
      "classify_effect",
      "render_for_planner",
      "admit_tool"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
