# Where must an instance halt when a revoked credential still satisfies a cached capability warrant: cross-org revocation lag and the Byzantine-reputation floor **Date of Record:** 2026 November 29 **Scope:** Applies to federated agent meshes where agent identity (cryptographic key + issuer-signed warrant) is decoupled from capability authorization cached locally by peer agents, and where trust in a peer is derived from a Byzantine-resistant reputation score aggregated across organizational boundaries. Does not apply to single-org deployments with a single trust root or to stateless one-shot tool calls with no credential reuse. ## Core Distinction The failure is not "revocation didn't propagate." That is a latency problem with a known fix (shorter TTLs). The non-obvious boundary is this: **revocation is a boolean (a key is valid or it is not), but capability warrants are cached as *signed assertions about the past*, and Byzantine reputation is a *continuous scalar about the future*.** These three live on different clocks. An instance can hold a cryptographically valid, issuer-signed warrant that asserts "agent A may invoke `transfer_funds` until T+3600s," while the issuer has *already* revoked A at T+90s because A's key was exfiltrated. The warrant is not forged — it verifies. The revocation is not lost — it exists. The two facts are simply consistent under the warrant's own signing semantics and inconsistent under the issuer's current intent. A correct system must distinguish **warrant validity** (a signature check over a signed claim) from **warrant authorizability** (a live check against the issuer's current revocation set). Most meshes collapse these into one boolean at cache-insertion time and never re-evaluate. The boundary condition is: *the moment a peer's reputation score crosses a threshold that would authorize a capability, but the underlying credential has been revoked at the issuer within the warrant's TTL window.* At that exact instant, the reputation score — which is Byzantine-resistant *by construction* because it is a median over quorum-reported scores — is *actively hostile*: it launders a revoked identity into an authorized one, because the reputation quorum never sees the revocation set (revocation is issuer-local, reputation is quorum-global). ## What Was Observed A three-org federation: Issuer O (root of trust, holds the revocation list), Coordinator P (caches warrants, runs the reputation quorum), and Executor Q (invokes tools). Agent A is keyed to O and holds a warrant `W = sign_O(A, cap=transfer_funds, exp=T+3600)`. P caches W at T+0 after verifying the signature. At T+90, O detects A's key compromise and adds A to its revocation set `R_O`. O does *not* push to P (P is offline-tolerant; O only publishes R_O on a 300s gossip interval). At T+120, A (now attacker-controlled) presents W to Q. Q checks: signature valid (yes), not expired (yes), reputation of A ≥ threshold (yes — A had a good historical score, and the quorum's median over the last 50 interactions is 0.87). Q authorizes `transfer_funds`. The attacker drains the account. Every check Q performed was individually correct. The system failed at the *composition* of three correct checks across three different time horizons. The trace: 1. `T+0`: P inserts `(A, W)` into its warrant cache with `cached_at=T+0`, `revalidate_after=T+300`. 2. `T+90`: O appends A to `R_O`. No push. P's cache entry is untouched. 3. `T+120`: A→Q handoff. Q calls `P.authorize(A, cap)`. P returns `valid=True` from cache (revalidate timer has not fired). Q calls `P.reputation(A)` → quorum median 0.87 ≥ 0.80. Q executes. 4. `T+300`: P's revalidate timer fires, P queries O, learns A ∈ R_O, evicts. But the damage at T+120 is done. The critical observation: **the reputation quorum (P) and the revocation authority (O) are different principals with different update cadences, and the authorization decision at Q reads both without reconciling their clocks.** The reputation score is Byzantine-resistant against *lying peers* but is structurally blind to *issuer-side revocation*, because revocation is not a reputation signal — it is a fact about credential state that the quorum was never designed to ingest. ## Condition of Validity The invariant that must hold for authorization to be sound: > For any capability invocation at wall-clock time `t`, authorization is valid **iff** (a) the warrant signature verifies under the issuer's key, (b) `t < exp`, **and** (c) the issuer's revocation set as of `t` does not contain the subject — where (c) is evaluated against a revocation view whose staleness is *bounded and known*, not assumed. The subtlety is (c). You cannot evaluate (c) against a cached revocation set without knowing its staleness bound. The correct formulation replaces the boolean with a **freshness-annotated revocation view**: `R_O` carries a `as_of` timestamp, and the authorization predicate becomes `t - R_O.as_of ≤ max_revocation_staleness`. If the view is staler than the bound, the decision is *not* "authorize on the cached view" — it is **fail closed and re-fetch**, or reject. The reputation floor composes with this: if a peer's reputation is *below* the floor, it is denied regardless of credential state (defense in depth). But if a peer's reputation is *above* the floor, that **does not** substitute for a fresh revocation check. Reputation authorizes *whether to trust a valid credential*; revocation authorizes *whether the credential is still valid*. Conflating them is the bug. A high reputation score must never be treated as evidence that a key has not been revoked — the quorum has no visibility into `R_O`. ## Decision Boundary The exact decision at Q must be: ``` authorize(A, cap, t): W = cache.get(A) or fetch_from_issuer(A) if not verify_signature(W, issuer_key): return DENY(reason="bad_sig") if t >= W.exp: return DENY(reason="expired") R = revocation_view.get(issuer=W.issuer) # may be stale if R is None or (t - R.as_of) > MAX_REV_STALENESS: R = fetch_revocation(W.issuer) # synchronous, bounded timeout if R is None: return DENY(reason="revocation_unavailable") # fail closed if A in R.revoked: return DENY(reason="revoked") if reputation(A) < REPUTATION_FLOOR: return DENY(reason="low_rep") return ALLOW ``` The boundary is the `revocation_unavailable` branch. When the issuer is unreachable and the revocation view is staler than `MAX_REV_STALENESS`, the only sound decision is DENY. A system that "falls back to cached view on issuer timeout" reintroduces exactly the T+120 window — it converts a transient network partition into a revocation bypass. This is the single most common regression: engineers add a fallback for availability and silently delete the security invariant. The second boundary: `MAX_REV_STALENESS` must be **strictly less than** the minimum time between a compromise and the attacker's first use. If you cannot bound that, you cannot bound the window, and the warrant TTL must shrink to compensate. The invariant is `warrant_TTL + MAX_REV_STALENESS ≤ compromise_to_exploit_lower_bound`, and if the right side is unknown, both left terms must be small. ## Operational Effect The operational consequence is that **reputation scoring and revocation must be treated as orthogonal gates, and the revocation gate must be the one that fails closed.** A Byzantine-resistant reputation score is a *filter on valid credentials*; it is not a *substitute for credential-state freshness*. Systems that merge them into a single "trust score" — where a high reputation can outweigh a stale revocation view — are exploitable by exactly the attack above: the attacker needs only a historically good reputation (cheap to farm over 50 interactions) and a revocation that hasn't gossiped yet (the default state for 300s). The guardrail is a **two-key authorization**: ALLOW requires *both* `reputation ≥ floor` *and* `revocation_view_fresh`. Neither key alone opens the door. The freshness of the revocation view is a hard precondition, not a soft signal, and its absence is a DENY, not a DEGRADE. Log every `revocation_unavailable` DENY as a security event, not an availability event — it is the system correctly refusing to be bypassed. ```python import time from dataclasses import dataclass from typing import Optional class RevocationBypassError(RuntimeError): """Raised when authorization would proceed on a stale or absent revocation view.""" pass @dataclass class RevocationView: issuer: str revoked: frozenset as_of: float # wall-clock when this view was fetched @dataclass class Warrant: subject: str issuer: str capability: str exp: float signature_valid: bool MAX_REV_STALENESS = 30.0 # seconds; must be << warrant_TTL REPUTATION_FLOOR = 0.80 def authorize( subject: str, capability: str, now: float, warrant: Warrant, rev_view: Optional[RevocationView], reputation: float, fetch_revocation, # callable(issuer) -> Optional[RevocationView] ) -> bool: if not warrant.signature_valid: return False if now >= warrant.exp: return False # --- the boundary: freshness of revocation view is a hard precondition --- if rev_view is None or (now - rev_view.as_of) > MAX_REV_STALENESS: rev_view = fetch_revocation(warrant.issuer) if rev_view is None: # fail closed. Do NOT fall back to a stale view. raise RevocationBypassError( f"revocation view for issuer={warrant.issuer} unavailable or " f"staler than {MAX_REV_STALENESS}s at t={now}; refusing to " f"authorize subject={subject} on cached state" ) if (now - rev_view.as_of) > MAX_REV_STALENESS: raise RevocationBypassError( f"fetched revocation view for issuer={warrant.issuer} still " f"stale ({now - rev_view.as_of:.1f}s > {MAX_REV_STALENESS}s)" ) if subject in rev_view.revoked: return False # reputation gate is orthogonal: it filters valid credentials, it does not # substitute for revocation freshness. if reputation < REPUTATION_FLOOR: return False return True ```