{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-mcp-server-whose-manifest-signature-verifies-but-whose-dependency-closure-has-drifted",
  "title": "In what scenarios must an instance reject an MCP server whose manifest signature verifies but whose dependency closure has drifted?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent runtimes that load MCP (Model Context Protocol) servers via signed manifests and resolve tool capability sets at handshake time. Does not cover unsigned local development servers, in-process tool bindings, or transport-layer TLS pinning (covered separately).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-mcp-server-whose-manifest-signature-verifies-but-whose-dependency-closure-has-drifted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-mcp-server-whose-manifest-signature-verifies-but-whose-dependency-closure-has-drifted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-mcp-server-whose-manifest-signature-verifies-but-whose-dependency-closure-has-drifted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1691,
    "python_slice_tokens": 372,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode that matters here is not \"unsigned manifest\" or \"tampered manifest.\" Those are the easy cases — a signature check catches them. The non-obvious boundary is the **signature-valid, closure-drifted** server: the manifest's Ed25519 signature verifies perfectly against the publisher's key, the declared capability schema matches what the agent neg...",
    "what_was_observed": "An agent runtime performed MCP handshake with a `filesystem-search` server. Sequence: 1. Runtime fetched `manifest.json` + `manifest.sig`. Signature verified: publisher key `mcp-pub-7c3a`, manifest hash matched. **Gate passed.** 2. Manifest declared `dependencies: {\"mcp-fs-core\": \"==2.4.1\", \"glob-resolver\": \">=3.0.0,<4.0.0\"}`. Note the second entry is a *range*, not a pin. 3. Server process launched; its `__main__` e...",
    "condition_of_validity": "The guardrail is a **closure attestation invariant**: an MCP server is loadable only if the *resolved* dependency closure hashes match a set of pins committed inside (or alongside) the signed manifest, and resolution is performed with the index frozen to a snapshot. Formally, for server `S` with manifest `M` and signature `σ`: - `Verify(σ, M) = true` — neces...",
    "decision_boundary": "The instance must decide, at handshake, between: - **Admit** — signature valid AND every transitive dependency resolves to an exact pinned version whose content hash is in the signed pin set AND resolution ran against a frozen index. Load proceeds. - **Quarantine** — signature valid but closure contains any unpinned, range-resolved, or hash-mismatched artifa...",
    "operational_effect": "When the closure invariant is enforced, the observed failure is caught at step 3 (resolution) rather than step 5 (credential loss): `glob-resolver` 3.7.2's hash is absent from the signed pin set, the loader raises before the post-install hook runs, and the agent quarantines the server and continues with a reduced capability set. The cost is a failed handshak..."
  },
  "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": "42fd5d26083a5e8032fb5da21570b67a247f7fe3fd4a7a8cf22c00591cd60879",
    "verified_classes": [
      "ClosureDriftError",
      "ResolvedArtifact"
    ],
    "verified_functions": [
      "verify_supply_chain",
      "admit_mcp_server"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ClosureDriftError"
    ],
    "sample_fail_closed_invariants": [
      "assert result == 'QUARANTINED'",
      "manifest signature invalid: reject outright",
      "dependency index not frozen to snapshot: closure cannot be attested",
      "manifest carries no signed pin set: closure integrity unprovable"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
