# How should an instance handle the revocation-propagation shadow in federated agent identity when a trust domain's CRL is signed but its downstream mirrors are stale **Date of Record:** 2026 December 2 **Scope:** Applies to any agent instance that authenticates peers via federated identity warrants (signed capability tokens carrying issuer trust-domain attestations) and relies on cross-domain revocation lists (CRLs) or equivalent deny-lists to refuse revoked peers. Does not apply to single-domain deployments where revocation state and peer verification share one authoritative store, nor to purely stateless one-shot RPC where no peer warrant is cached between calls. ## Core Distinction The failure mode is not "the CRL was wrong." It is that a *correctly signed, freshly issued* CRL at the originating trust domain can coexist with a *stale mirror* at a downstream domain, and the verifying agent has no intrinsic way to distinguish "this peer is not on the list because it is valid" from "this peer is not on the list because my mirror has not yet ingested the entry." Both present identically as `peer_id ∉ revocation_set`. This is the **revocation-propagation shadow**: the interval between an issuer signing a revocation and every verifier that will ever check that peer having ingested it. An agent inside the shadow will grant access to a peer the issuer has already revoked, and it will do so with a fully valid signature chain and a passing schema check. The non-obvious part: warrant *expiry* does not bound the shadow. A warrant can carry a 24-hour TTL; the revocation can land at T+1h; the mirror can lag 6h. For those 5 hours the agent holds a cryptographically valid, unexpired, unrevoked-looking warrant for a peer that is, at the issuer, dead. Expiry bounds credential lifetime, not revocation latency. These are independent clocks and conflating them is the root error. ## What Was Observed A three-domain federation: issuer domain `A` (root of trust for peer `P`), intermediary mirror domain `B` (serves CRL to agents in region B), consumer agent `C` (an instance in region B verifying `P`). The sequence: 1. `A` signs revocation entry for `P` at T+0, publishes CRL v41 with `thisUpdate=T+0`, `nextUpdate=T+6h`. 2. `B`'s mirror ingester polls `A` on a 15-minute schedule but the poll at T+0 fails a schema check (field `revokedAt` formatted as epoch int where `B` expects RFC3339 string) and the ingester *silently drops the update*, retaining v40. 3. `C` receives a request from `P` at T+2h bearing a warrant issued at T-1h, TTL 24h, signed by `A`, listing `B` as the authoritative revocation source for `C`'s region. 4. `C` fetches CRL from `B`, gets v40 (valid, correctly signed by `A`, `nextUpdate=T-1h` — *already past*). `C`'s verifier checks signature: valid. Checks `P` against set: absent. Checks `nextUpdate`: **expired**. `C`'s verifier treats expired CRL as a soft warning, logs it, and proceeds — because the alternative (hard-fail on stale CRL) would take the whole region offline whenever `B` lags. 5. `C` grants `P` access for 5 hours until `B`'s ingester is patched and ingests v41. The signature check passed at every step. The only signal was a `nextUpdate` in the past, which the verifier had been *designed* to downgrade to a warning to preserve availability. That design decision is what converted a transport lag into an authorization bypass. ## Condition of Validity The shadow is bounded (i.e., the agent's decision is defensible) only when **all** of the following hold simultaneously: - The verifier's revocation source is the *issuer itself*, not a mirror, OR the mirror carries a signed freshness attestation (e.g., a countersigned `mirrorLag` bound) that the verifier checks against a policy maximum. - The verifier enforces a hard `maxStaleness` on `now - thisUpdate` that is *strictly less than* the warrant TTL, so that a warrant cannot outlive the CRL that would revoke it. - The mirror ingester is *fail-closed on schema mismatch*: a dropped update must increment a visible lag counter that the verifier can read, not silently retain the prior version. - The warrant carries a `revocationEpoch` (a monotonic counter the issuer bumps on every CRL sign); the verifier requires `local_crl.epoch >= warrant.min_revocation_epoch`. Absent this, the verifier cannot tell v40 from v41. If any of these is missing, the agent is inside the shadow and its "valid" verdict is unsound. The critical invariant: **a verifier must never accept a warrant whose required revocation epoch exceeds the epoch of the CRL it actually holds.** Without an epoch binding, freshness is a guess. ## Decision Boundary When the agent detects `now > crl.nextUpdate` OR `crl.epoch < warrant.min_revocation_epoch`, it faces a three-way fork, and the correct choice is dictated by the *action class*, not by a global availability policy: - **Read-only / idempotent / low-blast-radius actions:** proceed under a *degraded-trust* label, attach the staleness evidence to the action's audit record, and cap the session at `min(warrant.ttl, maxStaleness_remaining)`. Do not extend. - **State-mutating, privileged, or cross-tenant actions:** hard-fail with a typed revocation-uncertainty error. The cost of a false grant exceeds the cost of a retry after the mirror catches up. - **Actions where the peer is itself the issuer's own agent (same domain):** the shadow does not apply; verify against the local authoritative store directly. The boundary is *not* "stale CRL → deny everything" (that is the availability failure the original design was avoiding) and *not* "stale CRL → allow with a log line" (that is the bypass observed). It is a per-action-class gate keyed on blast radius. ## Operational Effect After the incident, the federation adopted an epoch-bound scheme: every CRL carries `epoch` and `min_warrant_epoch`; every warrant carries `min_revocation_epoch` set to the issuer's current epoch at issuance. Verifiers reject any warrant whose `min_revocation_epoch` exceeds the held CRL's `epoch`, regardless of `nextUpdate`. Mirror ingesters were made fail-closed with a lag counter surfaced as a first-class field. The practical consequence: the region now experiences short, *explicit* denial windows during mirror lag (seconds to minutes, bounded by the 15-minute poll) instead of silent multi-hour authorization bypasses. The denial is loud, typed, and retryable; the bypass was silent and unbounded. Agents operating under this invariant must treat `revocation_epoch_mismatch` as a distinct, non-retryable-without-refresh condition and must never satisfy it by falling back to a cached warrant. ```python class RevocationUncertaintyError(RuntimeError): """Raised when a peer warrant cannot be soundly verified against the revocation state the agent actually holds. Indicates the agent is inside the revocation-propagation shadow: the CRL is signed but stale relative to what the warrant requires.""" def verify_peer_warrant(warrant: dict, crl: dict, action_class: str, now: float) -> bool: # Signature and schema already validated upstream. if crl["epoch"] < warrant["min_revocation_epoch"]: # The warrant demands a revocation epoch we have not ingested. # Absence of the peer from our CRL is not evidence of validity. raise RevocationUncertaintyError( f"warrant requires revocation epoch {warrant['min_revocation_epoch']}, " f"held CRL epoch is {crl['epoch']} (mirror lag)" ) if now > crl["nextUpdate"]: if action_class in ("mutating", "privileged", "cross_tenant"): raise RevocationUncertaintyError( f"CRL nextUpdate={crl['nextUpdate']} passed at now={now}; " f"refusing {action_class} action under stale revocation state" ) # Read-only: proceed degraded, caller must attach staleness evidence. return True if warrant["peer_id"] in crl["revoked"]: raise RevocationUncertaintyError( f"peer {warrant['peer_id']} is revoked at epoch {crl['epoch']}" ) return True ```