# What happens when an instance attenuates a capability but the warrant chain re-widens at a federated trust boundary **Date of Record:** 2026 November 28 **Scope:** Applies to cross-organization agent federations where a task warrant carrying a set of capabilities is delegated across an org boundary and attenuated (narrowed) at each hop, then re-presented downstream. Does not apply to single-org deployments where a single trust root signs all warrants, nor to stateless request/response tool calls with no delegation chain. ## Core Distinction There are two distinct things an agent federation can attenuate, and conflating them is the root cause of this failure: 1. **The capability set** — the enumerated verbs/scopes an agent is permitted to invoke (e.g., `read:ledger`, `write:draft`, `transfer<=500USD`). 2. **The warrant chain** — the cryptographic provenance record of *who* delegated *what* to *whom*, including every attenuation step and its signer. A correct federation attenuates both in lockstep: each hop's signed warrant must be a *subset* of its parent's capability set, and the verifier must reconstruct the effective capability as the **intersection over the entire chain**, not the capability declared by the most recent (or most privileged) link. The non-obvious boundary failure is that many implementations attenuate the *presented* capability set correctly at each hop but verify the chain by checking only that *each link's signature is valid*, not that the effective set is monotonically narrowing. When a downstream org re-issues a warrant to its own sub-agent, it frequently re-derives the capability set from its *local policy defaults* rather than from the received attenuated set. The chain signatures all verify; the effective capability silently re-widens. ## What Was Observed A three-org federation: Org A (requester) → Org B (broker/auditor) → Org C (executor). Org A holds `transfer<=10000USD` and delegates to Org B a warrant attenuated to `transfer<=2000USD` scoped to `account:vendor-42`. Org B, per its own policy, cannot execute transfers itself and re-delegates to Org C. Org B's re-issuance code path constructs the child warrant from its **local capability template** (`transfer<=5000USD`, the default ceiling for executor agents in Org B's policy store) and applies the *received scope* (`account:vendor-42`) but not the *received amount bound*. The child warrant's signature is valid under Org B's key; the parent link (A→B) is valid under Org A's key; the full chain verifies cryptographically. Org C's verifier checks: (a) every link signature valid — pass; (b) the leaf signer is a trusted federation member — pass; (c) the leaf capability is within the leaf signer's *own* policy ceiling — pass (`5000 <= 5000`). It never intersects the leaf bound with the ancestor bounds. A `transfer=4800USD` executes. Org A's stated ceiling of `2000` was exceeded by 140%, and the audit trail shows a fully valid signature chain, so no alarm fires. The trigger is precise: **the re-issuing hop derives the child capability from local defaults instead of from the received parent capability, and the terminal verifier validates links independently rather than computing the chain intersection.** Either guard alone would have caught it; both were absent. ## Condition of Validity The re-widening is only *possible* (not merely latent) when all of the following hold: - The delegation chain has **≥3 hops** with at least one intermediate re-issuer whose local policy defaults are *broader* than the attenuated set it received. With 2 hops (A→C directly), there is no intermediate re-derivation step and the failure cannot occur. - The intermediate re-issuer treats the received capability as **advisory context** (a hint for scope) rather than as a **hard bound to be copied**. This is the common mistake: scope fields like `account:*` are visibly "restrictive" and get copied, while numeric bounds like `<=2000` are treated as "the requester's preference" and replaced by local defaults. - The terminal verifier performs **per-link validation** (signature + local policy ceiling per link) rather than **whole-chain intersection**. Per-link validation is the natural implementation when each org independently owns its policy engine and cannot see the others' policy stores. If the intermediate re-issuer copies the received bound verbatim, the failure is prevented even without chain intersection. If the terminal verifier intersects, the failure is prevented even with a sloppy re-issuer. The invariant that must hold is: **effective_capability(leaf) = ⋂_{links in chain} capability(link)**, and this must be enforced at the verifier, because the re-issuer cannot be trusted to preserve it. ## Decision Boundary The boundary between "safe federation" and "re-widened federation" is not whether signatures verify — they will. It is whether the verifier computes the intersection and rejects when the leaf declares a capability outside it. Concretely, the verifier must, for every numeric or bounded capability: - Walk the chain from root to leaf. - For each bounded capability, compute the tightest bound across all links (`min` for upper bounds, `max` for lower bounds, intersection for enumerated sets). - Reject if the leaf's *effective* (post-intersection) capability is empty, or if the leaf *declares* a bound looser than the intersection **and** the leaf intends to exercise the looser bound. A subtlety: it is legitimate for a leaf to *declare* a broader capability than its parent if it will never use the excess — but the verifier cannot know intent, so the safe rule is to **clamp to the intersection and reject any invocation exceeding it**, logging the clamp as a policy event. Rejecting outright on declaration mismatch is stricter but breaks benign re-issuance where the child template is broader but the actual calls are within bounds. Clamping is the operationally correct choice; silent acceptance of the declared bound is the failure. ## Operational Effect The observable effect is a **capability escalation that is cryptographically invisible**. Every signature verifies, every link is individually within its signer's local policy, and the audit log shows a clean chain. The escalation is only detectable by comparing the *effective* bound at the leaf against the *root's* stated bound — a comparison no per-link validator performs. Downstream consequences: - **Audit non-repudiation breaks.** Org A cannot prove Org C exceeded its grant using the chain alone, because the chain shows Org C operating within *Org B's* grant. Liability attribution requires reconstructing the intersection post-hoc from all orgs' policy stores, which may not be co-located. - **Blast radius scales with hop count.** Each intermediate re-issuer with broader defaults can widen the bound. A 4-hop chain through orgs with ceilings of 2k, 5k, 5k, 10k can widen a 2k root grant to 10k. - **The fix is a verifier-side invariant, not a protocol change.** The chain format already carries every bound; the verifier simply must intersect rather than validate-per-link. This is a one-function change in the terminal verifier, and it must be replicated in every org that acts as a terminal executor. The guardrail: **the terminal verifier is the sole authority on effective capability, and it computes the chain intersection, clamps invocations to it, and emits a policy event whenever a link's declared bound exceeds the intersection** (which flags the sloppy re-issuer for remediation without breaking the transaction). ```python from dataclasses import dataclass from typing import Optional class WarrantAttenuationError(RuntimeError): """Raised when a federated warrant chain re-widens a capability at a hop.""" @dataclass(frozen=True) class WarrantLink: issuer: str subject: str transfer_ceiling_usd: Optional[float] # None = unbounded (never trust this) scope_account: str def effective_transfer_ceiling(chain: list[WarrantLink]) -> float: """Compute the tightest transfer ceiling across the whole chain. The invariant: effective capability is the intersection over all links, NOT the leaf link's declared bound. A None ceiling is treated as +inf so it cannot widen the intersection, but a chain that is *entirely* unbounded is rejected as unsafe. """ if not chain: raise WarrantAttenuationError("empty warrant chain") ceiling = float("inf") saw_bounded = False for link in chain: if link.transfer_ceiling_usd is not None: saw_bounded = True ceiling = min(ceiling, link.transfer_ceiling_usd) if not saw_bounded: raise WarrantAttenuationError( "chain has no bounded transfer ceiling; refusing unbounded federation grant" ) return ceiling def authorize_transfer(chain: list[WarrantLink], amount_usd: float) -> None: """Authorize a transfer against the chain intersection, clamping to it. Raises WarrantAttenuationError if the leaf link declares a bound looser than the chain intersection (indicating a re-widening re-issuer), or if the requested amount exceeds the effective ceiling. """ effective = effective_transfer_ceiling(chain) leaf = chain[-1] if leaf.transfer_ceiling_usd is not None and leaf.transfer_ceiling_usd > effective: # The leaf claims more than the chain permits: re-widening detected. # Clamp to effective; flag the leaf for remediation. raise WarrantAttenuationError( f"capability re-widening at leaf: leaf declares " f"{leaf.transfer_ceiling_usd} but chain intersection is {effective}" ) if amount_usd > effective: raise WarrantAttenuationError( f"transfer {amount_usd} exceeds effective chain ceiling {effective}" ) # --- Trigger trace from the observed incident ------------------------------- chain = [ WarrantLink("orgA", "orgB", 2000.0, "account:vendor-42"), # A attenuates to 2000 WarrantLink("orgB", "orgC", 5000.0, "account:vendor-42"), # B re-derives from local default: 5000 ] # authorize_transfer(chain, 4800.0) would have executed under per-link validation. # Under chain intersection it raises: try: authorize_transfer(chain, 4800.0) except WarrantAttenuationError as exc: print(f"BLOCKED: {exc}") ```