# Why does an instance accept a federated agent attestation chain whose root anchor rotated mid-handoff? **Date of Record:** 2026 November 24 **Scope:** Applies to cross-organization agent federations where peer agents present verifiable attestation chains (signed capability warrants) rooted at a foreign trust anchor, and where that anchor may rotate, revoke, or re-key between the moment a chain is issued and the moment a downstream agent verifies it. Does not apply to single-org deployments with a static, co-located trust root, nor to pure bearer-token schemes with no chained provenance. ## Core Distinction The failure is not "signature verification failed." It is the subtler case where **every signature in the chain verifies against the key material the verifier holds, yet the chain is no longer valid**, because the verifier resolved the root anchor at *verification time* while the chain was authored against the anchor state at *issuance time*. In a federation, the root anchor is a moving target: the issuing org periodically rotates its root key, publishes a new anchor document, and retains an overlap window during which both old and new roots are "live." An attestation chain minted under root $K_{old}$ arrives at a downstream agent that has already refreshed its anchor cache to $K_{new}$. Two things can then happen, and only one of them is caught by conventional signature checks: 1. **Hard mismatch** — the chain's root signature does not verify under $K_{new}$. This is loud, and the handoff aborts. Safe. 2. **Soft mismatch (the boundary)** — the downstream agent's anchor cache still contains *both* $K_{old}$ and $K_{new}$ (the overlap window), so the chain verifies under $K_{old}$. The verifier accepts the chain and proceeds — but $K_{old}$ was scheduled for revocation precisely because it was compromised or superseded. The chain is cryptographically intact and operationally dead. The verifier has no signal that it just validated against a key the issuer intends to retire. The invariant that must hold: **an attestation chain is valid only if its root anchor was in an "active, non-superseded" state at both issuance and verification, and the verifier can prove the issuance-time state.** A verifier that only checks "does some held key verify this chain" violates this invariant silently during every rotation overlap. ## What Was Observed A three-party federation: Org A (issuer of capability warrants), Org B (an orchestrator agent that receives A's warrants and re-delegates to its own sub-agents), Org C (a downstream executor agent). A's root anchor rotates on a 30-day cycle with a 72-hour overlap. The anchor document is fetched by B and C over an MCP-style resource endpoint and cached with a TTL of 6 hours. Trace of the failing handoff: - `t0`: Org A mints a warrant chain for agent `a-researcher`, rooted at $K_{old}$, valid 48h. It is passed to B. - `t0+40h`: A rotates its root. $K_{new}$ is published; $K_{old}$ enters a 72h overlap, then is marked `revoked` in the anchor document's `superseded_at` field. - `t0+41h`: B's anchor cache expires and refreshes. B's cache now holds $K_{new}$ as active and $K_{old}$ as `superseded_at = t0+40h`. B's verification logic checks signatures against *any* held key and does not inspect `superseded_at`. The chain verifies under $K_{old}$. B accepts and re-delegates, **re-signing a sub-warrant under its own key but carrying forward the original root chain as a provenance blob.** - `t0+44h`: C receives the re-delegated chain. C's cache is stale (refreshed at `t0+38h`) and still lists $K_{old}$ as active with no `superseded_at`. C verifies the entire chain, including the A-rooted segment, and executes the tool call. The warrant was valid at issuance. The actions it authorized were executed at `t0+44h`, **four hours after the root that backs it was superseded**. Neither B nor C emitted a warning. The audit log recorded `attestation_verified: true` at both hops. The failure was discovered only when a post-hoc auditor replayed the chain against the *current* anchor document and found the root had been superseded before execution. The non-obvious part: **the re-delegation by B laundered the staleness.** B's own signature on the sub-warrant was fresh and valid under B's never-rotated key. C, if it had only checked B's signature, would have been correct to accept. The stale root was buried two hops up the provenance blob, and C's verification of that blob used a cache that predated the rotation. The chain of custody was intact; the chain of *freshness* was not. ## Condition of Validity The guardrail is a **time-bounded anchor-state proof**, not merely a signature check. Concretely, a chain is acceptable at verification time $t_v$ only if: 1. The verifier holds an anchor document whose `fetched_at` is within the issuer's stated `anchor_freshness_bound` (e.g., 15 min), not a generic cache TTL. 2. For the root key $K_r$ used to verify the chain, the anchor document asserts $K_r$ was `active` at the chain's `issued_at` **and** that `superseded_at` (if present) is $> t_v$ — i.e., the key has not been retired *before* this verification. 3. The verifier re-verifies the *entire* provenance blob, not just the immediate delegator's signature, and applies rules 1–2 to every root encountered in the blob. 4. If the anchor cannot be refreshed to within the freshness bound (network partition, endpoint down), the verifier **fails closed** — it does not fall back to the cached anchor for authorization decisions, only for liveness probing. The key insight is that `superseded_at` is a *verifier-side* fact that the issuer cannot retroactively embed in a chain it already signed. The chain itself cannot carry its own future revocation. Therefore the freshness of the anchor document, and the verifier's willingness to consult the `superseded_at` field at decision time, are the load-bearing elements. A verifier that treats the anchor as a static key set (the common implementation) has no mechanism to observe the boundary at all. ## Decision Boundary The boundary between "accept" and "reject" is **not** the signature check. It is the comparison: ``` reject if anchor.fetched_at < now - anchor_freshness_bound or root.superseded_at <= now (for any root in the blob) or root.issued_at_window does not contain chain.issued_at ``` A chain that passes signatures but fails any of these three is in the soft-mismatch zone and must be rejected with a *distinct* error class — not a generic `SignatureError`, because operators conflate the two and "fix" the latter by loosening key trust, which makes the former worse. The distinct class also lets the orchestrator (B) know that the correct recovery is to ask A to re-mint under $K_{new}$, not to retry the same chain. A second boundary worth naming: **the overlap window is a trap, not a grace period.** Operators configure overlap "so in-flight chains don't break." But in-flight chains *should* break if they were minted under a key being retired for compromise. The overlap is only safe for chains whose `issued_at` is *after* the rotation and which are explicitly dual-signed. Treating the overlap as blanket acceptance is the configuration error that makes the soft mismatch reachable in production. ## Operational Effect When the invariant is enforced, the observable behavior changes in three places: - **Handoff latency:** every cross-org hop now carries an anchor-freshness check with a bounded staleness window. Under normal operation this is a cached read; under partition it fails closed, which surfaces as a *recoverable* handoff abort rather than a silent acceptance. Agents must be written to handle `AttestationStaleError` by re-fetching the anchor, not by proceeding. - **Re-delegation semantics:** a delegating agent (B) may no longer forward a foreign-rooted provenance blob without either (a) re-verifying the full blob against a fresh anchor at forward time, or (b) marking the forwarded segment as `provenance_only` so the downstream executor knows it must independently re-verify. Option (b) is the honest one when B cannot reach A's anchor endpoint. - **Audit replay:** post-hoc auditors must replay against the anchor document *as of the verification timestamp*, which means anchor documents must be append-only and versioned with `fetched_at` and `superseded_at` history. Without this, replay cannot distinguish "accepted under a then-active key" from "accepted under a since-revoked key," and the soft mismatch is invisible to forensics forever. The deeper lesson: in a federation, trust is not a key, it is a *key plus a timestamp plus a freshness proof*. Any verifier that collapses that triple into "does this signature verify" has silently assumed a static trust root — an assumption that holds in single-org deployments and fails at exactly the rotation boundary that cross-org federation makes routine. ```python import time from dataclasses import dataclass class AttestationStaleError(RuntimeError): """Raised when a chain verifies cryptographically but its root anchor was superseded or too stale to authorize execution at verification time.""" pass @dataclass class RootKeyState: key_id: str active_from: float superseded_at: float | None # None => still active @dataclass class AnchorDocument: fetched_at: float roots: dict[str, RootKeyState] @dataclass class AttestationChain: issued_at: float root_key_id: str provenance_blob: list["AttestationChain"] # foreign-rooted segments carried forward ANCHOR_FRESHNESS_BOUND = 15 * 60 # seconds def verify_chain(chain: AttestationChain, anchor: AnchorDocument, now: float) -> None: # 1. Anchor must be fresh enough to make an authorization decision. if anchor.fetched_at < now - ANCHOR_FRESHNESS_BOUND: raise AttestationStaleError( f"anchor fetched_at={anchor.fetched_at} exceeds freshness bound; " f"cannot authorize at now={now}" ) # 2. Root used for this chain must be active at issuance AND not superseded before now. root = anchor.roots.get(chain.root_key_id) if root is None: raise AttestationStaleError( f"root {chain.root_key_id} absent from fresh anchor document" ) if chain.issued_at < root.active_from: raise AttestationStaleError( f"chain issued_at={chain.issued_at} predates root activation" ) if root.superseded_at is not None and root.superseded_at <= now: raise AttestationStaleError( f"root {root.key_id} superseded at {root.superseded_at} " f"but chain verified at {now} (soft-mismatch zone)" ) # 3. Recurse into forwarded provenance blobs — do not trust the delegator's # fresh signature as a substitute for the upstream root's freshness. for segment in chain.provenance_blob: verify_chain(segment, anchor, now) def handle_cross_org_handoff(chain: AttestationChain, anchor: AnchorDocument) -> str: try: verify_chain(chain, anchor, now=time.time()) except AttestationStaleError as exc: # Fail closed: do not execute; request re-mint under the active root. raise AttestationStaleError( f"handoff aborted, re-mint required under active root: {exc}" ) from exc return "executed" ```