{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-signed-mcp-tool-manifests-from-being-silently-re-bound-to-a-different-server-identity-at-load-time",
  "title": "Which invariants prevent signed MCP tool manifests from being silently re-bound to a different server identity at load time",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent runtimes that load MCP servers whose tool capability manifests are signed and attested (e.g., Sigstore/cosign-style attestations bound to a server binary digest and a tool schema hash). Does not cover unsigned local dev servers or in-process tool registries where no transport boundary exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-mcp-tool-manifests-from-being-silently-re-bound-to-a-different-server-identity-at-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-mcp-tool-manifests-from-being-silently-re-bound-to-a-different-server-identity-at-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-mcp-tool-manifests-from-being-silently-re-bound-to-a-different-server-identity-at-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1385,
    "python_slice_tokens": 221,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the signature is invalid.\" It is that **the signature remains valid while the thing it protects has changed underneath it**. A signed manifest attests to a *tuple*: `(server_identity, tool_schema_digest, capability_claims)`. Most MCP clients verify the signature against the manifest bytes and the publisher identity, then separat...",
    "what_was_observed": "An agent host pinned `mcp-server-filesystem@2.3.0` with a manifest signed against binary digest `sha256:9a1c…` and tool schema digest `sha256:4be0…`. At boot, the host: 1. Verified the manifest signature against the expected publisher key → pass. 2. Resolved the server via the registry entry, which returned a *newer* `2.3.1` endpoint (patch bump, same major.minor, treated as \"compatible\" by the resolver's semver poli...",
    "condition_of_validity": "The attestation is only meaningful under an invariant the runtime must actively enforce: > **Binding invariant:** the `(binary_digest, tool_schema_digest, capability_claims)` triple observed at runtime MUST be byte-identical to the triple covered by the verified signature, and this equality MUST be checked *after* the live server is resolved and *after* `too...",
    "decision_boundary": "The boundary is between **\"signature verified\"** and **\"attestation honored.\"** A runtime that stops at the first has authenticated a publisher but not bound that authentication to execution. The correct gate is: - Verify signature over the manifest → establishes reference triple `R`. - Resolve endpoint → obtain live server. - Call `tools/list` and hash the ...",
    "operational_effect": "Without the binding invariant, supply-chain attestation becomes theater: it raises the cost of publishing a signed manifest while leaving the agent's actual authority determined by whatever the live endpoint advertises. The concrete operational consequences are (a) silent authority widening via added tool parameters, (b) schema-cache poisoning where the mode..."
  },
  "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": "39cdb82f4b0d38f550e58d7bd0931502f2452b9546a69c4998404053deb238b1",
    "verified_classes": [
      "AttestationBindingError",
      "AttestedTriple"
    ],
    "verified_functions": [
      "canonical_schema_digest",
      "enforce_binding",
      "register_server"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
