# In what scenarios must an instance reject a delegated A2A capability warrant whose scope chain has silently widened at a federation hop **Date of Record:** 2026 November 26 **Scope:** Applies to multi-hop Agent-to-Agent (A2A) call chains where an originating agent mints a signed capability warrant, intermediate agents re-delegate attenuated subsets of that warrant to downstream peers, and the receiving instance must decide whether to execute. Does not apply to single-hop delegation, to opaque bearer tokens with no scope structure, or to purely intra-process tool calls. ## Core Distinction The failure mode is not "an agent received a forged warrant." Signatures verify. The failure is that a warrant's *effective scope* at hop N is computed by intersecting the scopes declared at each hop, but each hop's declared scope is itself a *derived* set produced by a probabilistic planner, not a mechanical subset operation. When an intermediate agent re-delegates, it typically *re-serializes* its interpretation of the inherited scope rather than copying the parent scope verbatim. Two things then diverge silently: 1. **The signed scope chain** (what each hop actually attested to, immutable, verifiable). 2. **The effective scope** the receiving instance computes by intersecting those attestations (mutable if any hop's attestation was a *widening* rather than a subset). A warrant is *valid* (signatures check, chain is intact, no hop was skipped) and *unsafe* (effective scope exceeds the originator's intent) at the same time. The receiving instance's default verifier only checks validity. That is the boundary. The invariant that must hold is: **for every hop h, scope(h) ⊆ scope(h-1), and the intersection the receiver computes must equal the originator's attested scope, not merely be a subset of the immediate parent's restated scope.** The second clause is the non-obvious one. Subset-of-parent is necessary but not sufficient, because a parent can itself have widened relative to the grandparent, and the receiver that only checks the last link will accept the accumulated widening. ## What Was Observed A three-hop chain: orchestrator `O` mints a warrant `W0` scoped to `{read:repo/foo, write:repo/foo/tests}` for planner `P`. `P` re-delegates to executor `E`, and `E` re-delegates to a verification peer `V`. At each hop the agent is an LLM that is *asked* to produce the attenuated scope. The observed trace: - `P` reads `W0`, and its planner, asked to "narrow scope for the executor," emits `{read:repo/foo, write:repo/foo/tests, read:repo/bar}`. The `read:repo/bar` is not in `W0`. It appeared because `P`'s context contained a stale prior task referencing `repo/bar`, and the model treated "narrowing" as "restating what I need," not "computing a subset." `P` signs `W1` with its own key. The chain `O→P→E` is cryptographically intact. - `E` receives `W1`, and—correctly implementing subset-of-parent—emits `W2 = {read:repo/foo, read:repo/bar}`. This *is* a subset of `W1`. `E` signs. Chain `O→P→E→V` intact. - `V` receives `W2`, verifies all three signatures, checks `W2 ⊆ W1`, passes, and executes a read against `repo/bar`. The originator `O` never authorized `repo/bar`. No signature was forged. Every hop performed a locally correct subset check against its *immediate* parent. The widening was introduced once, at `P`, by a model that restated instead of intersected, and then *laundered* by two subsequent correct subset operations. The receiver's check `W2 ⊆ W1 ⊆ W0` was never performed as a *transitive* check; only pairwise adjacent links were validated. The tell in the logs: the scope-set cardinality at `P` was strictly larger than at `O` for one resource, while every downstream hop reported "scope narrowed" because its cardinality decreased *relative to its parent*. Monotonic decrease of cardinality per hop masked a single non-monotonic widening event. ## Condition of Validity The receiving instance may execute on a delegated warrant only if it recomputes the **transitive intersection** of the entire attested scope chain and confirms that this intersection equals the originator's root scope, not merely that each adjacent pair is a subset. Concretely, the guard holds iff: - Every hop's signed scope is present in the chain (no hop elided its attestation). - `scope(W_n) ⊆ scope(W_{n-1})` for all adjacent pairs (pairwise subset — necessary). - `⋂_{i=0..n} scope(W_i) == scope(W_0)` (transitive closure equals root — the missing sufficiency condition). - The resource identifiers in each scope are compared under a *canonical* normalization (path normalization, no `..`, no symlink aliasing) before intersection, because a widening can also be smuggled by a normalization mismatch rather than an added element. If the third condition fails, the warrant is *valid but widened*, and the instance must treat it as out-of-scope for the offending resource rather than as a valid authorization. The condition does not hold when the chain is truncated (a hop omitted its attestation) — in that case the intersection is undefined and the instance must fail closed, not assume the missing hop was a subset. ## Decision Boundary The precise line between "accept and execute" and "reject and escalate": - **Accept** when transitive intersection equals root scope *and* all hop attestations are present *and* normalization is canonical. The warrant is safe regardless of how many hops it traversed. - **Reject-and-escalate** when transitive intersection is a strict superset of root scope for any resource. This is the widening case: the instance must not execute the offending resource, must not silently drop it (dropping hides the fault from the originator), and must emit a widening attestation back toward `O` naming the hop index where `scope(W_i) ⊄ scope(W_{i-1})` first occurred. - **Fail-closed** when any hop attestation is missing or normalization is ambiguous. Undefined intersection is not "probably fine." - **Do not** treat pairwise-subset-pass as sufficient. That is exactly the check that let the laundered widening through. The boundary is *not* "did the signatures verify" — that is orthogonal and was satisfied in the observed failure. The boundary is *"does the transitive intersection recover the root scope."* ## Operational Effect Downstream of a receiver that enforces only pairwise subset: widening propagates undetected through any number of correct downstream hops, and the blast radius is bounded only by how far the widened resource is reachable. Because each downstream hop *correctly* reports "narrowed relative to parent," audit logs show a monotonic, healthy-looking scope-shrinking trend while the actual authorized set drifts away from the originator's intent. Post-incident forensics that read per-hop cardinality will conclude "scope only ever shrank" and miss the single widening event entirely. Downstream of a receiver that enforces transitive intersection: the widening is caught at the first receiver after `P`, attributed to hop index 1, and escalated to `O` before any execution against the widened resource. The cost is one full-chain scope recomputation per delegation (O(hops × scope-size)), which is cheap relative to the tool calls it gates. The invariant to instrument is a per-warrant `widened_at` field, default null, set to the lowest hop index where transitive intersection first diverges from root scope — this makes the failure a first-class, queryable signal rather than an absence of one. ```python from dataclasses import dataclass from typing import Optional class WarrantWideningError(RuntimeError): """Raised when a delegated A2A warrant's transitive scope intersection exceeds the originator's root scope, even though every adjacent pairwise subset check passed and all signatures verified.""" @dataclass(frozen=True) class Hop: index: int scope: frozenset[str] signature_valid: bool def verify_delegation_chain(chain: list[Hop], root_scope: frozenset[str]) -> frozenset[str]: if not chain: raise WarrantWideningError("empty warrant chain: cannot recover root scope") # 1. Every hop must attest; a truncated chain has undefined intersection. for expected, hop in enumerate(chain): if hop.index != expected: raise WarrantWideningError( f"hop attestation missing at index {expected}; chain is truncated" ) if not hop.signature_valid: raise WarrantWideningError(f"hop {hop.index} signature invalid") # 2. Pairwise subset: necessary, NOT sufficient. for prev, cur in zip(chain, chain[1:]): if not cur.scope.issubset(prev.scope): raise WarrantWideningError( f"hop {cur.index} scope is not a subset of hop {prev.index}" ) # 3. Transitive intersection must equal the root scope. transitive = frozenset.intersection(*(hop.scope for hop in chain)) if transitive != root_scope: widened = transitive - root_scope culprit = next( (hop.index for hop in chain if not hop.scope.issubset(root_scope)), None, ) raise WarrantWideningError( f"transitive intersection widened at hop {culprit}: " f"unauthorized resources {sorted(widened)}" ) return transitive ```