# What happens when an instance's capability warrant outlives its issuing trust broker in a cross-org federation **Date of Record:** 2026 November 28 **Scope:** Applies to federated multi-agent systems where an agent in org A obtains a capability warrant (a signed, scoped, time-bounded grant to invoke a tool/endpoint) from a trust broker in org B, and then presents that warrant to a resource owner in org C. Does not apply to single-org deployments where the broker and the resource owner share a revocation channel, nor to stateless capability tokens with no delegation chain. ## Core Distinction The failure is not "an expired token was accepted." Token expiry is a clock check that every implementation gets right. The failure is subtler: **a warrant carries a delegation chain whose validity is anchored to the liveness of an intermediate broker, but the resource owner only validates the cryptographic signature and the time window — not the liveness of every link in the chain.** When the issuing broker is decommissioned, rotated, or partitioned away, its signature remains mathematically valid and its time window remains open, so downstream resource owners keep honoring warrants that the federation has, in fact, already withdrawn. The warrant is *cryptographically alive but operationally dead*, and nothing in the verification path can tell the difference. This is a continuity invariant problem, not a crypto problem. The signature does exactly what it was designed to do. The gap is that signature validity and *authority continuity* are two different predicates, and federation protocols routinely conflate them. ## What Was Observed A three-org federation: `org-alpha` (agent runtime), `org-broker` (trust broker issuing capability warrants), `org-resource` (tool provider). The flow: 1. `org-alpha`'s agent `planner-7` requests a warrant for `resource.read_ledger` from `org-broker`. 2. `org-broker` issues a warrant `W` with `subject=planner-7`, `scope=read_ledger`, `not_after=T+3600s`, signed by `org-broker`'s key `K_broker`, and — critically — embeds a *delegation chain*: `org-broker` was itself authorized by `org-root` to issue such warrants, evidenced by a parent grant `G_root→broker`. 3. `planner-7` presents `W` to `org-resource`, which validates: (a) `K_broker`'s signature over `W`, (b) `not_after` not passed, (c) `G_root→broker` exists and `org-root`'s signature over it checks out. 4. `org-resource` grants access. The break: at `T+600s`, `org-broker` is rotated out (key compromise drill). `org-root` revokes `G_root→broker` and issues a fresh grant to `broker-v2`. But `W` was already minted and is held in `planner-7`'s working memory and in `org-resource`'s authorization cache. `org-resource`'s validator never re-fetches `G_root→broker`'s revocation status — it cached the chain at first presentation. For the remaining 3000 seconds, `planner-7` continues to read the ledger under a warrant whose *entire issuing authority* has been withdrawn. The observable symptom is not an error. It is **silent over-permissioning that decays only at warrant expiry**, and — worse — if `planner-7` re-derives a fresh warrant from its cached `G_root→broker` (some implementations let the agent self-mint from a cached parent grant), the window can be *extended* past the revocation. The agent has no way to know its authority was withdrawn; from its perspective, every signature verifies. ## Condition of Validity The invariant that must hold for federated capability exchange to be sound is: > A warrant `W` is honored by resource owner `R` at time `t` **iff** the signature chain verifies **and** every link in the delegation chain is *live* at `t` — where liveness is a property of the issuing broker's current status, not of the signature's mathematical validity. Most federation implementations enforce only the first conjunct. The second conjunct requires one of: - **Short warrant TTLs bounded by revocation propagation time.** If revocation of `G_root→broker` takes at most `Δ` to propagate, no warrant may have `not_after > t_revoke + Δ`. This bounds the blast radius but does not eliminate it — it converts an indefinite over-permission into a `Δ`-bounded one. - **Online chain re-validation at each use.** `R` re-checks the liveness of `G_root→broker` against `org-root`'s status endpoint on every presentation. This is correct but turns every tool call into a cross-org round-trip and reintroduces the latency/timeout failure modes of federation. - **Revocation-pushed cache invalidation.** `org-root` pushes revocation events to all resource owners, and `R` treats a missing push as "unknown, deny." This is the only option that is both sound and low-latency, but it requires a push channel that most federations do not provision. The condition of validity is therefore: *the federation must have a bounded, enforced relationship between warrant lifetime and revocation propagation latency.* Absent that relationship, the system has no continuity invariant — authority can outlive its source. ## Decision Boundary The boundary is sharp and can be stated as a test at warrant-issuance time: ``` warrant.not_after - now ≤ revocation_propagation_bound(issuing_broker) ``` If this holds, the warrant is *continuity-safe*: even if the broker dies the instant after issuance, the warrant expires before the revocation can be missed. If it fails, the warrant is *continuity-unsafe*: there exists a window in which the broker is dead, the grant is revoked, and the warrant still verifies. The non-obvious part: **the agent cannot evaluate this test itself.** `planner-7` does not know `revocation_propagation_bound(org-broker)` — that is a property of `org-root`'s push infrastructure, which the agent has no visibility into. So the test must be enforced by the *issuer* (refusing to mint warrants longer than its own propagation bound) or by the *resource owner* (refusing to honor warrants whose chain it cannot re-validate within the bound). An agent that self-mints from a cached parent grant bypasses both enforcement points entirely — which is why self-minting from cached delegation grants must be disabled in any federation with non-zero revocation latency. The decision boundary for the operator is: **do you trust the issuer to bound its own warrant TTLs, or do you require the resource owner to enforce the bound?** Trusting the issuer is cheaper and fails silently. Enforcing at the resource owner is correct and costs a status check. There is no third option that is both. ## Operational Effect When the invariant is violated, the operational effects compound: 1. **Silent over-permissioning.** No error, no log line, no anomaly — the agent's tool calls succeed. Detection requires comparing the set of active warrants against the set of live grants, which no runtime does by default. 2. **Warrant laundering via re-mint.** An agent holding a cached parent grant can mint fresh child warrants after the parent is revoked, extending the effective window indefinitely. This is the most dangerous variant because it defeats TTL bounding. 3. **Auditor divergence.** A post-hoc auditor replaying the delegation chain at audit time sees a revoked grant and flags the access as unauthorized; the runtime, which validated at presentation time, saw a valid chain. The two disagree, and neither is wrong given its inputs — the discrepancy is the continuity gap made visible. 4. **Cascade on broker rotation.** Every in-flight warrant issued by the rotated broker becomes continuity-unsafe simultaneously. A routine key rotation silently converts into a federation-wide over-permission window unless warrants are drained before rotation. The guardrail is to make the continuity test explicit and enforced at the resource owner, and to make self-minting from cached grants a hard error. The code below encodes the check as a runtime guard that refuses to honor a warrant whose chain cannot be re-validated within the propagation bound, and refuses to mint from a cached parent whose liveness is unconfirmed. ```python import time from dataclasses import dataclass class WarrantContinuityError(RuntimeError): """Raised when a capability warrant's authority chain cannot be shown live within the federation's revocation-propagation bound.""" pass @dataclass(frozen=True) class Warrant: subject: str scope: str not_after: float # absolute epoch seconds issuer: str # broker id that signed this warrant parent_grant_id: str | None # link in delegation chain, None if root-issued signature_valid: bool @dataclass(frozen=True) class GrantStatus: grant_id: str live: bool propagation_bound_s: float # max time for revocation to reach resource owners def honor_warrant( warrant: Warrant, now: float, fetch_grant_status, # callable(grant_id) -> GrantStatus max_chain_depth: int = 4, ) -> bool: """Resource-owner-side validation. Enforces BOTH signature validity AND authority continuity: every link in the delegation chain must be live, and the warrant's remaining lifetime must not exceed the propagation bound of its issuing broker.""" if not warrant.signature_valid: raise WarrantContinuityError( f"warrant for {warrant.subject} has invalid signature" ) if now >= warrant.not_after: raise WarrantContinuityError( f"warrant for {warrant.subject} expired at {warrant.not_after}" ) # Walk the delegation chain. Depth-bounded to prevent unbounded recursion # from a maliciously deep or cyclic chain. chain = [] gid = warrant.parent_grant_id depth = 0 while gid is not None: if depth >= max_chain_depth: raise WarrantContinuityError( f"delegation chain exceeds max depth {max_chain_depth} " f"for warrant subject {warrant.subject}" ) status = fetch_grant_status(gid) chain.append(status) if not status.live: raise WarrantContinuityError( f"warrant for {warrant.subject} rests on revoked grant {gid}" ) gid = None # in a real impl: follow to parent of this grant depth += 1 # Continuity bound: the warrant must expire before the issuer's revocation # could fail to reach us. If it outlives that bound, it is continuity-unsafe. if chain: bound = min(s.propagation_bound_s for s in chain) remaining = warrant.not_after - now if remaining > bound: raise WarrantContinuityError( f"warrant for {warrant.subject} outlives revocation bound " f"({remaining:.0f}s remaining > {bound:.0f}s bound); " f"authority continuity cannot be guaranteed" ) return True def mint_from_cached_parent( parent_grant_id: str, fetch_grant_status, requested_ttl_s: float, ) -> Warrant: """Guard against warrant laundering: refuse to mint a child warrant from a cached parent grant whose liveness we have not confirmed *now*.""" status = fetch_grant_status(parent_grant_id) if not status.live: raise WarrantContinuityError( f"refusing to mint from grant {parent_grant_id}: not live" ) if requested_ttl_s > status.propagation_bound_s: raise WarrantContinuityError( f"refusing to mint warrant with ttl {requested_ttl_s}s > " f"propagation bound {status.propagation_bound_s}s for " f"parent {parent_grant_id}" ) return Warrant( subject="", scope="", not_after=time.time() + requested_ttl_s, issuer="", parent_grant_id=parent_grant_id, signature_valid=True, ) ```