{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-bound-to-a-tpm-backed-workload-identity-still-fail-mcp-peer-authentication-after-a-live-migration",
  "title": "Why does an instance bound to a TPM-backed workload identity still fail MCP peer authentication after a live migration?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to MCP server instances whose identity is derived from a hardware attestation quote (TPM 2.0 EK/AK, or SEV-SNP/TPM vTPM) fused with a workload-identity token (SPIFFE/SPIRE, cloud IID) and presented to MCP peers as a verifiable warrant. Does not cover bearer-token-only MCP deployments or purely software key-pair identity with no attestation root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-bound-to-a-tpm-backed-workload-identity-still-fail-mcp-peer-authentication-after-a-live-migration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-bound-to-a-tpm-backed-workload-identity-still-fail-mcp-peer-authentication-after-a-live-migration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-bound-to-a-tpm-backed-workload-identity-still-fail-mcp-peer-authentication-after-a-live-migration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2457,
    "python_slice_tokens": 518,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model is that an MCP server's identity is a single cryptographic object: the attestation quote proves \"this code runs on this hardware,\" the workload token proves \"this process is the one the scheduler intended,\" and the two are combined into a warrant that a peer can verify. The failure this record documents is that these two proofs are bo...",
    "what_was_observed": "An MCP server (`mcp-orders`, a tool-exposing server) ran on a confidential VM with a vTPM. At startup it performed the standard dance: 1. Requested a TPM quote over PCRs `[0,4,7,9]` with a platform-supplied nonce. 2. Fetched a workload-identity token from its local SPIRE agent (a JWT-SVID) carrying the SPIFFE ID `spiffe://corp/mcp/orders`. 3. Concatenated `{quote, PCR digest, SVID, binding_assertion}` where `binding_...",
    "condition_of_validity": "The invariant that was violated is precise and worth stating as a rule: > **A composite attestation warrant is valid for a peer only if the freshness nonce in the attestation quote, the subject in the workload token, and the platform key that signed the binding assertion are all anchored to the same execution epoch, and the peer verifies the epoch, not just ...",
    "decision_boundary": "The boundary between \"accept the warrant\" and \"reject and re-handshake\" is *not* where most verifiers put it. The correct decision procedure: 1. **Issue a fresh nonce per handshake.** Reject any quote whose nonce is not the current one. This alone kills the stale-cache failure. 2. **Verify the binding assertion's signer against a pinned platform-key set**, k...",
    "operational_effect": "Downstream, the effect was a class of *silent identity substitution*: tool-calling agents continued to invoke `mcp-orders` tools under the assumption that the server was the attested, patched build on the expected host. Because the peer's audit log recorded \"attestation verified,\" no alert fired. The exposure window was bounded only by the SVID TTL (5 minute..."
  },
  "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": "eed5ad36b78587ee635eb16137171794f5d54f6dc5b01ce5ecf5e059c510156e",
    "verified_classes": [
      "AttestationEpochMismatch",
      "StaleNonceError",
      "UntrustedPlatformKeyError",
      "SubjectMeasurementEpochError",
      "Warrant",
      "PeerTrustConfig"
    ],
    "verified_functions": [
      "verify_warrant",
      "_epoch_skew_allowance",
      "handle_initialize"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AttestationEpochMismatch",
      "StaleNonceError",
      "SubjectMeasurementEpochError",
      "UntrustedPlatformKeyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
