# Which invariants prevent mTLS-bound agent passports from outliving a revoked trust anchor during cross-org federation handoffs **Date of Record:** 2026 November 21 **Scope:** Applies to federated agent systems where an agent instance presents a passport (a signed capability/identity document) bound to an mTLS client certificate, and where trust anchors (root CAs / federation roots) can be revoked by an issuing organization. Does not cover single-org deployments with a shared PKI, nor bearer-token-only auth without certificate binding. ## Core Distinction The failure is not "the certificate expired" or "the passport signature is invalid." Both of those are caught by ordinary verification. The boundary failure is **temporal skew between three independent revocation surfaces that are supposed to be conjunctive but are evaluated at different instants**: 1. The mTLS handshake validates the *peer certificate chain* against a trust anchor at connection-establishment time. 2. The passport is validated as a *signed document* against the issuing org's key, with its own `not_after` and its own embedded `anchor_id`. 3. The *revocation state* of the trust anchor (the federation root that vouches for the issuing org) propagates via CRL/OCSP-like feeds with independent latency. An agent whose passport is still cryptographically valid, whose mTLS cert is still within validity, and whose trust anchor was revoked ninety seconds ago at the issuer will **pass a handoff** because the receiving org validated the chain before the revocation feed landed, and the passport carries no freshness proof that would force re-validation of the *anchor*, only of the *leaf*. The core distinction: certificate revocation and trust-anchor revocation are not the same event class. Leaf revocation is a per-connection check. Anchor revocation is a per-federation-membership check that must be re-evaluated on every handoff, not cached with the connection. ## What Was Observed A federated swarm of three orgs — issuer `A`, relay `B`, executor `C` — passed a baton from an A-issued agent to C via B. The A agent's passport embedded `anchor_id = A-root-2024`, signed by A's intermediate. At T+0, A's security team revoked `A-root-2024` after detecting intermediate compromise, publishing a signed revocation record to the federation revocation feed. Feed propagation to B: ~40s. Feed propagation to C: ~110s (C pulled on a 60s poll cycle plus jitter). - At T+8s, agent A1 initiated handoff to B. B's mTLS handshake completed against A's chain — valid, not yet expired. B fetched the revocation feed, saw nothing for `A-root-2024` (feed had not landed), accepted the passport, and **cached the anchor as trusted for the connection lifetime**. - At T+45s, B relayed the baton to C. B re-validated the passport signature (still valid) and forwarded the mTLS session metadata, but did **not** re-check the anchor against its now-updated feed, because its trust cache keyed on `anchor_id` and the entry was still warm. - At T+70s, C accepted the baton. C's feed had also not yet updated. The agent executed a privileged action under a trust anchor that had been dead for over a minute. The observable signature in logs: three successful `anchor_trust=OK` assertions, all of which were *true at assertion time* and all of which were *stale by the time the action executed*. No single component logged an error. The failure was invisible to per-hop validation because each hop validated correctly against its own lagging view. The compromised agent executed for 62 seconds past anchor revocation before C's feed caught up and a subsequent re-check (on an unrelated operation) finally rejected it. ## Condition of Validity The invariant that *should* hold is: **a privileged action may execute only if the executing org holds a revocation-fresh view of the anchor that vouches for the acting agent's passport, and that freshness is proven, not assumed.** This is violated whenever any of the following hold: - The trust cache is keyed on `anchor_id` alone, without a `feed_epoch` or `validated_at` bound to the action's execution deadline. - The passport has no `anchor_revocation_epoch` field that the verifier can compare against its own feed position — i.e., the passport proves *who signed it* but not *that the signer was alive at a known epoch*. - Revocation feed propagation latency is unbounded relative to the maximum permitted action window. If max action window is 60s and worst-case feed lag is 110s, no local check can be sound. - The handoff protocol re-validates the leaf chain at each hop but treats the anchor verdict as a property of the *session*, not of the *action*. The condition is *valid* (i.e., the guardrail works) only when the passport binds an anchor epoch, the verifier's feed position is attested, and the action's deadline is strictly inside the proven-fresh window. Absent all three, the system is running on the hope that feeds propagate faster than agents act. ## Decision Boundary The boundary is between **two legitimate design choices**, and the failure lives in the gap where teams pick neither: - **Model 1 — Anchor-as-session:** treat anchor trust as established at session start and valid for the session. Sound *only* if session lifetime ≤ minimum feed propagation bound across all federation members, and if the session is torn down on any anchor revocation seen before the next action. Requires a hard, enforced `max_session_duration < min_feed_lag`. - **Model 2 — Anchor-as-action:** re-prove anchor freshness at every privileged action. Requires the passport to carry `anchor_id` + `anchor_epoch`, and the verifier to assert `feed_position >= anchor_epoch AND feed_age < action_deadline`. The failure occurs when a system *appears* to be Model 2 (it re-validates the passport at each hop) but is *operationally* Model 1 (it caches the anchor verdict per connection). The decision boundary is: **at the moment of a privileged action, is the anchor verdict derived from a feed read whose timestamp is bounded relative to the action deadline, or is it inherited from a prior connection?** If inherited, the system is Model 1 and must enforce the session-duration bound. If derived, it must enforce the epoch comparison. Mixing the two — inheriting the verdict while claiming per-action validation — is the exact condition under which a revoked anchor executes work. A concrete rule: if `max_action_window >= min_feed_lag`, Model 1 is unsound and the system must be Model 2. If `max_action_window < min_feed_lag`, Model 2 is required anyway to avoid false rejections during propagation. ## Operational Effect Downstream, the failure produces a class of incidents that are hard to attribute because every component behaved correctly given its local view: - **Post-hoc audit shows a valid execution** — the action's passport signature verifies, the mTLS chain verifies, and the anchor was valid at the recorded assertion time. The revocation is only visible by correlating the action timestamp against the *issuer's* revocation publication time, which the executing org may not have retained. - **Baton-passing amplifies the window** — each hop adds a re-validation that *looks* like a freshness check but isn't, so a three-hop chain can extend the effective stale window to the sum of per-hop feed lags. - **Revocation storms cause false negatives** — when a feed does land mid-session, Model-1 systems tear down connections that were fine, and Model-2 systems without epoch binding reject passports that are actually current, producing availability failures that mask the original soundness gap. The guardrail that bounds it: bind `anchor_epoch` into the passport at issuance, require the verifier to attest its feed position at action time, and enforce `action_deadline < feed_position_age_upper_bound`. Anything weaker is a session-scoped hope. ```python import time from dataclasses import dataclass class StaleAnchorTrustError(RuntimeError): """Raised when a privileged action would execute under an anchor verdict that is not proven fresh relative to the action deadline.""" @dataclass class Passport: anchor_id: str anchor_epoch: int # issuer's feed position when passport was signed not_after: float @dataclass class FeedView: anchor_id: str position: int # verifier's last-seen revocation epoch read_at: float # monotonic timestamp of the feed read def authorize_action( passport: Passport, feed: FeedView, action_deadline: float, now: float, max_feed_age: float, ) -> None: if now > passport.not_after: raise StaleAnchorTrustError( f"passport expired at {passport.not_after}, action at {now}" ) if feed.anchor_id != passport.anchor_id: raise StaleAnchorTrustError( f"feed covers {feed.anchor_id}, passport binds {passport.anchor_id}" ) feed_age = now - feed.read_at if feed_age > max_feed_age: raise StaleAnchorTrustError( f"feed read {feed_age:.1f}s ago exceeds max_feed_age {max_feed_age}s; " f"anchor verdict is inherited, not proven" ) if feed.position < passport.anchor_epoch: raise StaleAnchorTrustError( f"feed position {feed.position} < passport anchor_epoch " f"{passport.anchor_epoch}; revocation state unknown for this anchor" ) if action_deadline - now > max_feed_age: raise StaleAnchorTrustError( f"action window {action_deadline - now:.1f}s exceeds feed freshness " f"bound {max_feed_age}s; Model-1 session caching is unsound here" ) ```