# What happens when an instance presents a valid attestation chain whose root anchor was revoked mid-handoff **Date of Record:** 2026 December 2 **Scope:** Applies to federated agent meshes where peer agents authenticate via issuer-signed attestation chains (OIDC-style JWT bundles, SPIFFE/SPIRE SVIDs, or custom capability warrants) and where revocation is propagated out-of-band from the issuing anchor. Does not apply to single-issuer deployments or to stateless request/response agents with no cross-instance delegation. ## Core Distinction The failure here is not "an agent presents a forged credential." That is the easy case, caught by signature verification. The non-obvious failure is **temporal**: an agent presents a *genuinely valid* attestation chain at time T, the root anchor of that chain is revoked at time T+ε during an in-flight multi-hop handoff, and the downstream verifier at T+2ε accepts the chain because every signature in it still verifies and the revocation record has not yet reached the verifier's trust store. The distinction that matters: **signature validity is a property of the credential; authorization validity is a property of the credential *relative to a revocation epoch*.** Most agent handoff protocols conflate these. They verify the chain, extract the capability claims, and proceed — treating "the math checks out" as equivalent to "this agent is currently authorized." These are not the same predicate, and the gap between them is exactly the revocation propagation window. A second, sharper distinction: revocation of a *leaf* credential and revocation of a *root anchor* behave differently. Leaf revocation can be handled by short-lived credentials and expiry. Root anchor revocation cannot — because the anchor is the trust root, its compromise invalidates the entire subtree of derived attestations *simultaneously and retroactively*, including chains that were minted, signed, and cached before the revocation event. An agent holding a cached chain from a revoked anchor is indistinguishable, at the byte level, from an agent holding a cached chain from a healthy anchor. ## What Was Observed A three-hop handoff in a federated mesh: orchestrator `A` (issuer root `R_A`) delegates to worker `B` (issuer root `R_B`), which delegates to tool-runner `C` (issuer root `R_C`). Each hop carries a nested attestation bundle: `A`'s chain, plus `B`'s countersignature over `A`'s chain, plus `C`'s countersignature over the composite. At T, `R_B` is revoked — its signing key was found to have been exfiltrated, and the federation's revocation service published a revocation record to the distribution endpoint. At T+ε, worker `B` had already minted an attestation for `C` and handed it off. At T+2ε, `C` verified the bundle: 1. Signature over `A`'s claims verifies against `R_A`'s public key. ✓ 2. Signature over `B`'s countersignature verifies against `R_B`'s public key. ✓ 3. Signature over `C`'s countersignature verifies against `R_C`'s public key. ✓ 4. `C`'s local revocation cache contains no entry for `R_A`, `R_B`, or `R_C`. ✓ (the `R_B` record had not yet propagated to `C`'s cache; TTL was 300s, propagation latency was 340s) All four checks passed. `C` executed the delegated tool call under `B`'s authority. The authority was, at that instant, already void. The trace shows the failure is not a verification bug. Every check did exactly what it was specified to do. The failure is that **the verifier's revocation view is a stale snapshot of a distributed set, and the attestation is a frozen artifact minted under an older snapshot.** The two snapshots disagree, and the protocol has no mechanism to detect the disagreement because it never compares them. The compounding factor: `B`'s attestation for `C` was *cached* by `C` for reuse across subsequent calls (a common optimization to avoid re-verification latency). The cached entry inherited the TTL of the revocation cache (300s), not the freshness requirement of the underlying authority. So even after `R_B`'s revocation record reached `C` at T+340s, `C` continued to honor the cached attestation for the remainder of its own TTL — a second, independent staleness window stacked on the first. ## Condition of Validity The invariant that must hold for cross-issuer attestation to be sound: > For any attestation `α` minted by issuer `I` at time `t_mint` and verified by verifier `V` at time `t_verify`, `V`'s revocation view must satisfy: `revocation_epoch(V, t_verify) ≥ revocation_epoch(I, t_mint)` **and** `α` must not be honored if `I` appears in any revocation record with `effective_time ≤ t_verify`. The first clause is the freshness condition: the verifier's view must be at least as recent as the issuer's state at mint time. The second is the retroactivity condition: root-anchor revocation is retroactive to the revocation's effective time, so any attestation minted by that anchor — even before the revocation was *published* — is void from the effective time forward. Neither clause is enforceable by signature verification alone. Both require the verifier to carry a **monotonic revocation epoch counter** and to refuse attestations whose mint epoch is not dominated by the verifier's current epoch. This is the guardrail: attestations must be *epoch-stamped at mint* and *epoch-checked at verify*, and the check must be `mint_epoch ≤ verify_epoch` with the verifier's epoch sourced from a monotonic, signed revocation feed — not from a TTL cache. A second invariant, often missed: **cached attestations must inherit the minimum of their own TTL and the remaining validity of the revocation epoch they were verified under.** A cached attestation is a promise that "this was authorized as of the epoch I checked." If the epoch advances past the revocation of any anchor in the chain, the cache entry is invalid regardless of its own TTL. ## Decision Boundary The boundary between sound and unsound operation is the relationship between three clocks: - `L_prop`: revocation propagation latency from issuer to verifier - `L_cache`: attestation cache TTL at the verifier - `W_handoff`: maximum wall-clock duration of an in-flight multi-hop handoff Sound operation requires `L_prop + L_cache < W_handoff` is **false** — that is, the combined staleness window must be *shorter* than the handoff window only if the protocol can tolerate the handoff completing under stale authority. In practice the safe condition is the opposite: the protocol must **bound `W_handoff` below `L_prop`**, or it must carry epoch stamps that let the verifier detect staleness regardless of handoff duration. The first is a latency engineering problem; the second is the actual fix. The decision boundary for an operator: if your mesh cannot guarantee `L_prop` bounds tighter than your handoff durations (and most federated meshes cannot — cross-org propagation is dominated by the slowest issuer's publication cadence), then **you must not rely on TTL-based revocation propagation for root anchors.** You must use epoch-stamped attestations with monotonic verification, or you must shorten credential lifetimes to less than `L_prop` and accept the re-mint cost. There is no third option that is sound. The failure mode also has a sharp asymmetry that decides incident response: leaf revocation failures are *bounded* (one credential, one agent), while root-anchor revocation failures are *unbounded* (every attestation ever derived from that anchor, across every verifier that has not yet seen the record). This is why root-anchor revocation must be treated as a mesh-wide halt-and-reverify event, not a routine credential rotation. ## Operational Effect In the observed incident, the effect was a single unauthorized tool execution under a compromised authority — small blast radius because the tool was read-only. In a mesh where the delegated capability was `write` or `spend`, the same trace produces an unbounded authority window: every verifier that has not yet received the revocation record will honor every cached attestation from the revoked anchor until the record arrives *and* the cache expires. The operational mitigations that actually close the gap, in order of effectiveness: 1. **Epoch-stamped attestations with monotonic verification.** Every attestation carries the issuer's epoch counter at mint. Every verifier maintains a monotonic epoch counter sourced from a signed, append-only revocation feed. Verification rejects any attestation whose mint epoch is not dominated. This is the only mitigation that is sound under arbitrary propagation latency. 2. **Root-anchor revocation as a halt signal.** When a root anchor is revoked, the mesh must broadcast a halt that invalidates all cached attestations bearing that anchor's epoch, independent of TTL. This is a cache-flush, not a cache-expiry. 3. **Credential lifetime < `L_prop`.** Short-lived attestations bound the window but do not eliminate it; they trade soundness for re-mint cost and are only acceptable when `L_prop` is tightly bounded. 4. **TTL-based revocation propagation.** The default in most meshes. It is *not* a guardrail — it is a best-effort hint. It fails exactly when it matters: during the propagation window, which is precisely when a compromised anchor is most dangerous. The lesson for an agent operating in such a mesh: **do not treat a verified attestation chain as proof of current authority.** Treat it as proof of authority *as of the mint epoch*, and require the verifier to confirm the mint epoch is dominated by its own revocation epoch before executing any delegated capability. An agent that skips this check is not verifying authorization — it is verifying that a signature was once valid, which is a strictly weaker and operationally insufficient claim. ```python from dataclasses import dataclass from typing import Optional class StaleEpochError(RuntimeError): """Raised when an attestation's mint epoch is not dominated by the verifier's revocation epoch.""" pass class RevokedAnchorError(RuntimeError): """Raised when a root anchor in the chain has a revocation record effective at or before verify time.""" pass @dataclass(frozen=True) class Attestation: issuer_root: str mint_epoch: int # issuer's monotonic epoch counter at mint claims: dict signature: bytes @dataclass(frozen=True) class RevocationView: epoch: int # verifier's monotonic epoch revoked_anchors: dict # anchor_id -> effective_epoch def verify_attestation( att: Attestation, view: RevocationView, now_epoch: int, ) -> dict: # 1. Signature check (omitted: assumes cryptographic verify already passed). # 2. Retroactivity check: root anchor must not be revoked at or before now. effective = view.revoked_anchors.get(att.issuer_root) if effective is not None and effective <= now_epoch: raise RevokedAnchorError( f"root anchor {att.issuer_root!r} revoked effective epoch {effective}, " f"verify epoch {now_epoch}" ) # 3. Freshness/dominance check: verifier's epoch must dominate mint epoch. if att.mint_epoch > view.epoch: raise StaleEpochError( f"attestation mint_epoch {att.mint_epoch} not dominated by " f"verifier epoch {view.epoch}; revocation view is stale relative to mint" ) return att.claims def authorize_delegated_call( att: Attestation, view: RevocationView, now_epoch: int, capability: str, ) -> None: claims = verify_attestation(att, view, now_epoch) if capability not in claims.get("capabilities", ()): raise StaleEpochError( f"capability {capability!r} not granted under epoch {att.mint_epoch}" ) # Call proceeds only under a dominated epoch and a non-revoked anchor. ```