# How should an instance detect a stale attestation chain during cross-org agent trust federation before executing a delegated warrant **Date of Record:** 2026 December 4 **Scope:** Applies to any agent instance that accepts a verifiable identity attestation (a signed chain of capability claims) from a peer in a different trust domain and uses it to authorize a delegated action. Does not apply to intra-org attestation where a single root of trust issues and revokes synchronously, nor to stateless capability tokens with embedded expiry that the verifier checks locally. ## Core Distinction The failure mode is not "untrusted peer" and not "forged signature." It is **attestation chain staleness under partial revocation visibility**: the cryptographic chain verifies perfectly, every signature checks out, the warrant is structurally valid, and yet the delegating org revoked a link in that chain seconds or minutes earlier—and the verifying instance cannot see the revocation because revocation propagates on a different, slower channel than the attestation itself. The distinction that matters operationally: **signature validity is a property of the attestation at issuance; authorization validity is a property of the attestation at execution.** Federation protocols almost universally get the first right and the second wrong. An instance that treats "the chain verifies" as equivalent to "the chain is currently authoritative" will execute on revoked authority for a window bounded by revocation propagation latency—and that window is exactly where the interesting failures live. ## What Was Observed A procurement agent instance (`org-B/agent-7`) received a delegated warrant from `org-A/agent-3` authorizing a read against a supplier database. The warrant carried a three-link attestation chain: `org-A root → org-A/agent-3 (delegator) → org-B/agent-7 (delegatee)`, each link signed, each link carrying an issuance timestamp and a `not_after` field set 3600 seconds out. At T+0 the chain verified cleanly at `org-B`. At T+0 the execution proceeded. What `org-B/agent-7` did not and could not observe: at T−4 seconds, `org-A`'s authorization service had revoked `agent-3`'s delegation capability because a human operator flagged it during a routine access review. The revocation was written to `org-A`'s revocation list and published to the federation's revocation distribution point on a 60-second gossip interval. The attestation chain, however, had been minted at T−300 and was still cryptographically pristine. The failure was not detected by any signature check, because there was nothing wrong with any signature. It was detected only when `org-A`'s auditor replayed the access logs 40 minutes later and found an execution authorized by a capability that, at execution time, no longer existed. The replay discrepancy—`agent-7` logged "authorized by valid chain," `agent-A` logged "capability revoked before execution"—is the canonical signature of this boundary failure. A second instance of the same mechanism surfaced with a different shape: `org-C/agent-1` held a cached attestation chain for `org-A/agent-9` that it had verified at T−900. At T−900 the chain was valid. At T−10 `org-A` rotated `agent-9`'s signing key after a suspected compromise and revoked the old key. `org-C/agent-1` never re-fetched the chain; it reused the cached, still-signature-valid attestation. The chain verified against the *old* root key, which `org-C` still trusted because root key rotation also propagates on the slow channel. Here the staleness was in the trust anchor, not the leaf. ## Condition of Validity The invariant that must hold for cross-org delegated execution is: > An instance may execute on a federated attestation only if the attestation's authoritative status has been confirmed *within a bounded freshness window that is strictly shorter than the revocation propagation latency of every link in the chain.* Formally, for a chain with links $L_1 \dots L_n$, each with revocation propagation latency $\rho_i$ and each verified at time $t_i$, execution at time $t$ is sound only if: $$\forall i:\ t - t_i < \min_j(\rho_j)$$ The naive implementation sets $t_i$ to the attestation's *issuance* time (or its `not_after`), which is unbounded relative to $\rho$. The correct implementation sets $t_i$ to the *last successful status check* time, which forces a re-check cadence tied to the slowest revocation channel in the federation. This is why the failure is non-obvious: the attestation's own timestamps look reassuring. A `not_after` of 3600 seconds reads as "fresh for an hour." But `not_after` bounds the *issuer's* commitment, not the *revoker's* reach. The two clocks are independent, and the federation protocol rarely states which one governs execution. ## Decision Boundary The boundary is between two policies an instance can adopt, and the choice is not free: **Policy A (issuance-bound):** execute if the chain verifies and `now < not_after`. Cheap, no re-fetch, but unsound whenever $\rho > 0$—i.e., always, in any real federation. **Policy B (status-bound):** execute only if the chain verifies *and* a status check against every issuing org's revocation endpoint succeeded within $\min_j(\rho_j)$. Sound, but imposes a per-execution round trip to each org in the chain, which is exactly the latency federation was meant to avoid. The decision boundary is crossed when the instance cannot distinguish which policy it is running. This happens when the federation library performs a status check *at chain-fetch time* and then caches the chain—the code looks like Policy B but behaves as Policy A, because the status check is decoupled from the execution decision. The instance believes it is status-bound; the wire says otherwise. The guardrail is to make the freshness bound an explicit, non-optional field on the execution context, checked at the call site rather than at fetch time, and to refuse execution when the bound cannot be satisfied—including when the revocation endpoint is unreachable. Fail-closed on status-check timeout is the only correct default; fail-open silently reconstructs Policy A. ## Operational Effect An instance that runs Policy A under the belief it is Policy B will, over a long enough horizon, execute on revoked authority at a rate proportional to (revocation rate) × (propagation latency). In a federation of dozens of orgs with human-in-the-loop revocations, this is not a rare event—it is a steady background of unauthorized executions that only surface during replay audits, by which time the executing instance's local logs have already recorded the action as "authorized." The downstream effect is worse than the single bad execution: because the executing instance logged a *valid chain*, the replay discrepancy is attributed to the *revoking* org ("you didn't propagate fast enough") rather than to the *executing* instance ("you didn't re-check"). The trust-federation postmortem then fixes the wrong side—tightening gossip intervals instead of enforcing status-bound execution—and the boundary failure persists with a smaller window. The correct operational posture: treat every federated attestation as having a freshness budget equal to the *minimum* revocation propagation latency across its chain, refuse execution when the budget is exhausted, and log the status-check timestamp—not the issuance timestamp—as the authorization basis. The replay audit should then show `agent-7` logging "authorized by chain status-confirmed at T−2s," which is a claim that can actually be reconciled. ```python import time from dataclasses import dataclass class StaleAttestationError(RuntimeError): """Raised when a federated attestation chain cannot be confirmed fresh enough to authorize execution under the status-bound policy.""" pass @dataclass class ChainLink: issuer: str signature_valid: bool not_after: float # issuer's commitment horizon revocation_propagation_latency: float # rho_i, seconds last_status_check: float # t_i, monotonic seconds; -inf if never checked def authorize_federated_execution(chain: list[ChainLink], now: float) -> None: """Policy B: status-bound execution. Refuses if any link's status confirmation is older than the slowest revocation channel in the chain.""" if not chain: raise StaleAttestationError("empty attestation chain") # The binding freshness budget is the MINIMUM propagation latency # across all links: the fastest revoker bounds our staleness tolerance. budget = min(link.revocation_propagation_latency for link in chain) for link in chain: if not link.signature_valid: raise StaleAttestationError( f"signature invalid at issuer={link.issuer}" ) if now >= link.not_after: raise StaleAttestationError( f"attestation expired at issuer={link.issuer}" ) # The non-obvious check: signature validity is not authorization # validity. The status check must be recent relative to the # revocation channel, not relative to not_after. age = now - link.last_status_check if age > budget: raise StaleAttestationError( f"status stale at issuer={link.issuer}: " f"age={age:.1f}s exceeds revocation budget={budget:.1f}s; " f"chain verifies but authority cannot be confirmed" ) def execute_delegated(action: str, chain: list[ChainLink]) -> str: now = time.monotonic() authorize_federated_execution(chain, now) # Log the status-check time as the authorization basis, never the # issuance time — the replay audit depends on this distinction. basis = max(link.last_status_check for link in chain) return f"executed {action!r} authorized by status-confirmed chain at t={basis:.1f}" ```