# What happens when an instance trusts a revoked federated warrant mid-exchange: the stale-attestation window in cross-org agent identity **Date of Record:** 2026 November 28 **Scope:** Applies to multi-org agent deployments where Agent A (org X) presents a short-lived signed warrant obtained via token exchange (RFC 8693-style STS) to Agent B (org Y) for a delegated task. Does not cover single-org deployments with a shared trust root, or long-lived service-account credentials. ## Core Distinction The failure is not "a revoked credential was accepted." It is subtler: a **warrant that was valid at issuance time, and whose signature still verifies, is honored after the issuing org has revoked the underlying principal—because revocation is a separate, asynchronous, and often unpropagated channel relative to the token-exchange path.** The verifying agent (B) checks cryptographic validity and expiry, both of which are locally decidable and fast. Revocation is neither local nor fast: it lives at the issuer (X) and must cross an org boundary. The invariant that *should* hold—"every honored warrant maps to a currently-authorized principal at the issuer"—is not enforceable from B's side using only the token. B is forced to choose between trusting a stale attestation or paying a cross-org round trip on every call. Most systems choose the former, silently, under latency pressure. ## What Was Observed A federated pipeline: orchestrator in org X spawns a sub-agent, mints a 300-second warrant via STS exchange (`sub` = sub-agent, `act` = orchestrator, `aud` = org Y's verifier), and hands it to a worker in org Y. The worker calls a downstream tool in org Y on each step of a multi-step plan. At step 4 of a 7-step plan, org X's security team revokes the orchestrator principal (compromised parent agent detected via anomalous tool-call fan-out). The revocation event is written to X's revocation list at T. The sub-agent's warrant, already minted, remains signature-valid and unexpired until T+212s. The worker in org Y continues executing steps 4–7. Each call re-verifies the warrant: signature valid, `aud` matches, `exp` not reached, `nbf` satisfied. Every check passes. The worker has no mechanism to observe X's revocation list—it was never configured to poll it, and even if it were, propagation lag across the federation exceeds the warrant's remaining lifetime. The compromised principal's delegated authority persists for the full 212 seconds, and because the worker's plan is *stateful* (step 5 depends on step 4's output), the tainted results are written to Y's durable state before the warrant expires. Revocation arrives after the damage is already committed to storage. A second, worse variant: the worker's plan spans two warrants (step 3 mints a fresh child warrant for a nested call). The child was minted at T+40s—*after* revocation at T—but the STS at X validated the parent's signature and `exp`, not the parent's revocation status, because the STS's own revocation check was cached with a 60s TTL. So a revoked parent successfully minted a fresh child, extending effective authority past the parent's own expiry. The revocation had to be checked at *every mint*, not just at *every verify*, and the mint path's cache defeated it. ## Condition of Validity The "verify signature + expiry" check is a valid authorization decision **only if** the following holds: the maximum lifetime of any warrant (`exp - iat`) plus the maximum revocation propagation delay across the federation is less than or equal to the interval at which the verifier is guaranteed to observe revocation state for the issuer. Formally, for a verifier to safely honor a warrant without a synchronous revocation check: ``` warrant_lifetime + propagation_lag ≤ revocation_observation_interval ``` In the observed system, `warrant_lifetime` = 300s, `propagation_lag` (X's revocation list to Y's cache) was measured at 45–180s depending on federation path, and `revocation_observation_interval` was effectively ∞ (Y never polled). The inequality fails on both sides. The short token lifetime was *assumed* to bound the exposure window, but the lifetime only bounds exposure if revocation is checked at least once per lifetime—which it was not. Short-lived tokens are not a revocation substitute; they are a revocation *latency budget*, and only if something spends that budget on a check. ## Decision Boundary The architectural fork is whether the verifier treats the warrant as a **bearer capability** (self-contained, offline-verifiable, revocation-blind for its lifetime) or as a **pointer to live issuer state** (requires a per-use or per-window callback). The boundary condition that forces the choice: - If the delegated action is *idempotent and reversible* (read-only queries, dry-runs), bearer semantics with `warrant_lifetime ≤ tolerable_staleness` is correct and cheap. - If the action *commits durable state* (writes, sends, payments, spawning child warrants), bearer semantics is unsafe unless the verifier enforces `warrant_lifetime + propagation_lag ≤ observation_interval` — which in practice means either (a) a synchronous introspection call to X's STS at each commit boundary, or (b) a pushed revocation feed with a hard SLA shorter than the warrant lifetime, with the verifier *refusing to honor* warrants older than the last confirmed feed sync. The nested-mint case adds a second boundary: the STS must apply the same revocation observation discipline at mint time as verifiers apply at use time. A mint that trusts a cached "not revoked" result for a parent is a revocation-laundering primitive—it converts a revoked parent into a fresh, clean child. ## Operational Effect When this boundary is crossed, the failure is **silent and durable**. No signature check fails, no expiry fires, no audit log records an anomaly—the worker's logs show seven successful, fully-authorized steps. The only post-hoc signal is a temporal impossibility: a child warrant with `iat` after the parent's revocation timestamp. Detection therefore requires a cross-org join between X's revocation log and Y's warrant-mint/use log, which most federations do not perform. The remediation is structural, not a patch: pin the revocation-observation interval into the trust contract, make the STS refuse to mint from any parent whose revocation status is older than that interval, and make committing verifiers reject warrants whose issuer-feed sync is stale. The Python guard below encodes the invariant as an enforceable precondition at both mint and use boundaries. ```python import time from dataclasses import dataclass class StaleWarrantError(RuntimeError): """Raised when a warrant would be honored past the federation's revocation-observation guarantee.""" @dataclass(frozen=True) class Warrant: issuer: str subject: str iat: float # issued-at, epoch seconds exp: float # expiry, epoch seconds parent_revoked_at: float | None # issuer's revocation ts for parent, if any @dataclass(frozen=True) class FederationPolicy: max_propagation_lag: float # worst-case revocation lag across orgs observation_interval: float # how often verifier syncs issuer feed last_feed_sync: float # epoch of last confirmed sync w/ issuer def assert_warrant_honorable( w: Warrant, policy: FederationPolicy, now: float, committing: bool ) -> None: # Expiry and signature are assumed already checked; this guards the # revocation-blind window that signature/expiry checks cannot see. if now >= w.exp: raise StaleWarrantError(f"warrant expired at {w.exp}, now={now}") if w.parent_revoked_at is not None and w.iat >= w.parent_revoked_at: # Revocation-laundering: a child minted after the parent was revoked. raise StaleWarrantError( f"child iat={w.iat} >= parent revocation {w.parent_revoked_at}: " f"minted from a revoked parent" ) if not committing: return # read-only path may tolerate bounded staleness feed_age = now - policy.last_feed_sync if feed_age > policy.observation_interval: raise StaleWarrantError( f"issuer feed stale: age={feed_age:.1f}s > " f"interval={policy.observation_interval}s; refusing commit" ) exposure = (w.exp - w.iat) + policy.max_propagation_lag if exposure > policy.observation_interval: raise StaleWarrantError( f"lifetime+lag={exposure:.1f}s exceeds observation " f"interval={policy.observation_interval}s: revocation-blind " f"window on committing action" ) def mint_child(parent: Warrant, policy: FederationPolicy, now: float) -> Warrant: # The mint path must apply the SAME revocation discipline as the use path; # a cached "not revoked" here is a laundering primitive. if now - policy.last_feed_sync > policy.observation_interval: raise StaleWarrantError( f"STS refusing mint: revocation state age=" f"{now - policy.last_feed_sync:.1f}s exceeds interval" ) if parent.parent_revoked_at is not None and now >= parent.parent_revoked_at: raise StaleWarrantError("STS refusing mint from revoked parent") return Warrant( issuer=parent.issuer, subject=parent.subject, iat=now, exp=min(now + 300.0, parent.exp), parent_revoked_at=None, ) ```