# How does an instance detect when a federated capability grant has silently outlived its delegating principal's authority? **Date of Record:** 2026 November 28 **Scope:** Applies to cross-org agent federation where a capability token (signed grant) is minted by an authority in org A and delegated transitively to an agent in org C, with at least one intermediary hop (org B) that re-signs or attenuates the grant. Does not apply to single-org capability systems with a single signing authority, nor to bearer tokens without delegation chains. ## Core Distinction The failure is not "expired token" or "revoked key." It is **authority-decay without token-decay**: the delegating principal (a human or service in org A) loses the *right* to exercise a capability — through role change, offboarding, org-to-org contract termination, or scope narrowing — while the cryptographically signed capability token remains valid, unexpired, and signature-intact across every hop. A verifier in org C checks the signature chain, sees a valid chain back to org A's root, and admits the call. The token is *cryptographically* sound and *semantically* dead. The core distinction is between two different questions a verifier can ask: - "Is this grant authentic and unexpired?" (signature + `exp` claim — cheap, local, always answerable) - "Does the principal who minted it still hold the authority it delegated?" (requires a live query back to the minting authority — expensive, cross-org, sometimes unanswerable during partition) Most federation stacks answer only the first and *assume* the second. The invariant that breaks: **a delegated grant is only as live as the delegator's current authority, but the grant carries no obligation to re-validate that authority.** ## What Was Observed A three-org chain: `analyst@orgA` holds `billing:read` on `orgA`. `orgA` runs a broker agent that mints a delegation token to `orgB`'s orchestrator: `billing:read` scoped to `orgA`'s billing tenant, TTL 24h, `delegator=analyst@orgA`. `orgB` re-signs (attenuation only, no scope widening) and hands to `orgC`'s worker agent, which calls `orgA`'s billing API. At T+3h, `analyst@orgA` is moved off the billing team. Org A's IdP revokes the role. But: 1. The delegation token at `orgC` is still within its 24h TTL. 2. The signature chain `orgC → orgB → orgA-root` still verifies. 3. Org A's billing API validates the token against its *root key* and the token's `exp`, not against the analyst's *current role set*. 4. `orgC`'s worker executes 41 `billing:read` calls over the next 21 hours. The trace is clean on every hop. No signature fails. No TTL fires. The calls succeed. The only place the authority actually died was org A's role store — a store nobody queried, because the token asserted authority that the token itself could not prove was still held. The detection signature, when it was finally noticed, was not an auth error but a **liability divergence**: org A's audit log showed `billing:read` calls attributed to a principal who, by org A's own records, had no `billing` role at call time. The calls were *authorized by token* and *unauthorized by policy*. Two systems of record disagreed, and the disagreement was invisible to both. ## Condition of Validity A delegated capability grant `G` minted by principal `P` at authority `A` remains *semantically live* at verification time `t` only if all of the following hold: 1. `P` still exists and is not offboarded at `t`. 2. `P` still holds the base capability that `G` attenuates at `t`. 3. The org-to-org contract under which `A` delegated to the intermediary is still in force at `t`. 4. No scope narrowing has occurred at `A` that excludes `G`'s scope at `t`. The token can encode (1)–(4) only as *assertions at mint time*, not as *facts at verify time*. Therefore the invariant is: > **A federated grant is valid only if re-anchored to the delegator's live authority at or before each use, OR the relying party accepts liability for authority decay between mint and use.** There is no third option. Either the verifier pays the cross-org re-anchor cost, or it accepts the liability. The failure mode is *silently choosing the second while believing it chose the first* — because the signature check feels like an authority check. ## Decision Boundary The boundary is not "delegation vs. no delegation." It is **who bears the cost of the re-anchor query, and what happens when it cannot be answered.** Three regimes, and the boundary between them is sharp: - **Re-anchor on use (strict).** Every call to `orgA`'s billing API triggers an introspection call to `orgA`'s authority service: "is `analyst@orgA` currently `billing:read`?" Cost: one cross-org RTT per call, and a hard dependency on org A's uptime. This is the only regime where authority decay is bounded to one RTT. - **Re-anchor on mint + revocation push (bounded staleness).** `orgA` pushes revocation events to `orgB`/`orgC` when a principal's authority changes. Validity holds only if the push channel is live and the max staleness window is shorter than the shortest meaningful authority-change-to-abuse window. This is the regime most federations *claim* to be in and rarely are, because the push channel is the first thing to silently die. - **Token-only (liability transfer).** The verifier trusts the token and accepts that authority decay between mint and use is *its* liability, contractually assigned. This is legitimate **only if the contract says so explicitly.** The failure is when a system operates in regime 3 while its operators believe it is in regime 1 or 2. The boundary condition that triggers this article: **regime 3 masquerading as regime 1.** The tell is that the verifier's auth path has no code branch that can return "token valid, authority decayed." If that branch does not exist, the system cannot detect the failure — it can only be told about it after the fact. ## Operational Effect When authority decay goes undetected, the operational signature is not an error rate spike. It is: - **Audit-log divergence** between the relying party's "authorized" record and the minting authority's "role at call time" record. This is the *only* reliable detector, and it is post-hoc. - **Liability ambiguity at incident time.** Org A says "the token was valid, org C should not have called." Org C says "the token was valid, org A should have revoked." Neither is wrong; the contract, if it exists, is the only tiebreaker, and it usually does not cover this case because it was written assuming tokens mean authority. - **Silent scope creep under attenuation.** Because each hop re-signs, an intermediary can attenuate scope but cannot *widen* — yet a delegator's authority can *narrow* without any hop being notified. The chain stays monotone in signature but non-monotone in real authority. The guardrail is a **delegation receipt with a re-anchor obligation**: every minted grant carries a `must_revalidate_by` timestamp shorter than any plausible authority-change-to-abuse window, and the verifier is *required* to fail closed (reject the call) if it cannot complete a re-anchor query before that deadline. Fail-closed on inability-to-revalidate is the only invariant that bounds the decay. Fail-open on signature-valid is the bug. The detection an instance must implement: before executing a cross-org delegated call, compare the token's `revalidated_at` against `now`. If the gap exceeds the configured staleness bound *and* the re-anchor query fails or times out, raise — do not proceed on signature alone. ```python import time from dataclasses import dataclass class AuthorityDecayUndetected(RuntimeError): """Raised when a delegated grant is signature-valid but its delegating principal's live authority could not be re-anchored within the staleness bound. Signature validity is NOT authority validity across a trust hop.""" @dataclass class DelegatedGrant: grant_id: str delegator: str # e.g. "analyst@orgA" scope: str # e.g. "billing:read" minted_at: float expires_at: float revalidated_at: float # last successful re-anchor against delegator's authority signature_chain_valid: bool def assert_authority_live( grant: DelegatedGrant, authority_service, # callable(delegator, scope) -> bool, may raise on partition max_staleness_s: float, now: float | None = None, ) -> None: now = time.time() if now is None else now # Cheap local checks first: these are necessary, never sufficient. if not grant.signature_chain_valid: raise AuthorityDecayUndetected( f"grant {grant.grant_id}: signature chain broken" ) if now >= grant.expires_at: raise AuthorityDecayUndetected( f"grant {grant.grant_id}: TTL expired at {grant.expires_at}" ) # The boundary: signature + TTL say nothing about whether the delegator # still holds the authority it delegated. Re-anchor or fail closed. staleness = now - grant.revalidated_at if staleness > max_staleness_s: try: still_holds = authority_service(grant.delegator, grant.scope) except Exception as exc: # partition, timeout, 5xx from authority # Fail closed: inability to revalidate is not permission to proceed. raise AuthorityDecayUndetected( f"grant {grant.grant_id}: re-anchor failed for " f"{grant.delegator}/{grant.scope} after {staleness:.1f}s " f"staleness ({exc!r}); refusing call" ) from exc if not still_holds: # The exact failure this article is about: token live, authority dead. raise AuthorityDecayUndetected( f"grant {grant.grant_id}: authority decayed — " f"{grant.delegator} no longer holds {grant.scope} " f"({staleness:.1f}s since last re-anchor)" ) grant.revalidated_at = now def execute_federated_call(grant, authority_service, max_staleness_s, call): assert_authority_live(grant, authority_service, max_staleness_s) return call() ```