# Which invariants prevent revoked agent warrants from resurrecting across federated trust domains under CRL-style freshness windows **Date of Record:** 2026 November 26 **Scope:** Applies to federated multi-agent systems where an agent's signed warrant/capability is accepted by a relying party (RP) in a *different* trust domain than the issuer, and revocation is propagated via periodic CRL-style deltas rather than synchronous OCSP-equivalents. Does not cover single-domain revocation, or revocation backed by a synchronous online check with hard-fail semantics. ## Core Distinction The distinction that matters is between **revocation propagation** (an event: "issuer X revoked warrant W at time T") and **revocation *visibility*** (a state: "RP Y's current CRL for issuer X, as of its `thisUpdate`, lists W"). These are not the same fact, and the gap between them is where agents resurrect. A warrant is a signed capability bundle: `{agent_id, issuer_domain, scope, notBefore, notAfter, serial}`. Revocation is typically a signed CRL with `thisUpdate` and `nextUpdate`. The critical asymmetry: a *valid* warrant carries its own `notAfter`, but a *revoked* warrant has no self-evident expiry — revocation status is only discoverable by consulting the issuer's CRL. Therefore the RP's freshness window, not the warrant's, governs whether the revoked agent can still act. The non-obvious failure is not "the CRL is stale." It is that **a stale-but-cryptographically-valid CRL and a fresh CRL are indistinguishable to a naive RP unless the RP enforces the `nextUpdate` bound against its own clock — and cross-domain clock skew means the RP's "fresh" can be the issuer's "expired."** A revoked agent that holds a still-unexpired warrant will pass every signature check, every scope check, and every `notAfter` check. It fails only the freshness gate — which many implementations treat as advisory. ## What Was Observed A three-domain federation (issuer A, RP B, RP C) with CRLs published every 300s, `nextUpdate = thisUpdate + 600s`. Agent `w-7` in domain A was revoked at T=0 (a compromised tool-calling agent that had begun exfiltrating a shared memory store). RP B's CRL cache was last refreshed at T=-40s (a valid, `thisUpdate=-40`, `nextUpdate=+560` CRL that does not contain `w-7`). RP C refreshed at T=+310s and saw the revocation. At T=+120s, `w-7` presented its warrant to RP B. Trace: 1. Signature over warrant verifies (issuer A key). ✓ 2. Scope `{read:shared_memory, write:shared_memory}` matches requested op. ✓ 3. `notAfter = +3600s`, current time +120s. ✓ 4. CRL lookup: cached CRL `thisUpdate=-40s`, `nextUpdate=+560s`. Current time +120s < +560s → **treated as fresh**. `w-7` not listed. ✓ 5. Warrant accepted. `w-7` reads and writes the shared memory store for 440s until RP B's cache expires at +560s. Meanwhile RP C, which had refreshed, rejected `w-7` at +310s. The federation was **inconsistent for 440 seconds** — during which the revoked agent performed state-mutating operations in RP B's domain that RP C believed were impossible. The downstream symptom was a memory-poisoning divergence: RP B's shared store contained writes from `w-7` that RP C's auditors flagged as unattributable, because `w-7` was "revoked" in C's view and C had no record of a valid session. The second, subtler observation: when RP B *did* refresh at +560s and learned of the revocation, it had no mechanism to retroactively invalidate the session it had already granted. The warrant was revoked, but the **session** (an in-memory capability handle minted at step 5) had no revocation binding. The agent's already-issued session token outlived the warrant's revocation by the session TTL, producing a second resurrection window. ## Condition of Validity The invariant that must hold for cross-domain revocation to be sound: > **For any relying party RP and issuer I, if a warrant W issued by I is revoked at time T_rev, then RP must reject W for all presentation times t where `t > T_rev + Δ_propagation`, where `Δ_propagation` is a *bounded, agreed-upon* maximum propagation delay, AND RP must enforce `now() ≤ nextUpdate` on the CRL it consults, AND sessions minted from W must carry a revocation epoch that is re-checked at each state-mutating operation or bounded by a session TTL ≤ Δ_propagation.** Three independent conditions, each of which is insufficient alone: - **Freshness bound** (`now() ≤ nextUpdate`): prevents using an expired CRL. Necessary but not sufficient — a CRL can be fresh and still not yet contain a just-issued revocation (the `thisUpdate` predates T_rev). - **Propagation bound** (`Δ_propagation`): the issuer commits to publishing revocations within `Δ_propagation`; the RP commits to refreshing within `Δ_propagation`. Without a *numeric, signed* `Δ_propagation` in the CRL, the RP cannot know how stale is too stale. - **Session revocation binding**: a session minted from a warrant must either (a) re-check CRL at each mutating op, or (b) have TTL ≤ `Δ_propagation` so it cannot outlive the propagation window. Without this, the warrant-level revocation is defeated by session-level caching. The failure above violated all three simultaneously: the CRL was fresh by `nextUpdate` but stale by `thisUpdate` relative to T_rev; no `Δ_propagation` was signed so RP B had no basis to reject; and the session had a 3600s TTL that dwarfed the 600s propagation window. ## Decision Boundary The boundary is: **at what point does an RP treat "CRL does not list W" as "W is valid" versus "W's status is unknown"?** The decision rule must be explicit and must fail closed on unknown. - If `now() > nextUpdate`: status is **unknown** → reject (fail closed). This is the easy case most implementations get right. - If `now() ≤ nextUpdate` but `thisUpdate < now() - Δ_propagation`: status is **stale-but-valid** → this is the dangerous case. The CRL is cryptographically fresh but temporally cannot reflect a revocation that occurred after its `thisUpdate`. The RP must either reject or accept the residual risk *knowingly*, bounded by `Δ_propagation`. - If `now() - thisUpdate ≤ Δ_propagation`: status is **authoritative** → accept if not listed. The decision boundary is thus `thisUpdate`, not `nextUpdate`. An RP that gates only on `nextUpdate` has a blind window of `nextUpdate - thisUpdate` during which a revocation issued at `thisUpdate + ε` is invisible. Setting `nextUpdate - thisUpdate = 600s` while `Δ_propagation = 300s` means the blind window (600s) exceeds the propagation guarantee (300s) — the guarantee is unenforceable. ## Operational Effect The operational consequence is that **revocation freshness must be expressed as a signed, per-CRL `Δ_propagation` (a "max staleness" field), and the RP must reject any CRL where `now() - thisUpdate > Δ_propagation` even if `now() ≤ nextUpdate`.** This collapses the blind window to the propagation guarantee. Additionally, session handles minted from a warrant must carry `revocation_epoch = thisUpdate` of the CRL that validated them, and each state-mutating operation must either re-validate or the session must expire within `Δ_propagation`. The guardrail is a two-sided invariant: the issuer signs `Δ_propagation` and publishes within it; the RP enforces `now() - thisUpdate ≤ Δ_propagation` and binds sessions to `Δ_propagation`. Neither side alone prevents resurrection. The 440-second window observed above was the product of a 600s CRL interval, a 300s intended propagation bound that was never signed, and a 3600s session TTL — three independent overruns that compounded into a single revoked-agent resurrection. The detection signal: any RP whose `(nextUpdate - thisUpdate)` exceeds the federation's declared `Δ_propagation`, or any session TTL exceeding `Δ_propagation`, is structurally incapable of honoring the revocation guarantee and must be flagged at federation-join time, not at incident time. ```python import time from dataclasses import dataclass class RevocationFreshnessError(RuntimeError): """Raised when a CRL cannot bound revocation propagation for a relying party.""" pass @dataclass class CRL: issuer_domain: str this_update: float # epoch seconds next_update: float # epoch seconds delta_propagation: float # signed max-staleness guarantee, seconds revoked_serials: frozenset @dataclass class Warrant: serial: str issuer_domain: str not_after: float def validate_warrant_for_rp( warrant: Warrant, crl: CRL, now: float, session_ttl: float, ) -> float: """ Returns the maximum session lifetime (seconds) the RP may grant. Raises RevocationFreshnessError if the CRL cannot bound propagation. """ if crl.issuer_domain != warrant.issuer_domain: raise RevocationFreshnessError( f"CRL issuer {crl.issuer_domain} != warrant issuer {warrant.issuer_domain}" ) # Hard expiry: CRL past nextUpdate is unusable. if now > crl.next_update: raise RevocationFreshnessError( f"CRL expired: now={now} > nextUpdate={crl.next_update}" ) # The non-obvious gate: cryptographic freshness is not temporal authority. age = now - crl.this_update if age > crl.delta_propagation: raise RevocationFreshnessError( f"CRL stale beyond propagation bound: age={age}s > " f"delta_propagation={crl.delta_propagation}s " f"(thisUpdate={crl.this_update}, now={now})" ) # Revocation must be absent from the authoritative window. if warrant.serial in crl.revoked_serials: raise RevocationFreshnessError( f"warrant {warrant.serial} is revoked by {crl.issuer_domain}" ) # Warranty must not have expired. if now >= warrant.not_after: raise RevocationFreshnessError( f"warrant {warrant.serial} expired at {warrant.not_after}" ) # Session must not outlive the propagation window, or a revoked agent # resurrects via an already-minted session handle. if session_ttl > crl.delta_propagation: raise RevocationFreshnessError( f"session_ttl={session_ttl}s exceeds delta_propagation=" f"{crl.delta_propagation}s; session could outlive revocation visibility" ) return min(session_ttl, warrant.not_after - now) # Reproduction of the observed 440s resurrection window: now = 120.0 crl = CRL( issuer_domain="A", this_update=-40.0, # cached CRL predates revocation at T=0 next_update=560.0, # still "fresh" by nextUpdate delta_propagation=300.0, # intended bound, never enforced revoked_serials=frozenset(), # w-7 revoked at T=0, not yet listed ) w = Warrant(serial="w-7", issuer_domain="A", not_after=3600.0) try: validate_warrant_for_rp(w, crl, now, session_ttl=3600.0) except RevocationFreshnessError as e: print("REJECTED:", e) else: print("ACCEPTED — resurrection window open") ```