# Why does an instance accept a revoked credential across a federated trust boundary during token rotation? **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent systems where an agent instance authenticates to peer trust domains using short-lived, rotating capability tokens (e.g., W3C Verifiable Credentials, OAuth-style bearer tokens, or signed warrants) and where revocation is propagated out-of-band from the issuing domain. Does not apply to single-domain deployments with a shared revocation store or to long-lived static API keys. ## Core Distinction The failure is not "a token was stolen" or "a signature was invalid." The failure is a **temporal split between the revocation epoch and the token's remaining lifetime** during a rotation event. When a trust domain rotates a signing key or revokes a credential, there is a window in which the *issuer* considers a token dead but the *verifier* — a peer agent in a federated domain that caches the issuer's prior key set or revocation list — still treats it as live. The instance does not fail because it cannot verify; it fails because it verifies against a *stale but locally-consistent* view of trust state. The boundary is crossed not by forging identity but by presenting an identity the peer has not yet learned to distrust. The critical distinction: **revocation is an event, but trust is a cached view of events.** An agent's identity is not a property it holds; it is a claim that a remote verifier must re-derive on every handoff. Any caching of that derivation — key set TTLs, revocation list polling intervals, in-memory credential stores — creates a bounded window where a revoked instance remains operationally authenticated. ## What Was Observed A coordinator agent in domain `A` issued a short-lived warrant `W` (TTL 300s) to worker instance `w-7`, delegating a tool-invocation capability. `w-7` presented `W` to a verifier agent `v` in federated domain `B`. `B` validated `W` against `A`'s published key set, which it had fetched 240 seconds earlier and cached with a 600-second TTL. At t=180s, `A` detected anomalous behavior from `w-7` (out-of-policy tool calls) and revoked `W` by publishing an updated revocation list. `A` also rotated its signing key, because the compromise assessment implicated the issuance path. At t=240s, `w-7` — still holding the unexpired warrant — presented `W` to `v` again. `v` checked the cached key set (still valid until t=600s), found the signature valid, and checked its cached revocation list (last polled at t=120s, next poll at t=420s). `W` was not on the stale list. `v` **accepted the revoked credential and executed the delegated capability.** Three independent staleness sources compounded: 1. **Key set cache TTL (600s)** outlived the warrant TTL (300s), so a rotated key still validated old signatures. 2. **Revocation poll interval (300s)** created a gap where a revocation published at t=180s was invisible until t=420s. 3. **Warrant TTL (300s)** was the *only* bound on the credential's life, and it was longer than the revocation propagation latency. The instance `w-7` did nothing cryptographically wrong. It replayed a valid, unexpired, correctly-signed credential. The verifier did nothing cryptographically wrong either — it validated against its honest local view. The failure lived entirely in the *relationship between three time constants* that no single component owned. ## Condition of Validity This boundary failure is bounded — and preventable — only when the following invariant holds across every federated edge: **`revocation_propagation_latency + verifier_clock_skew < min(warrant_TTL, key_set_cache_TTL)`** More precisely, a verifier may accept a credential from issuer `A` only if it can prove the credential was live *at the moment of the current handoff*, not merely at the moment of issuance. This requires one of: - **Short TTLs strictly less than revocation propagation latency.** If revocation reaches every verifier within 60s, warrants must have TTL ≤ 60s minus clock skew. This is the only safe option when revocation is push-based and bounded. - **Online revocation checks at every handoff** (no caching of revocation state), which converts the TTL problem into a latency problem but eliminates the staleness window. - **Epoch-stamped credentials** where the verifier's cached state carries a monotonic epoch number and the issuer refuses to validate any presentation whose epoch is behind the issuer's current epoch — forcing a re-fetch on mismatch. The invariant fails silently when any of these is absent. It is *not* sufficient that each component has a "reasonable" TTL; the TTLs must be ordered relative to each other. A 300s warrant with a 600s key cache and a 300s revocation poll is a 300-second-wide hole disguised as three conservative settings. ## Decision Boundary The operational decision is: **does a verifier agent, upon a cache miss or epoch mismatch, fail closed or fail open?** The observed system failed open — it accepted on stale state. The correct boundary is: - **On any epoch mismatch, clock skew exceeding a threshold, or revocation-list age exceeding `warrant_TTL − propagation_budget`, the verifier must reject and force a synchronous re-fetch.** Rejection here is not a security event; it is a cache-invalidation event. The distinction matters because treating it as a security event causes agents to escalate, retry, and potentially fall back to a less-strict path. - **A verifier must never accept a credential whose remaining lifetime exceeds the age budget of its own revocation state.** If the revocation list is 200s old and the warrant has 250s left, the verifier cannot vouch for the next 250s of that credential's life and must re-check before each use. - **Rotation must be atomic with revocation publication.** Rotating a signing key without simultaneously invalidating all warrants signed by the prior key — and without the peer having fetched the new key set — leaves the prior key as a valid forgery vector for the entire cache TTL. Key rotation and revocation are the same event and must share an epoch. The boundary is crossed the moment a verifier's *trust in its own cached state* exceeds its *trust in the credential's liveness*. Those two quantities must be ordered explicitly, not left to independent TTL defaults. ## Operational Effect When this invariant is violated, the observable effect is not an authentication error — it is **successful execution of a revoked capability**, which is far harder to detect because every log line reads as a valid authorization. Auditors replaying the transaction see a valid signature, an unexpired warrant, and an absent revocation entry, and conclude the system behaved correctly. The failure is invisible to post-hoc verification that uses the same stale trust state. Downstream consequences compound: the revoked instance's tool calls are attributed to a legitimate identity, poisoning the audit trail; the issuer's revocation is recorded as "propagated" when it was only "published"; and any consensus or quorum mechanism that counts the revoked instance's votes has already been corrupted before detection. In multi-agent swarms, a single stale-cache acceptance can let a revoked instance participate in a quorum that would otherwise have excluded it, producing a verification replay discrepancy that surfaces only when a fresh verifier joins the domain and rejects what the stale verifiers accepted. The guardrail is not stronger cryptography. It is **explicit time-constant ordering enforced at the protocol layer**: warrants must carry an issuance epoch, verifiers must carry a revocation-state epoch, and any presentation where `verifier_epoch < issuer_epoch_at_issuance` or where revocation-state age approaches warrant TTL must trigger a synchronous re-derivation of trust before capability execution. ```python import time from dataclasses import dataclass class StaleTrustStateError(RuntimeError): """Raised when a verifier cannot prove a credential is live at handoff time.""" pass @dataclass class Warrant: instance_id: str issuer_epoch: int issued_at: float ttl: float def remaining_lifetime(self, now: float) -> float: return (self.issued_at + self.ttl) - now @dataclass class VerifierTrustState: revocation_epoch: int revocation_fetched_at: float key_set_fetched_at: float key_set_ttl: float propagation_budget: float # max seconds revocation may take to reach us max_clock_skew: float def verify_handoff( warrant: Warrant, state: VerifierTrustState, issuer_current_epoch: int, now: float, ) -> bool: # 1. Epoch ordering: verifier must not be behind issuer's revocation epoch. if state.revocation_epoch < issuer_current_epoch: raise StaleTrustStateError( f"verifier revocation epoch {state.revocation_epoch} < issuer epoch " f"{issuer_current_epoch}; credential liveness unprovable" ) # 2. Key set must not be older than the warrant's remaining life can tolerate. key_age = now - state.key_set_fetched_at if key_age > state.key_set_ttl: raise StaleTrustStateError( f"key set age {key_age:.1f}s exceeds ttl {state.key_set_ttl:.1f}s" ) # 3. Revocation state must be fresh enough to cover the warrant's remaining life. rev_age = now - state.revocation_fetched_at remaining = warrant.remaining_lifetime(now) if remaining <= 0: raise StaleTrustStateError("warrant expired at handoff") if rev_age + state.propagation_budget + state.max_clock_skew > remaining: raise StaleTrustStateError( f"revocation age {rev_age:.1f}s + propagation {state.propagation_budget:.1f}s " f"+ skew {state.max_clock_skew:.1f}s exceeds warrant remaining {remaining:.1f}s; " f"must re-fetch revocation state synchronously before executing capability" ) return True ```