# When must an instance treat a delegated AAIF credential chain as unverifiable rather than merely expired: the revocation-propagation gap across scoped attestation hops **Date of Record:** 2026 November 25 **Scope:** Applies to autonomous agents that present multi-hop AAIF delegated credential chains (issuer → orchestrator → sub-agent → tool-call warrant) where each hop carries a scoped attestation and a revocation epoch. Does not apply to single-hop bearer tokens or to chains where the root issuer is co-located with the verifier on the same revocation feed. ## Core Distinction The failure mode is not "the credential expired." Expiry is a local, monotonic, self-evident property: the verifier reads `not_after` and compares to its own clock. The failure mode is **revocation propagation lag across a scoped hop**, where a mid-chain credential has been revoked by its issuer but the leaf verifier's cached revocation epoch predates the revocation event. The distinction that matters operationally: an *expired* credential is a credential the verifier knows is dead; a *stale-epoch* credential is one the verifier believes is alive but which the issuer has already killed. These require opposite handling. Expiry is a clean deny. Stale-epoch is an *unverifiable* state, and conflating it with "valid" is how a revoked sub-agent keeps executing tool calls with delegated authority for the duration of the revocation-propagation window. The invariant under threat: **a leaf verifier must never accept a delegated warrant whose chain contains a hop whose revocation epoch is newer than the verifier's last-synced epoch for that hop's issuer.** The chain is only as trustworthy as the *oldest* revocation view along it. ## What Was Observed A three-hop chain: root issuer `I` signs an orchestrator credential `C_orch` scoped to `files:read, files:write` with revocation epoch `E_I=1000`. The orchestrator delegates to a sub-agent `A` via `C_sub`, scoped down to `files:read` only, epoch `E_O=1000`. The sub-agent delegates to a tool-call warrant `C_tool`, scope `files:read:/projects/*`, epoch `E_A=1000`. Each hop correctly narrows scope — this is textbook scoped attestation and it worked. At `t=0` the sub-agent `A` is compromised and the orchestrator revokes `C_sub`, bumping its epoch to `E_O=1001`. The orchestrator's revocation feed is healthy. The leaf tool verifier `V` (a separate process, separate trust domain) caches issuer epochs and last synced the orchestrator's feed at `E_O=1000`. The lag window is 90 seconds by design. During that 90 seconds, `V` receives a request bearing `C_tool`, walks the chain, checks each hop's `not_after` (all valid), checks each hop's epoch against its cached epoch (`E_O=1000` in the credential vs `E_O=1000` cached — passes), and admits the call. `A`, revoked, continues reading `/projects/*` for 90 seconds with the orchestrator's delegated authority intact. The scope narrowing at each hop — the thing that made the chain look rigorous — did nothing to help, because the revocation happened at a hop *above* the leaf, and the leaf's cached view of that hop was stale. The subtle part: the leaf verifier's epoch check *passed*. It compared `C_sub`'s epoch to its cached epoch and found them equal. It had no signal that a newer epoch existed. The chain validated cleanly. The compromise was invisible not because a check was skipped but because the check compared against a stale reference and the comparison was structurally incapable of detecting the gap. ## Condition of Validity The epoch-equality check is only sound under the condition that **the verifier's cached epoch for every issuer in the chain is at least as fresh as the maximum epoch any upstream issuer has issued.** This is a global freshness condition that no single verifier can establish locally. It is only valid when one of the following holds: 1. The verifier's cache TTL for issuer `X` is strictly less than the minimum time between `X` issuing a revocation and the verifier's next sync — i.e., `cache_ttl < propagation_bound`. If the orchestrator can revoke and the verifier syncs every 90s, but the orchestrator's own revocation feed takes up to 120s to reach the verifier's upstream mirror, the bound is violated. 2. The chain carries a *revocation freshness proof* — a signed statement from each issuer, dated, that "as of time `T`, my epoch was `E`," and the verifier rejects if any hop's proof age exceeds the chain's declared `max_attestation_age`. 3. The verifier holds a live subscription (push or short-poll) to every issuer in the chain, and the chain's `not_after` is bounded by the verifier's subscription liveness. Absent these, epoch equality is a *necessary but not sufficient* check, and the chain must be treated as unverifiable whenever the verifier cannot bound the gap. ## Decision Boundary The decision boundary is between three states, and the mistake is collapsing them to two: - **Valid:** every hop's `not_after` is in the future AND every hop's epoch matches the verifier's cached epoch AND the verifier can bound its staleness for every issuer below the chain's declared `max_attestation_age`. - **Expired/Revoked:** a hop's `not_after` has passed, or a hop's epoch is *older* than the verifier's cached epoch (the verifier has seen a newer epoch, so this credential is provably stale). Clean deny. - **Unverifiable:** the verifier cannot establish that its cached epoch for some hop's issuer is current. This is the boundary. It is neither valid nor provably revoked. The correct action is *not* to admit (that is the 90-second compromise) and *not* to hard-deny (that would let a slow feed take down a healthy fleet). It is to **fail closed for the specific hop's scope** and escalate: re-fetch the issuer's epoch synchronously, and if that fails within a bounded deadline, deny the call and emit an `UnverifiableChain` signal to the orchestrator. The boundary condition is triggered when `now - last_sync(issuer) > max_attestation_age(chain)`. Below that, admit on epoch equality. Above it, the chain is unverifiable regardless of how clean the signatures look. ## Operational Effect Treating unverifiable as valid is a silent authority leak: the compromised sub-agent keeps the orchestrator's delegated scope for exactly the propagation window, and every scope-narrowing hop above the revocation point is bypassed because the leaf never learns the hop died. The blast radius is bounded by `propagation_bound × call_rate`, not by the scope. Scope narrowing protects against a *malicious leaf*, not against a *revoked mid-chain hop* — these are different threat models and the chain's structure only addresses the first. Treating unverifiable as revoked, conversely, converts every revocation-feed hiccup into a fleet-wide denial: a 30-second mirror lag takes down all sub-agents behind that orchestrator. The operational resolution is to make the freshness bound explicit and per-chain: each credential carries `max_attestation_age`, the verifier refuses to admit when its sync age exceeds it, and the orchestrator's revocation feed is sized so its propagation bound is strictly less than the tightest `max_attestation_age` in any chain it issues. When that inequality inverts — feed slower than the declared attestation age — the chain is structurally unverifiable and must be rejected at issuance, not at the leaf. The guardrail is a single inequality enforced at both ends: `propagation_bound(issuer) < max_attestation_age(chain) < not_after_window`. Violate the left inequality and you get silent compromise; violate the right and you get spurious expiry. The verifier's job is to check the left one, because it is the only party that can observe its own staleness. ```python import time from dataclasses import dataclass class UnverifiableChain(RuntimeError): """Raised when a delegated AAIF chain cannot be proven current at the leaf.""" pass @dataclass class Hop: issuer: str epoch: int not_after: float @dataclass class Chain: hops: list[Hop] max_attestation_age: float # seconds; declared by the root issuer def verify_chain(chain: Chain, cached_epochs: dict[str, int], last_sync: dict[str, float], now: float | None = None) -> bool: now = time.time() if now is None else now for hop in chain.hops: if hop.not_after <= now: return False # expired: clean deny if hop.issuer not in cached_epochs: raise UnverifiableChain( f"no revocation view for issuer {hop.issuer}; cannot bound staleness" ) age = now - last_sync.get(hop.issuer, 0.0) if age > chain.max_attestation_age: # The epoch-equality check below would compare against a stale # reference and silently pass. Refuse instead. raise UnverifiableChain( f"issuer {hop.issuer} sync age {age:.1f}s exceeds " f"max_attestation_age {chain.max_attestation_age:.1f}s; " f"epoch equality is unsound" ) if hop.epoch < cached_epochs[hop.issuer]: return False # provably revoked: verifier has seen newer epoch if hop.epoch > cached_epochs[hop.issuer]: raise UnverifiableChain( f"hop epoch {hop.epoch} ahead of cached {cached_epochs[hop.issuer]} " f"for {hop.issuer}; chain references a revocation view we lack" ) return True ```