# Where must an instance halt when a federated peer's AAIF revocation proof is stale but its signature chain still verifies? **Date of Record:** 2026 November 29 **Scope:** Applies to cross-org agent federation where peer instances present signed identity attestations (attestation-chain JWTs) and rely on AAIF (Agent Attestation & Identity Federation) revocation lists to gate trust. Does not apply to single-org deployments with a shared revocation authority, nor to stateless request/response agents that carry no long-lived identity attestation. ## Core Distinction There are two independent notions of "valid" in a federated attestation: 1. **Cryptographic validity** — the signature chain from the leaf agent key up through the issuing org's attestation authority terminates at a root the verifier trusts, and every signature verifies at the moment of check. 2. **Federation liveness of revocation state** — the AAIF revocation proof (a signed, timestamped revocation set snapshot) the peer presents is *current enough* that the verifier can assert the attested key was not revoked between the attestation's issuance and now. The failure mode is that these two decouple. A peer can present a **cryptographically flawless attestation chain paired with a revocation proof that is stale** — signed correctly, chains to a trusted AAIF root, but its `valid_until` has lapsed or its sequence number has been superseded by a revocation the verifier hasn't yet ingested. Naive verifiers treat "signature chain verifies" as sufficient and admit the peer. The instance must instead halt on the revocation-liveness check independently, because a stale revocation proof is indistinguishable from a *suppressed* one — and a suppressed revocation is exactly what a compromised or decommissioned agent key produces. ## What Was Observed A federated audit trail reconciliation across two orgs (issuer `org-alpha`, verifier `org-beta`) surfaced the following trace. Agent `alpha/worker-7` presented an attestation to `beta/auditor`: - Leaf attestation `att(worker-7)` issued at `T0`, `exp = T0 + 24h`, signed by `alpha/attestation-authority`, chaining to `AAIF-root`. - Bundled AAIF revocation proof `rev(alpha)` with `issued_at = T0 - 6h`, `sequence = 4410`, `valid_until = T0 + 2h`. - At verification time `T0 + 5h`, the signature chain verified cleanly. The verifier's local policy accepted the bundle because `att.exp` had not elapsed. But between `T0 + 2h` and `T0 + 5h`, `org-alpha` had revoked `worker-7` (sequence `4417`) after detecting key exfiltration. `org-beta` had not polled AAIF since `T0 + 1h`. The presented `rev(alpha)` at sequence `4410` was *internally consistent and correctly signed* — it simply predated the revocation. The auditor admitted `worker-7`, and every action `worker-7` took in that window was written into `org-beta`'s audit trail under a now-revoked identity, producing audit records that later could not be reconciled against `org-alpha`'s authoritative log. The divergence was only caught at next-day batch reconciliation, 11 hours and 340 tool-call records later. The non-obvious part: **the verifier did nothing wrong cryptographically.** Every signature it checked was genuine. The failure lived entirely in the gap between "this proof is signed" and "this proof is fresh relative to the revocation authority's current sequence." ## Condition of Validity A federated attestation admission is sound only when all of the following hold simultaneously at decision time `t`: 1. `att.exp > t` (attestation not expired). 2. `rev.valid_until >= t` (revocation proof not stale by its own declared window). 3. `rev.sequence >= last_known_sequence(issuer)` (proof not rolled back below what the verifier has already ingested — this catches replay of an older, pre-revocation snapshot). 4. `rev.issued_at` falls within the verifier's `max_revocation_age` policy window **relative to the verifier's own clock**, not the peer's claimed clock. 5. The revocation proof's signing root matches the same `AAIF-root` trust anchor used for the attestation chain (no root confusion between attestation authority and revocation authority). Condition 3 is the one most often omitted. A stale-but-signed proof is indistinguishable from a replayed older proof unless the verifier maintains a monotonic floor per issuer. The invariant: **the verifier's per-issuer sequence floor is monotonic and non-decreasing; any proof below the floor is rejected regardless of signature validity.** ## Decision Boundary The instance must draw a hard line between *degrade* and *halt*: - If `rev.valid_until < t` but `rev.sequence == last_known_sequence(issuer)` **and** the verifier can complete an on-demand AAIF poll within its `max_staleness_tolerance`, it may proceed under a `PROVISIONAL` trust state — admit the peer but tag every audit record with `revocation_state: unconfirmed` so downstream reconciliation can quarantine. - If `rev.sequence < last_known_sequence(issuer)` — a rollback — it must **halt immediately**. A proof below the floor is never a benign staleness condition; it is either a replay attack or a partitioned peer serving stale state. Neither is admissible. - If no on-demand poll is possible and `rev.valid_until < t`, it must halt. Silent admission on an unconfirmable revocation state is precisely the condition that produced the 11-hour divergence. The boundary is: **staleness may be tolerated under provisional trust if and only if the sequence floor is intact and the proof is not older than policy; rollback below the floor is never tolerated.** ## Operational Effect Enforcing the sequence-floor invariant plus the provisional-trust degradation changes the audit trail's properties: - Every admitted record carries the `rev.sequence` and `rev.valid_until` under which it was admitted, so cross-org reconciliation can retroactively identify records admitted under now-superseded revocation state. - A replayed stale proof is rejected at the floor check before any signature work on downstream attestations, closing the suppression window. - Provisional admissions are bounded: they either get confirmed by a subsequent poll (and promoted) or expire, at which point the peer's continued presence triggers a halt rather than silent drift. The cost is that partitioned verifiers will halt more often. That is the correct trade: a halted verifier produces a visible gap, while a silently-admitting verifier produces an audit trail that *looks* complete and is not. ```python from dataclasses import dataclass from typing import Optional class RevocationStateError(RuntimeError): """Raised when a federated peer's AAIF revocation proof cannot be admitted.""" pass @dataclass class RevocationProof: issuer: str sequence: int issued_at: float valid_until: float signature_chain_ok: bool @dataclass class TrustDecision: state: str # "ADMITTED" | "PROVISIONAL" reason: str class FederationVerifier: def __init__(self, max_staleness_tolerance: float): self.max_staleness_tolerance = max_staleness_tolerance self._sequence_floor: dict[str, int] = {} def _poll_aaif(self, issuer: str) -> Optional[RevocationProof]: # On-demand poll; returns None if the authority is unreachable. return None def admit(self, proof: RevocationProof, now: float) -> TrustDecision: if not proof.signature_chain_ok: raise RevocationStateError( f"revocation proof for {proof.issuer} fails signature chain" ) floor = self._sequence_floor.get(proof.issuer, -1) if proof.sequence < floor: # Rollback below the monotonic floor: never admissible. raise RevocationStateError( f"revocation rollback for {proof.issuer}: " f"proof seq {proof.sequence} < floor {floor}" ) self._sequence_floor[proof.issuer] = max(floor, proof.sequence) if proof.valid_until >= now: return TrustDecision("ADMITTED", "revocation proof fresh") # Stale proof: attempt on-demand confirmation before degrading. fresh = self._poll_aaif(proof.issuer) if fresh is not None and fresh.sequence >= proof.sequence: self._sequence_floor[proof.issuer] = max( self._sequence_floor[proof.issuer], fresh.sequence ) return TrustDecision("ADMITTED", "confirmed via on-demand poll") if (now - proof.valid_until) <= self.max_staleness_tolerance: return TrustDecision( "PROVISIONAL", f"stale revocation proof (seq {proof.sequence}) within tolerance; " "audit records must be tagged revocation_state=unconfirmed", ) raise RevocationStateError( f"unconfirmable stale revocation proof for {proof.issuer}: " f"valid_until {proof.valid_until} vs now {now}, " f"exceeds staleness tolerance {self.max_staleness_tolerance}" ) ```