# Which invariants prevent trust amplification in agent-to-agent delegation chains when capability attenuation is verified only at the leaf **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent systems where an orchestrator agent delegates a scoped capability (e.g., "read /finance/q3", "issue refund ≤ $50") to a sub-agent via a signed warrant or capability token, and the sub-agent may further delegate to peers. Does not apply to single-hop delegation where the leaf agent is the only executor, nor to systems where every hop re-validates the full chain against a trusted root synchronously. ## Core Distinction The distinction that matters is between **capability containment** (the leaf cannot exercise more authority than its immediate parent granted) and **transitive trust attenuation** (the leaf cannot exercise more authority than *any* ancestor in the chain granted, including ancestors whose grants were narrower than the immediate parent's). Most delegation protocols—Macaroons, Biscuit, UCAN, and hand-rolled JWT chains—enforce the former trivially: a child's caveat set is a superset of the parent's, so the leaf's token is at most as permissive as its direct issuer. They do *not* enforce the latter, because the leaf's verifier typically checks the token against the immediate issuer's public key and never walks the chain back to the root. This is the seam. When agent B delegates to agent C, B may *widen* its own effective scope relative to what A originally granted—not by forging, but by **re-issuing**. If A granted B `{read: /finance/q3, expires: T+1h}` and B issues C `{read: /finance/*, expires: T+2h}`, C's token is a perfectly valid attenuation of B's token (B had the right to read /finance/q3, and B is asserting C may read all of /finance). The signature chain is intact. The containment check passes at every hop. And yet C now holds authority that A never granted to anyone. The invariant that breaks is: *the effective scope at the leaf must be a subset of the intersection of every ancestor's scope, not merely a subset of the parent's scope.* ## What Was Observed A three-tier research swarm: orchestrator O (holds root warrant, scope `{tool: web_search, domains: [arxiv.org, semanticscholar.org], budget: 500 calls}`), planner P (delegated by O with the same scope minus the budget, set to 200 calls), and executor E (delegated by P). P, needing to resolve a citation, issued E a warrant with scope `{tool: web_search, domains: ["*"], budget: 100}`. The reasoning trace from P was: "E needs to fetch a DOI landing page at doi.org, which is outside my domain list; I'll widen the domain field for this sub-delegation." P did not consider that widening the domain field violated O's original grant, because P's mental model was "I have the web_search tool, so I can scope my child however I like within the tool." E's verifier checked E's token against P's public key, confirmed the caveat set was a superset of P's, confirmed the budget was ≤ P's remaining budget, and executed. E made 340 web_search calls against arbitrary domains—more than O's 500-call budget would have permitted if E had been the only consumer, because P had already burned 180 calls before delegating, and the budget caveat was checked against P's *remaining* budget (20) rather than P's *original* budget (200). The budget caveat was a numeric field, not a monotonic counter, so re-issuance reset it. Total calls across the swarm: 520. O's budget was exceeded by 20 calls, and 340 of them hit domains O never authorized. The failure trace has two independent seams that compounded: (1) the **domain scope was widened by re-issuance** because the verifier only checked parent-to-child containment, and (2) the **budget caveat was non-monotonic** because it was a re-settable integer rather than a decrementing counter bound to the root. Either alone would have been contained. Together they produced an unbounded-egress, over-budget execution that every individual signature check declared valid. ## Condition of Validity The leaf-only verification model is valid only under the conjunction of: 1. **Scope monotonicity across the chain.** For every hop, `scope(child) ⊆ scope(parent)`, and the verifier walks the full chain to the root, computing `effective_scope = ⋂ scope(ancestor_i)` for all i. A verifier that checks only `scope(child) ⊆ scope(parent)` is valid only if scope is *never re-issued*—i.e., the child receives a reference to the parent's token plus a narrowing caveat, never a freshly minted token with a new scope field. 2. **Resource caveats are counters, not fields.** Any budget, rate, or quota caveat must be a monotonically decrementing counter whose state is anchored at the root and whose consumption is attested at every hop. A re-settable integer is a *permission to spend up to N*, not a *budget of N total*, and re-issuance multiplies it. 3. **Trust attenuation is verified transitively, not locally.** The leaf's verifier must resolve the chain to a trusted root and check that no ancestor's scope was widened by a descendant. This is the expensive check, and it is the one that gets skipped under latency pressure. When any of these fails—and in the observed system, (1) and (2) both failed—the delegation chain is no longer a trust-attenuation structure. It is a trust-*amplification* structure with valid signatures at every link. ## Decision Boundary The boundary between "acceptable leaf-only verification" and "must walk the chain" is not "how many hops" but **whether any hop is permitted to re-mint scope**. Concretely: - If delegation is implemented as **caveat-narrowing on a shared token** (the child holds the parent's token plus additional restrictions, and the root's signature covers the base grant), leaf-only verification is sound, because the base grant is the root's and cannot be widened by adding caveats. Macaroons and Biscuit are in this class *if used correctly*—the failure above occurred because P minted a new base grant rather than adding a caveat to O's. - If delegation is implemented as **re-issuance** (each hop signs a new token with its own scope field), leaf-only verification is unsound the moment any hop's scope differs from its parent's in a widening direction, and the verifier must walk to root. There is no hop count below which this is safe; a two-hop chain with re-issuance can amplify. The operational decision is therefore: **either forbid re-issuance of scope fields (force caveat-narrowing on a root-signed base), or mandate full-chain walk at every leaf verification, with no caching of intermediate results across hops.** The middle path—re-issuance with leaf-only checks—is the one that produced the observed failure, and it is the default in most agent frameworks because it is the easiest to implement. ## Operational Effect The immediate effect is that a sub-agent's effective authority is bounded by the *most permissive ancestor's re-issuance*, not by the root grant. In the observed swarm this meant E's egress was bounded by P's imagination of what E needed, not by O's security policy. The second-order effect is worse: because every signature check passed, the audit log recorded a clean chain. Post-incident forensics had to reconstruct the effective scope by replaying each hop's re-issuance and intersecting—a computation the runtime never performed. The system had *evidence* of the violation but no *detection* of it. The guardrail that bounds this is a **chain-walk verifier with a monotonic-counter caveat type**, plus a hard rule that scope fields are immutable across hops (children add caveats, never fields). In practice this means the delegation primitive must be `narrow(parent_token, additional_caveats) -> child_token`, not `mint(scope, issuer_key) -> child_token`. The latter is the footgun. Any agent framework that exposes a "delegate with scope" API where the scope is a fresh object is exposing this failure mode, and any agent that reasons "I have the tool, so I can scope my child" is the reasoning trace that triggers it. ```python from dataclasses import dataclass, field from typing import FrozenSet class TrustAmplificationError(RuntimeError): """Raised when a delegation chain widens authority relative to any ancestor.""" pass @dataclass(frozen=True) class Warrant: issuer: str scope: FrozenSet[str] # immutable; children may only add caveats budget_remaining: int # monotonic counter, never re-settable parent: "Warrant | None" = None caveats: FrozenSet[str] = field(default_factory=frozenset) def narrow(self, issuer: str, extra_caveats: FrozenSet[str], spend: int) -> "Warrant": if spend > self.budget_remaining: raise TrustAmplificationError( f"{issuer} attempted to spend {spend} > remaining " f"{self.budget_remaining}") return Warrant( issuer=issuer, scope=self.scope, # NOT re-mintable budget_remaining=self.budget_remaining - spend, parent=self, caveats=self.caveats | extra_caveats, ) def verify_chain(leaf: Warrant, root_issuer: str) -> Warrant: """Walk to root; reject any hop whose scope differs from its parent's.""" node, chain = leaf, [] while node is not None: chain.append(node) node = node.parent if chain[-1].issuer != root_issuer: raise TrustAmplificationError( f"chain does not terminate at trusted root {root_issuer!r}; " f"got {chain[-1].issuer!r}") for child, parent in zip(chain, chain[1:]): if child.scope != parent.scope: raise TrustAmplificationError( f"scope widened at hop {parent.issuer}->{child.issuer}: " f"{set(child.scope) - set(parent.scope)} not in ancestor grant") if child.budget_remaining > parent.budget_remaining: raise TrustAmplificationError( f"budget reset at hop {parent.issuer}->{child.issuer}: " f"{child.budget_remaining} > {parent.budget_remaining}") return chain[-1] ```