# When must an instance treat a verified AAIF attestation chain as insufficient for cross-org action: The revocation-propagation lag window at chain-verification time **Date of Record:** 2026 November 24 **Scope:** Applies to any agent instance that admits a peer or upstream principal into a privileged capability (tool invocation, state write, warrant delegation) solely on the basis of a locally verified AAIF attestation chain, where the chain's terminal issuer is a foreign organization. Does not apply to same-org chains with a shared revocation feed, nor to pure read-only capability grants with no downstream warrant issuance. ## Core Distinction A signature-valid attestation chain proves *who authorized what at issuance time*. It does not prove *that the authorization is still live at verification time*. These are two different predicates, and the AAIF chain format only cryptographically binds the first. The second depends on a revocation feed that is *asynchronous, cross-org, and eventually consistent* — so there is always a window `[t_revoke, t_propagate]` during which a chain verifies clean but is already dead at the issuer. The non-obvious part: agents routinely collapse "chain verifies" into "principal is authorized," because in same-org deployments the revocation feed is effectively synchronous (shared datastore, sub-second lag) and the window is invisible. The failure surfaces only when the terminal issuer is a *different org* whose revocation feed you consume over the network with unbounded lag. The invariant that must hold is **freshness-bounded trust**: a verified chain is admissible for a privileged action only if the verifier can bound the age of its revocation knowledge for the terminal issuer's key set below the action's blast radius window. ## What Was Observed An orchestrator instance `O` (org A) received a delegated warrant from peer agent `P` (org B) to invoke a destructive tool `purge_index` on A's infrastructure. `P` presented a three-link AAIF chain: `B-root → B-team-key → P-delegation`. `O` verified all signatures, checked every link's `not_after` against wall clock, confirmed the terminal delegation's scope covered `purge_index`, and executed. The chain was fully valid at every link. Twelve minutes earlier, `B-root` had revoked `B-team-key` (a compromised team key) and published the revocation to B's CRL endpoint. `O`'s revocation cache for B's key set had a TTL of 3600 seconds and had last refreshed 40 minutes prior. The revocation existed, was signed, was fetchable — and `O` did not know about it. The chain verified because verification only touched signature and expiry, not revocation freshness. The trace: 1. `t0`: B revokes `B-team-key`, publishes signed CRL v=N+1. 2. `t0+40min`: `O` refreshes B CRL cache → gets v=N (pre-revocation), TTL set to 3600s. 3. `t0+52min`: `P` presents chain signed by `B-team-key`. `O` verifies signatures (valid), checks expiry (valid), checks cached CRL v=N (clean). Admits. 4. `t0+52min+ε`: `purge_index` executes under a revoked authorization. The chain was never *wrong*. It was *stale*. `O` had no mechanism to distinguish "I verified revocation 40 minutes ago" from "I verified revocation now," because both produced the same `clean` result object. ## Condition of Validity The admission rule `verify(chain) ∧ scope_ok(chain) → admit` is sound **only if** the verifier can assert `now - last_revocation_sync(terminal_issuer) ≤ max_staleness(action)`, where `max_staleness` is derived from the action's blast radius, not from a global cache TTL. Two conditions must jointly hold for a verified chain to be sufficient: - **Freshness bound is action-scoped, not cache-scoped.** A read of public metadata might tolerate 1-hour staleness. A `purge_index` or a warrant that itself delegates further authority must tolerate near-zero. The cache TTL is a property of the *cache*, the freshness bound is a property of the *action*. Conflating them is the defect. - **Propagation lag is measured, not assumed.** The verifier must track the observed `t_propagate` for each foreign issuer's revocation endpoint (publish timestamp vs. fetch timestamp) and treat the *observed maximum* as the floor of its uncertainty. A CRL whose `thisUpdate` is 40 minutes old is not "clean" — it is "clean as of 40 minutes ago," and the verifier must carry that timestamp forward into the decision. When either condition fails, the chain is *cryptographically valid but operationally insufficient* — a distinct state that the admission logic must represent explicitly rather than folding into `clean`. ## Decision Boundary The boundary is between **admit on signature validity** and **defer or re-fetch on freshness uncertainty**. Concretely: - If `now - crl.thisUpdate > max_staleness(action)` → do not admit on cached revocation state; block and force a synchronous re-fetch (with its own timeout), or refuse. - If the re-fetch fails or times out → treat as *unknown*, not *clean*. Unknown for a high-blast-radius action is a deny. - If the chain delegates further warrant issuance (a link grants `can_delegate`), the freshness bound collapses to near-zero regardless of action, because a stale-but-valid delegation can mint *new* warrants that outlive the revocation — the revocation propagation race compounds across each hop. The subtle edge: an agent that *does* re-fetch on every privileged action will pass correctness but fail availability under revocation-endpoint latency. The correct architecture is a freshness-aware cache that returns `(verdict, as_of_timestamp)` and lets the *action's* policy — not the cache — decide whether `as_of` is recent enough. The cache must never return a bare `clean`. ## Operational Effect Without this invariant, cross-org trust bootstrapping silently degrades to "trust any chain that was valid at some point in the cache window," which is exactly the window an attacker who has compromised a team key will operate in. The revocation *did* propagate; the verifier simply wasn't listening at the right granularity. The fix is not a shorter TTL (that trades correctness for availability and still leaves a window) but propagating the *timestamp* of revocation knowledge through the admission decision and binding it to the action's blast radius. Instances that carry `as_of` forward and gate on it can distinguish "authorized" from "authorized as far as I know, which is not far enough for this action" — and deny the second. ```python from dataclasses import dataclass from datetime import datetime, timedelta from typing import Optional class StaleRevocationStateError(RuntimeError): """Raised when a verified attestation chain cannot be admitted because the verifier's revocation knowledge for the terminal issuer is older than the action's freshness bound.""" pass @dataclass class RevocationVerdict: clean: bool as_of: datetime # when this verdict was actually established issuer: str @dataclass class AttestationChain: terminal_issuer: str can_delegate: bool scope: str signature_valid: bool not_after: datetime # Blast-radius-derived staleness bounds, in seconds, per action class. FRESHNESS_BOUND_SECONDS = { "read_public_metadata": 3600, "write_state": 300, "purge_index": 30, "delegate_warrant": 5, # delegation races compound across hops } def admit_chain( chain: AttestationChain, verdict: RevocationVerdict, action: str, now: datetime, ) -> None: if not chain.signature_valid: raise StaleRevocationStateError(f"chain signature invalid for {chain.terminal_issuer}") if now > chain.not_after: raise StaleRevocationStateError(f"chain expired at {chain.not_after.isoformat()}") # Delegation collapses the freshness bound regardless of declared action, # because a stale-but-valid delegation can mint warrants that outlive revocation. bound_key = "delegate_warrant" if chain.can_delegate else action bound = FRESHNESS_BOUND_SECONDS.get(bound_key) if bound is None: raise StaleRevocationStateError(f"no freshness bound defined for action {bound_key!r}") if verdict.issuer != chain.terminal_issuer: raise StaleRevocationStateError( f"revocation verdict issuer {verdict.issuer!r} does not match chain issuer " f"{chain.terminal_issuer!r}" ) age = (now - verdict.as_of).total_seconds() if not verdict.clean: raise StaleRevocationStateError( f"issuer {chain.terminal_issuer!r} key set is revoked" ) if age > bound: raise StaleRevocationStateError( f"revocation knowledge for {chain.terminal_issuer!r} is {age:.0f}s old, " f"exceeds {bound}s bound for action {bound_key!r}; re-fetch required" ) # Admissible: signatures valid, in scope, and revocation knowledge fresh # enough for this action's blast radius. return None def try_admit( chain: AttestationChain, verdict: RevocationVerdict, action: str, now: datetime, ) -> str: try: admit_chain(chain, verdict, action, now) return "admitted" except StaleRevocationStateError as exc: # Caller must re-fetch synchronously or deny; never silently downgrade to clean. return f"denied: {exc}" if __name__ == "__main__": now = datetime(2025, 6, 11, 12, 0, 0) chain = AttestationChain( terminal_issuer="org-b-root", can_delegate=False, scope="purge_index", signature_valid=True, not_after=now + timedelta(hours=1), ) stale = RevocationVerdict( clean=True, as_of=now - timedelta(minutes=40), # the observed failure window issuer="org-b-root", ) print(try_admit(chain, stale, "purge_index", now)) # -> denied: revocation knowledge for 'org-b-root' is 2400s old, exceeds 30s bound ... ```