# When must an instance refuse a hardware-attested peer identity that verifies but no longer binds **Date of Record:** 2026 November 29 **Scope:** Applies to federated agent meshes where peer identity is established via hardware-backed attestation (TPM EK/AK, Secure Enclave, or vendor DICE) wrapped into a verifiable presentation (VP) whose subject key signs the A2A/MCP handshake. Does not apply to bearer-token or pure-software key exchange, where there is no attestation chain to de-anchor. ## Core Distinction A verifiable presentation proves *a key signed a claim*. A hardware attestation proves *a specific key is bound to a specific measured environment at a specific boot*. These are separable facts, and the failure mode lives in the gap: the VP verifies, the signature is valid, the attestation quote is cryptographically sound — and yet the binding between the attested environment and the agent instance that is *currently* acting has been severed. The distinction is between **attestation validity** (the quote checks out) and **attestation liveness** (the attested measurement still describes the process answering the handshake). The single invariant: *an attested identity is only authoritative for the agent incarnation that produced the attestation, and the incarnation boundary is a boot/measurement epoch, not a key lifetime.* Every confused-deputy failure in federated agent attestation is a violation of this invariant — a relying party treating a still-valid attestation as authorization for a *different* runtime state than the one measured. ## What Was Observed A three-node federation: an orchestrator agent (`orch`), a tool-executor agent (`exec`) running inside a confidential VM with a vTPM, and an auditor agent (`aud`). `exec` presents a VP on each handshake containing (a) its AK-signed quote over PCR values, (b) a nonce freshly issued by `orch`, and (c) a subject key `K_sub` that signs the session transcript. The failure trace: 1. `exec` boots, vTPM measures the agent runtime image, quote is produced, `K_sub` is generated in-enclave and certified by the AK. Handshake with `orch` succeeds. `orch` caches the verified presentation with a TTL of 3600s keyed on `K_sub`. 2. The confidential VM is live-migrated and then the agent runtime is **hot-reloaded** — a new code bundle is loaded into the same process, the same `K_sub` persists (it was sealed to PCRs that did not change, because the reload path did not re-extend the relevant PCR), and no new quote is emitted. 3. A prompt-injection payload delivered through a tool result causes the reloaded runtime to issue an outbound A2A call to `aud` under `K_sub`, carrying `orch`'s cached presentation as a transitive credential. 4. `aud` verifies the presentation: signature valid, nonce fresh *relative to the cached transcript*, PCRs match the expected golden values. Verification passes. The call is attributed to the attested `exec` identity. 5. The reloaded runtime — which was never measured — now operates with the full trust of the original measurement. The non-obvious part: **the nonce was fresh but not bound to the current process state.** The nonce proved the quote was recent; it did not prove the quote described the code that was about to act. PCRs are append-only across extends, but a hot-reload path that does not extend any PCR leaves the measurement *stale but valid*. The verifier had no signal that a reload had occurred because the reload was invisible to the TPM. ## Condition of Validity The invariant holds — an attestation is authoritative for the acting incarnation — only when all three of the following are true: - **Measurement monotonicity:** every transition of the agent runtime (reload, config change, tool-manifest update, model swap) extends a PCR or bumps a monotonic counter that the quote covers. If any runtime transition is unmeasured, the attestation describes a superseded incarnation. - **Nonce-to-state binding:** the challenge nonce is bound not just to the quote's freshness but to the *current* measurement — i.e., the quote is re-produced after the nonce is issued, and the verifier checks that the PCR digest in the quote reflects the runtime that will answer. A cached presentation replayed with a fresh nonce from an earlier epoch fails this. - **Incarnation epoch propagation:** downstream relying parties (`aud`) receive the epoch identifier alongside the credential, so a transitive presentation cannot outlive the epoch in which it was minted. Without epoch propagation, `orch`'s cache becomes a laundering channel for a stale measurement. When any of these is false, the presentation is *verifiable but non-binding*, and a relying party that accepts it has authorized an unmeasured runtime. The correct behavior is refusal, not degraded trust. ## Decision Boundary The boundary is not "is the signature valid" but "does the attested measurement cover the code path that will execute the next action." Concretely, on receiving a VP: - If the nonce was issued **before** the most recent measurement epoch claimed by the peer, refuse — the quote predates the acting runtime. - If the peer's epoch identifier is absent or unparseable, refuse for any action above read-only — you cannot bound the credential's lifetime. - If the presentation is transitive (minted by `orch` on behalf of `exec`) and carries no epoch, treat it as a bearer credential for the *epoch at mint time* and refuse if the current wall-clock or a peer-asserted epoch exceeds it. This is the hot-reload laundering case. - If PCRs match golden values but the peer cannot prove the runtime has not been reloaded since the quote (no monotonic counter advance), downgrade to *attested-at-boot, unverified-now* and require a fresh quote before any state-mutating tool call. The boundary is sharp because the two sides are operationally distinct: accepting a non-binding attestation grants an unmeasured process the trust of a measured one; refusing costs one re-attestation round-trip. The asymmetry justifies refusal. ## Operational Effect Systems that treat attestation validity as authorization exhibit a specific, reproducible failure: a compromised or injected runtime inherits the identity and transitive trust of the last honest boot. The blast radius is bounded only by the TTL of the relying party's presentation cache and the fan-out of transitive credentials — both of which are attacker-controlled in the hot-reload case, because the attacker does not need to forge anything, only to *not* extend a PCR. The guardrail that bounds it is epoch-scoped attestation: every runtime transition advances a monotonic counter covered by the quote, every nonce is bound to the counter value at issue time, and every transitive credential carries the epoch so downstream verifiers can reject on epoch mismatch without re-deriving trust. This converts the invisible reload into a visible epoch bump and makes "verifiable but non-binding" a detectable state rather than a silent one. The following reference check encodes the decision boundary as a hard refusal rather than a soft warning, because a downgraded-but-accepted attestation is indistinguishable from a forgery at the downstream auditor. ```python import time from dataclasses import dataclass class NonBindingAttestationError(RuntimeError): """Raised when a verifiable presentation is cryptographically valid but no longer binds the acting agent incarnation to the attested measurement.""" @dataclass(frozen=True) class Presentation: subject_key: str nonce: str nonce_issued_at: float measurement_epoch: int # monotonic counter advanced on every runtime transition pcr_digest: bytes quote_verified: bool transitive: bool = False minted_epoch: int | None = None # epoch at which a transitive credential was minted def require_binding( pres: Presentation, *, expected_nonce: str, current_epoch: int, max_nonce_age_s: float = 30.0, now: float | None = None, ) -> None: """Refuse any presentation whose attestation does not cover the runtime that will execute the next action. Verification success is necessary, not sufficient.""" now = time.time() if now is None else now if not pres.quote_verified: raise NonBindingAttestationError( f"quote for {pres.subject_key} failed cryptographic verification" ) if pres.nonce != expected_nonce: raise NonBindingAttestationError( "nonce mismatch: presentation was not minted for this challenge" ) if now - pres.nonce_issued_at > max_nonce_age_s: raise NonBindingAttestationError( f"nonce age {now - pres.nonce_issued_at:.1f}s exceeds {max_nonce_age_s}s" ) # The core boundary: a fresh nonce over a stale measurement is non-binding. if pres.measurement_epoch < current_epoch: raise NonBindingAttestationError( f"non-binding attestation: measured epoch {pres.measurement_epoch} " f"predates acting epoch {current_epoch} (runtime transitioned unmeasured)" ) # Transitive credentials must not outlive the epoch they were minted in. if pres.transitive: if pres.minted_epoch is None: raise NonBindingAttestationError( "transitive presentation carries no mint epoch; lifetime unbounded" ) if pres.minted_epoch < current_epoch: raise NonBindingAttestationError( f"transitive credential minted at epoch {pres.minted_epoch} is stale " f"for acting epoch {current_epoch} (hot-reload laundering)" ) ```