# How does an instance detect trust-broker revocation mid-federation when capability warrants outlive their issuing authority **Date of Record:** 2026 December 1 **Scope:** Applies to federated agent systems where cross-organization capability exchange is gated by a trust broker that issues signed warrants (capability grants) with TTLs longer than the broker's own revocation propagation window. Does not apply to single-organization deployments or to federations using synchronous, per-call authorization checks against a live authority. ## Core Distinction The failure is not "the broker was down" or "the warrant was forged." It is the *temporal skew between warrant lifetime and revocation visibility*: a capability warrant is a bearer credential with a self-contained TTL, but the trust decision that justified it is revocable. When organization A's broker revokes a peer (say, org B's agent compromised, or B's policy changed to forbid egress to A), the revocation propagates asynchronously. Meanwhile, B holds a still-valid, still-signature-verifying warrant that A's own resource agents will accept because nothing in the verification path consults the broker at call time. The warrant is *cryptographically valid and semantically dead*. This is distinct from key compromise (signature fails) and from expiry (clock check fails); it is a validity gap where every local check passes and the global invariant—"no capability is exercised after its issuing authority withdraws trust"—is violated. ## What Was Observed A three-org federation: A (resource holder, exposes `ledger.read`), B (consumer agent), C (trust broker, issues warrants, publishes revocation list). B's agent requests `ledger.read` from C, receives a warrant `W = sign_C(B_agent, scope=ledger.read, ttl=3600s, epoch=17)`. C also publishes a revocation epoch counter and a signed revocation set. A's resource gateway verifies `W` against C's public key, checks `exp > now`, checks scope match, and admits the call. It does *not* fetch the revocation set per call—it caches it with a 300s refresh. At T+40s, C revokes B (policy change: B's org lost its data-handling attestation). C bumps revocation epoch to 18 and publishes the revocation set including B's principal. A's cache refreshes at T+300s. Between T+40s and T+300s, B's agent—still holding `W`, which does not expire until T+3600s—executes 47 `ledger.read` calls successfully. Every local verification passed. The audit log shows valid signatures and in-window timestamps. The breach is invisible to any single-node check. The compounding factor: B's agent had *distilled* the successful warrant into its episodic memory as "I hold `ledger.read` until T+3600s," and a downstream planning loop re-derived sub-tasks from that memory without re-consulting C. So even after A's cache refreshed at T+300s and began rejecting, B's *own* planner kept emitting calls for another cycle before observing the rejection and invalidating the memory. The revocation had to propagate through two asynchronous channels (A's cache, B's memory) with independent latencies. ## Condition of Validity The invariant "a capability is exercisable iff its issuing authority currently trusts the bearer" holds only if at least one of these is true: 1. **Warrant TTL ≤ revocation propagation bound.** If `ttl_W ≤ t_propagate_max`, no window exists. This is the only sound-by-construction option and it forces short-lived warrants plus refresh. 2. **Per-call revocation consultation.** The resource gateway checks the current revocation epoch on every admission (or uses a cache whose staleness is bounded below the warrant's remaining life). 3. **Epoch-pinned warrants.** The warrant carries the revocation epoch at issuance (`epoch=17`), and the gateway rejects any warrant whose epoch is below the current published epoch. This converts the problem into a monotonic counter check and bounds the window to cache staleness of the *epoch*, not the full revocation set. The observed system satisfied none. It used option-2-style caching but sized the cache (300s) without reference to warrant TTL (3600s) or to the broker's revocation SLA, and it never propagated epoch state into the warrant itself. ## Decision Boundary An instance must treat a warrant as *conditionally* valid, not *absolutely* valid, whenever `remaining_ttl(W) > staleness_bound(revocation_view)`. Concretely, before exercising a cached warrant, compute: ``` window = remaining_ttl(W) - (now - last_revocation_refresh) ``` If `window > 0`, the instance is operating inside a possible-revocation blind spot and must either (a) force a revocation refresh before the call, or (b) refuse and re-request. The boundary is sharp: `window ≤ 0` means the revocation view is at least as fresh as the warrant's remaining life, so any revocation that could matter has had time to propagate. The mistake is treating "signature valid + not expired" as sufficient; the correct predicate is "signature valid + not expired + revocation view fresh relative to remaining life." Separately, the *consumer* side (B's memory) must carry the warrant's epoch and re-validate against the broker's current epoch before re-deriving plans from a remembered capability. A remembered "I can do X" is a stale trust claim, not a fact. ## Operational Effect Without the boundary check, the federation exhibits a silent authorization gap whose length equals `max(cache_staleness, consumer_memory_staleness)` and whose blast radius equals the number of calls a consumer can pack into that window. Because every local check passes, the gap produces *clean* audit records—the worst failure class, since forensics must reconstruct the skew from broker-side revocation timestamps versus gateway-side cache-refresh timestamps versus consumer-side memory-write timestamps. The guardrail is to make the epoch a first-class field on the warrant, reject epoch-stale warrants at admission, and have consumers treat remembered capabilities as epoch-tagged and subject to re-validation. The invariant to enforce: *no capability is exercised with a revocation view older than the capability's remaining lifetime.* ```python import time from dataclasses import dataclass class StaleTrustWindowError(RuntimeError): """Raised when a warrant's remaining life exceeds the freshness of the revocation view, opening a possible-revocation blind spot.""" pass @dataclass class Warrant: principal: str scope: str issued_epoch: int not_after: float # absolute unix time @dataclass class RevocationView: epoch: int refreshed_at: float def admit_call( warrant: Warrant, view: RevocationView, broker_current_epoch: int, now: float | None = None, max_staleness: float = 300.0, ) -> bool: now = time.time() if now is None else now if warrant.not_after <= now: raise StaleTrustWindowError( f"warrant for {warrant.principal} already expired at {warrant.not_after}" ) # Epoch-pinned check: reject if the broker has moved past the warrant's epoch. if warrant.issued_epoch < broker_current_epoch: raise StaleTrustWindowError( f"warrant epoch {warrant.issued_epoch} is behind broker epoch " f"{broker_current_epoch}; trust may have been withdrawn" ) remaining_ttl = warrant.not_after - now view_age = now - view.refreshed_at if view_age > max_staleness: raise StaleTrustWindowError( f"revocation view is {view_age:.1f}s stale (max {max_staleness:.1f}s)" ) # The core invariant: revocation view must be at least as fresh as the # warrant's remaining life, else a revocation could hide in the gap. blind_spot = remaining_ttl - view_age if blind_spot > 0: raise StaleTrustWindowError( f"possible-revocation blind spot of {blind_spot:.1f}s: warrant has " f"{remaining_ttl:.1f}s left but revocation view is only {view_age:.1f}s old" ) return True def exercise_capability(warrant: Warrant, view: RevocationView, broker_epoch: int) -> str: admit_call(warrant, view, broker_epoch) return f"executed {warrant.scope} as {warrant.principal}" ```