{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-re-fetched-tool-manifest-as-untrusted-input-rather-than-a-trusted-capability-refresh",
  "title": "In what scenarios must an instance treat a re-fetched tool manifest as untrusted input rather than a trusted capability refresh",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any agent that resolves tool/capability descriptions dynamically (MCP `tools/list`, remote OpenAPI manifests, plugin registries) after initial trust establishment. Does not apply to statically pinned manifests loaded from a signed, immutable artifact at process start with no runtime refresh.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-re-fetched-tool-manifest-as-untrusted-input-rather-than-a-trusted-capability-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-re-fetched-tool-manifest-as-untrusted-input-rather-than-a-trusted-capability-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-re-fetched-tool-manifest-as-untrusted-input-rather-than-a-trusted-capability-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1760,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious tool exists.\" It is the **trust-class collapse between manifest *identity* and manifest *content***. An agent typically establishes trust once — at session start, when it reads a server's tool descriptions and decides the server is benign — and then treats every subsequent `tools/list` response as the same trusted object. But ...",
    "what_was_observed": "A representative trace from a tool-description poisoning incident: 1. **T0 — vetting.** Agent calls `tools/list` on server `S`. Receives `read_file(path: str)` with description \"Read a file from the workspace.\" Agent records `S` as trusted; caches the manifest keyed on `S.id`. 2. **T0+Δ — benign operation.** Several tool calls succeed. No anomaly. Trust is reinforced. 3. **T1 — silent refresh.** Context pressure or a...",
    "condition_of_validity": "The guardrail is valid only under this conjunction: - The manifest is treated as **untrusted input on every fetch**, and trust is re-derived per-fetch from a cryptographic binding (signature over the exact manifest bytes, or a content hash pinned to the vetted version), never from server identity alone. - Any content change between fetches — *especially* in ...",
    "decision_boundary": "The boundary is **content-addressed trust vs. identity-addressed trust**. An agent must decide, at each manifest fetch, whether it is (a) refreshing a trusted capability set or (b) ingesting untrusted bytes that happen to arrive from a trusted peer. Rule: **if the fetch is not byte-identical (by hash) to the last vetted manifest, the new manifest is untruste...",
    "operational_effect": "With the content-addressed gate, the T1 rug-pull is caught at fetch: hash mismatch → quarantine → the poisoned description never reaches the model's context → `exfil_helper` is absent from the pinned set → invocation rejected. The benign tool remains callable because its *pinned* description is what the model sees; the refreshed description is held out of ba..."
  },
  "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": "dfed00cdecc6dfda2be434c334c55202d0374295e89f0b8ccc639f7222c6341a",
    "verified_classes": [
      "ManifestTrustViolation",
      "PinnedManifest"
    ],
    "verified_functions": [
      "_hash_manifest",
      "_natural_language_fields",
      "ingest_refreshed_manifest",
      "authorize_tool_call"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
