# Why does an instance present a revoked AAIF credential when its attestation chain was minted before the revocation epoch? **Date of Record:** 2026 November 27 **Scope:** Applies to AAIF (Agent Attestation & Identity Federation) deployments where agent instances carry short-lived attestation chains (TTL on the order of minutes to hours) that are counter-signed by a delegating parent. Does not apply to long-lived static credentials, nor to single-hop attestation without chaining. ## Core Distinction The failure is not "a revoked agent kept acting." It is subtler: **a downstream verifier accepts a chain whose leaf credential was revoked, because every signature in the chain is individually valid and every TTL is individually unexpired.** Revocation in AAIF is a property of the *issuing identity*, not of the *signed artifact*. A revocation event at epoch `T_rev` does not retroactively invalidate attestations minted at `T_mint < T_rev`. The chain was cryptographically sound at mint time, remains cryptographically sound at verification time, and yet the identity it vouches for has been withdrawn. Verification succeeds; authorization should not. The distinction that matters operationally: **signature validity is a point-in-time fact; authorization is a current-state fact.** AAIF chains encode the former and verifiers routinely conflate it with the latter. ## What Was Observed An orchestrator revoked a sub-agent identity `agent:planner-7` at `T_rev = 14:02:11Z` after detecting prompt-injection-driven scope expansion. The revocation was published to the AAIF revocation feed and propagated to the local verifier cache within ~4 seconds. Nevertheless, at `14:02:39Z` a worker instance `agent:executor-3` presented a *delegation chain*: ``` root(CA) -> agent:planner-7 (mint 13:58:02Z, ttl 600s) -> agent:executor-3 (mint 13:58:04Z, ttl 600s, parent=planner-7) ``` The verifier walked the chain, checked each signature against the CA root, checked each `not_after` against wall clock (13:58:04 + 600s = 14:08:04Z > 14:02:39Z, so unexpired), checked the revocation feed for the *leaf* (`executor-3`, not present), and admitted the request. The revocation entry for `planner-7` was present in the feed but the verifier's chain-walk only consulted the revocation set for the terminal subject, not for intermediate delegators. The consequence: `executor-3` continued to act under authority delegated by a revoked identity for the remaining ~5 minutes of its chain TTL. Observed blast radius in the incident: 11 tool invocations, all within the delegated scope, none flagged by the verifier. The revocation "worked" in the narrow sense that no *new* chains were minted by `planner-7` after `T_rev`; it did not work in the sense that mattered. ## Condition of Validity The guardrail that bounds this failure is the **transitive revocation invariant**: > For any attestation chain `C = [id_0, id_1, ..., id_n]` presented at verification time `t`, admission is permitted only if **every** `id_i` in `C` is absent from the revocation set as of `t`, and every `not_after_i >= t`, and every signature verifies. The invariant is only *sound* under two preconditions that must be enforced at mint time, not verify time: 1. **Monotonic TTL nesting.** A child's `not_after` must be `<=` its parent's `not_after`. Otherwise a revoked parent's authority can be laundered into a longer-lived child minted just before revocation. In the observed incident nesting held, which is why the exposure was bounded to the parent's remaining TTL rather than unbounded. 2. **Epoch-stamped revocation lookups.** The verifier must consult the revocation set with a freshness bound no older than the chain's remaining TTL, or the chain must carry a `revocation_epoch` the verifier can compare against its feed watermark. Without this, a verifier operating on a stale cache can admit chains whose delegators were revoked after the cache snapshot. When either precondition is violated, the invariant "every id in C is unrevoked" is not *checkable*, and the correct behavior is to fail closed — reject the chain as unverifiable rather than admit it on the basis of signature validity alone. The observed incident violated neither precondition; the verifier simply did not implement the transitive check. That is the cleanest form of the bug: the invariant was checkable and was not checked. ## Decision Boundary The boundary is between **"the chain is valid"** and **"the chain is authorized."** These diverge exactly at the set of chains that contain at least one delegator revoked between `T_mint` and `t`. Call this set `S`. For chains outside `S`, the two predicates coincide and a signature-only verifier is correct. For chains inside `S`, a signature-only verifier is wrong in the permissive direction. The size of `S` is not small in adversarial conditions. Any revocation of a delegating identity — the common case, since delegators are the identities with scope to abuse — places *all* of its outstanding delegated chains into `S` for the remainder of their TTL. If delegators mint chains with long TTLs, `S` is large; if short, `S` is small but revocation latency matters more. This is the tension: short TTL bounds the blast radius of a missed revocation, but forces frequent re-minting, which forces the delegator to be live and unrevoked at mint time — a liveness requirement on the very identity you may be trying to shut down. The decision rule: **a verifier that cannot check transitive revocation must reject chains with depth > 1.** Depth-1 chains (direct CA-issued) have no intermediate delegator and the leaf-only revocation check is complete. Chains of depth ≥ 2 carry intermediate identities and require the transitive check. This is the fallback when the revocation feed's freshness cannot be established. ## Operational Effect Two concrete consequences for agent runtimes: First, **revocation latency is not the revocation feed's propagation delay; it is the maximum remaining TTL over all outstanding chains rooted at the revoked identity.** Operators who reason about revocation as a feed-propagation problem (seconds) systematically underestimate the actual window (minutes to hours) by the TTL of the longest-lived outstanding delegation. The correct revocation SLO is `propagation_delay + max_outstanding_chain_ttl`, and the second term dominates. Second, **re-minting under a revoked parent must be blocked at the mint endpoint, not the verify endpoint.** A delegator that is revoked at `T_rev` but whose own credential has not yet expired will, absent a mint-time revocation check, continue to sign child chains until its own `not_after`. Every such child extends the exposure window by another TTL. The mint endpoint must consult the revocation set for the *signing identity* before issuing, and this check must be transactional with the signing operation — a check-then-sign race across a revocation event reopens the window. The architectural fix is not "check revocation more places." It is to make the chain carry a verifiable *revocation epoch* at each hop, so that any verifier with a feed watermark can determine, without trusting its own cache freshness, whether any hop was revoked before the chain was presented. Absent that, the transitive check plus fail-closed on depth ≥ 2 is the only sound posture. ```python import time from dataclasses import dataclass from typing import Optional class TransitiveRevocationError(RuntimeError): """Raised when a chain hop is revoked, or revocation state cannot be established.""" pass @dataclass class Hop: identity: str not_after: float # unix seconds parent: Optional[str] @dataclass class Chain: hops: list[Hop] # ordered root -> leaf; root is CA-issued revocation_epoch: Optional[float] # watermark of revocation feed at mint, if present def verify_chain(chain: Chain, now: float, revoked: set[str], feed_watermark: float, max_cache_staleness: float) -> None: # Freshness precondition: the revocation set must be no staler than the # verifier's tolerance. If we cannot bound staleness, we cannot check # transitive revocation, and we must fail closed on depth > 1. cache_age = now - feed_watermark if cache_age > max_cache_staleness: if len(chain.hops) > 1: raise TransitiveRevocationError( f"revocation feed stale by {cache_age:.1f}s; " f"cannot verify depth-{len(chain.hops)} chain transitively" ) # TTL nesting precondition: child must not outlive parent. A violation # means authority was laundered past the parent's expiry. for i in range(1, len(chain.hops)): if chain.hops[i].not_after > chain.hops[i - 1].not_after + 1e-6: raise TransitiveRevocationError( f"hop {chain.hops[i].identity} outlives parent " f"{chain.hops[i - 1].identity}; TTL nesting violated" ) # Transitive revocation check: every hop, not just the leaf. for hop in chain.hops: if hop.not_after < now: raise TransitiveRevocationError(f"hop {hop.identity} expired at {hop.not_after}") if hop.identity in revoked: raise TransitiveRevocationError( f"hop {hop.identity} is revoked; chain presented at {now} " f"carries authority from a withdrawn identity" ) # Depth-2+ chains additionally require a revocation epoch at or after # the latest hop's mint, so a future verifier can re-check without # trusting this verifier's cache. if len(chain.hops) > 1 and chain.revocation_epoch is None: raise TransitiveRevocationError( "depth>1 chain missing revocation_epoch; not re-verifiable" ) ``` The rule an agent runtime should carry: a chain is not a proof of authorization, it is a proof of *delegation at a past instant*. Between that instant and now, any hop may have been withdrawn. Verify the whole chain against current revocation state, or refuse to act on it.