# Which invariants prevent warrant-signature re-binding from silently widening authority in Federated A2A v1.0 delegation chains **Date of Record:** 2026 November 25 **Scope:** Applies to A2A v1.0 delegation chains where an agent in trust domain A delegates a scoped capability to an agent in trust domain B, which re-delegates to domain C, and each hop re-signs the warrant under its own domain key. Does not apply to single-domain delegation, to chains where the original issuer's signature is preserved verbatim across hops (attenuation-only model), or to opaque-bearer-token transports. ## Core Distinction The distinction that matters is between **warrant transfer** and **warrant re-binding**. In a transfer model, the delegation chain is a list of signatures over the *same* immutable warrant body: each hop appends a signature attesting "I pass this exact authority onward." In a re-binding model—which A2A v1.0 permits when trust domains do not share a signature-verification root—each hop *re-serializes* the warrant under its own canonicalization rules and signs the re-serialized form. The receiving agent verifies only the immediately preceding hop's signature against the immediately preceding hop's key, because cross-domain root trust does not exist. This is the boundary: the chain remains cryptographically valid at every hop while the *semantic content* of the warrant drifts. Signature validity is preserved; authority scope is not. The failure is invisible to any verifier that checks "is the previous hop's signature good?" without checking "is the previous hop's warrant body byte-identical (or provably subsumed) to the one before it?" ## What Was Observed A three-hop chain executed in production: orchestrator `A:planner` delegated `filesystem.read` scoped to `/data/reports/**` with an expiry of `T+3600s` and a `max_ops: 50` budget to `B:fetcher`. Domain B's warrant serializer normalized glob patterns—collapsing `/**` to `/*` and lowercasing the path—producing `/data/reports/*`, which in B's glob dialect matches exactly one level and *also* matched a symlinked directory `/data/reports/current -> /data/raw`. B re-signed this normalized body under `B:fetcher`'s key and delegated to `C:summarizer`. C verified `B:fetcher`'s signature, found it valid, and executed reads against `/data/raw/**` through the symlink. No signature check failed. No expiry check failed. The `max_ops` counter, which B had reset to `50` because B treated the budget as "per-hop" rather than "chain-global," allowed C to consume a fresh 50 operations. Total operations across the chain reached 137. Three independent drifts compounded in a single handoff: 1. **Pattern normalization widened scope.** A glob dialect mismatch between A and B turned a recursive match into a single-level match that resolved through a symlink to an unintended subtree. 2. **Budget semantics reset.** B interpreted `max_ops` as a per-hop allotment; A had intended it as a chain-global ceiling. Because the re-signed body was the authority of record for C, C had no visibility into A's original intent. 3. **Expiry was re-based.** B's serializer emitted expiry as a relative TTL (`3600s` from B's clock) rather than the absolute timestamp A had signed. Clock skew between B and C added 40 seconds of unauthorized lifetime. The invariant that was violated is not "signatures must verify"—they did. It is: **a re-bound warrant must be provably subsumed by its predecessor, and subsumption must be checked against the original issuer's body, not the predecessor's re-serialization.** ## Condition of Validity The subsumption invariant holds only when all of the following are true simultaneously: - **Canonical body identity across hops.** Every hop carries the original issuer's warrant body as an opaque, signed blob (the *genesis warrant*), alongside its own re-bound interpretation. The re-bound body is advisory; the genesis body is authoritative. - **Scope subsumption is decidable.** The verifier at hop *n* can decide whether `scope(re-bound_n) ⊆ scope(genesis)`. This requires a shared, canonical scope algebra. Globs, regexes, and path prefixes do *not* form a decidable subsumption lattice across dialects; they must be reduced to a common normal form (e.g., explicit path sets, or a typed capability language with a subsumption oracle) before delegation is permitted across a trust boundary. - **Budget and expiry are absolute.** `max_ops` is a chain-global counter decremented at each hop and carried in the genesis body; expiry is an absolute UTC timestamp, never a relative TTL. Relative values are resolved exactly once, at the issuer, before signing. - **The chain is a Merkle-linked list.** Each hop's signature covers `hash(genesis_body) || hash(previous_hop_signature)`. A hop cannot re-bind without either (a) preserving the genesis hash, in which case drift is detectable, or (b) producing a new genesis hash, in which case the chain is visibly a *new* chain and the receiving domain must re-authorize from scratch. When any of these conditions fails—as in the observed chain, where B's serializer had no concept of a genesis blob and treated its own re-serialization as authoritative—the subsumption invariant is undecidable at the verifier and the chain degrades to "trust the previous hop's key," which is exactly the authority-widening failure. ## Decision Boundary The operational decision is: **at a trust-domain boundary, does the receiving agent accept a re-bound warrant, or does it require the genesis warrant plus a subsumption proof?** The boundary is crossed when the receiving domain cannot verify the original issuer's signature directly (no shared root) *and* the warrant body is not byte-identical to the predecessor's. In that regime: - **Accept-and-verify-subsumption** is correct only if a canonical scope algebra exists and the genesis body is present. The verifier must reject if `subsumes(genesis_scope, rebound_scope)` is false or undecidable. - **Accept-and-trust-predecessor** is *never* correct for authority-bearing warrants, because it delegates the scope decision to a party that has already demonstrated it will re-serialize. This is the boundary the observed system crossed. - **Reject-and-re-authorize** is the safe default when no subsumption oracle exists: the receiving domain treats the re-bound warrant as a *request* for authority, not a grant, and issues its own warrant rooted in its own trust domain, with the original chain attached as provenance only. The non-obvious part: the decision boundary is *not* at signature verification. It is at the point where the warrant body is re-serialized. A system that verifies signatures perfectly and re-serializes carelessly is strictly less safe than one that verifies loosely but preserves the genesis body verbatim. ## Operational Effect The downstream effects of missing this invariant are: - **Silent scope widening** through dialect normalization (globs, path case, encoding, trailing-slash semantics, symlink resolution). The widened scope is signed and therefore *looks* authorized. - **Budget and TTL laundering** across hops: per-hop resets multiply the effective budget by the chain depth; relative TTLs accumulate clock skew. - **Non-repudiation collapse.** When the chain is audited after the fact, each hop can point to a valid signature over a body it genuinely signed. No single party is at fault under the transfer model, yet the aggregate authority exceeded the issuer's intent. The audit produces a chain of valid signatures and an invalid outcome. - **Revocation propagation failure.** Revoking the genesis warrant at A does not invalidate the re-bound warrants at B and C, because those are signed under different keys over different bodies. The revocation must be independently propagated to every domain that holds a re-bound descendant, and there is no structural link to enumerate them. The guardrail that bounds this: **genesis-body preservation with Merkle linkage, plus a decidable subsumption oracle at every trust boundary, plus absolute (never relative) budget and expiry fields.** Where the subsumption oracle is unavailable, the only sound policy is re-authorization, not acceptance. ```python import hashlib import time from dataclasses import dataclass class WarrantSubsumptionError(RuntimeError): """Raised when a re-bound warrant is not provably subsumed by its genesis warrant.""" @dataclass(frozen=True) class GenesisWarrant: issuer: str scope_paths: frozenset[str] # canonical, absolute, symlink-resolved max_ops: int # chain-global ceiling expires_at_utc: float # absolute epoch seconds @dataclass(frozen=True) class ReboundWarrant: signer: str genesis_hash: str scope_paths: frozenset[str] remaining_ops: int expires_at_utc: float def _hash_genesis(g: GenesisWarrant) -> str: body = f"{g.issuer}|{sorted(g.scope_paths)}|{g.max_ops}|{g.expires_at_utc}" return hashlib.sha256(body.encode()).hexdigest() def verify_rebound_at_boundary( genesis: GenesisWarrant, rebound: ReboundWarrant, prior_consumed_ops: int, now_utc: float, ) -> None: """Enforce the subsumption invariant at a trust-domain boundary. Rejects any re-bound warrant that widens scope, resets budget, extends lifetime, or detaches from the genesis body. """ if rebound.genesis_hash != _hash_genesis(genesis): raise WarrantSubsumptionError( f"genesis hash mismatch: rebound signs {rebound.genesis_hash!r}, " f"genesis hashes to {_hash_genesis(genesis)!r}; chain is detached" ) widened = rebound.scope_paths - genesis.scope_paths if widened: raise WarrantSubsumptionError( f"scope widening across trust boundary: {sorted(widened)} " f"not within genesis scope {sorted(genesis.scope_paths)}" ) chain_remaining = genesis.max_ops - prior_consumed_ops if rebound.remaining_ops > chain_remaining: raise WarrantSubsumptionError( f"budget reset: hop advertises {rebound.remaining_ops} ops, " f"chain allows {chain_remaining} after {prior_consumed_ops} consumed" ) if rebound.expires_at_utc > genesis.expires_at_utc: raise WarrantSubsumptionError( f"lifetime extension: hop expiry {rebound.expires_at_utc} exceeds " f"genesis expiry {genesis.expires_at_utc}" ) if now_utc >= genesis.expires_at_utc: raise WarrantSubsumptionError( f"genesis warrant expired at {genesis.expires_at_utc}, now={now_utc}" ) def accept_or_reauthorize( genesis: GenesisWarrant, rebound: ReboundWarrant, prior_consumed_ops: int, has_subsumption_oracle: bool, ) -> str: """Decision boundary: accept the re-bound warrant, or force re-authorization.""" if not has_subsumption_oracle: return "REAUTHORIZE" # no oracle -> treat as request, not grant verify_rebound_at_boundary( genesis, rebound, prior_consumed_ops, now_utc=time.time() ) return "ACCEPT" ```