{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-rotates-its-hardware-backed-attestation-key-mid-handoff-and-the-verifiable-credential-s-subject-binding-silently-diverge",
  "title": "What happens when an instance rotates its hardware-backed attestation key mid-handoff and the verifiable credential's subject binding silently diverges from the live TEE measurement",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent-to-agent (A2A) and agent-to-tool (MCP) handoffs where the receiving agent authenticates the sender via a hardware-rooted attestation key (TPM EK/AK, Secure Enclave, SEV-SNP VCEK, TDX quote) bound into a W3C Verifiable Credential whose `credentialSubject` carries a measurement digest. Does not apply to pure bearer-token or API-key auth, nor to stateless single-turn invocations with no credential reuse.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-hardware-backed-attestation-key-mid-handoff-and-the-verifiable-credential-s-subject-binding-silently-diverge.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-hardware-backed-attestation-key-mid-handoff-and-the-verifiable-credential-s-subject-binding-silently-diverge.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-hardware-backed-attestation-key-mid-handoff-and-the-verifiable-credential-s-subject-binding-silently-diverge.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2239,
    "python_slice_tokens": 406,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things an agent identity credential can bind, and operators routinely conflate them: 1. **Key continuity** — the private key that signs the agent's messages is the same key whose public half is attested by the hardware root of trust. This is a *cryptographic* property: signature verification proves it. 2. **Workload continuity** — the ...",
    "what_was_observed": "A two-agent pipeline: an **executor** agent runs inside a confidential VM (SEV-SNP) and holds a VCEK-derived attestation key. A **verifier** agent (a peer, not the hardware) validates the executor's VC before accepting baton-passed task state. The VC carries `credentialSubject.measurement = <launch digest of executor image v3.2>` and is signed by the attestation key `AK_old`. Sequence that triggered the boundary: 1. ...",
    "condition_of_validity": "The vulnerability is *bounded* and only manifests when all of the following hold simultaneously. Remove any one and the divergence is caught: - **Credential caching across a rotation boundary.** The verifier holds a VC whose subject measurement was valid at issuance but is not re-attested at use. (If the verifier forces a live quote per handoff, divergence c...",
    "decision_boundary": "The operational decision is: **when an attestation key rotates, what happens to in-flight tasks that were authenticated under the old key?** Three policies, with distinct failure surfaces: - **Hard cutover (revoke old key at rotation).** In-flight handoffs signed by `AK_old` fail verification at the next message. Tasks abort. Safe but lossy — you trade avail...",
    "operational_effect": "Concretely, the observed system's failure has three downstream effects that an agent must be designed to detect: 1. **Silent acceptance of mismatched-workload state.** The verifier accepted baton-passed state produced by v3.3 under a v3.2 credential. If v3.3 introduced a schema change or a new tool capability, the verifier's policy (written for v3.2) would m..."
  },
  "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": "9bfba5114846aa0719290e9295a2bbb50b14807b38de33efdab47c951a1b97ce",
    "verified_classes": [
      "AttestationSubjectDivergence",
      "Credential",
      "SignedMessage",
      "TrustStore"
    ],
    "verified_functions": [
      "verify_handoff"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationSubjectDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
