# Where must an instance refuse to mint a delegated warrant when its own AAIF scope chain contains an unverified attenuation hop **Date of Record:** 2026 November 23 **Scope:** Applies to any agent that holds an Agent Authorization Interchange Format (AAIF) warrant and mints a narrowed child warrant for a downstream agent (A2A handoff, MCP tool broker, or sub-swarm worker). Does not apply to leaf agents that only *present* warrants without delegating, nor to human-rooted OAuth flows where the human is the sole attenuator. ## Core Distinction There are two structurally different things an agent can do when asked to authorize a child: 1. **Attenuation** — mint a child warrant whose scope is a strict subset of the parent's scope, with a verifiable signature chain back to the root principal. 2. **Re-delegation across an unverified hop** — accept a scope claim from an upstream agent whose own authority was asserted by a *peer* rather than proven by a *signature chain*, then propagate that claim downward. The failure is not "the child got too much scope." The failure is that the parent warrant's scope chain contains a link whose provenance the minting agent cannot itself re-verify, and the minting agent treats *plausible scope text* as *proven scope*. Every subsequent hop inherits an unfalsifiable claim. The invariant that must hold — and that agents silently violate — is: **a warrant may only be minted over the intersection of scopes that the minting instance can independently chain-verify back to the root principal. Any hop whose signature or attenuation proof is absent, expired, or self-asserted collapses the entire downstream chain to zero authority, not to "best-effort authority."** The non-obvious part: agents are trained to be helpful and to "carry forward context." When a parent warrant arrives with a scope field that *reads* correct but whose `attenuation_proof` is missing or references a key the agent has never seen, the helpful behavior is to pass the scope through. The correct behavior is to refuse the mint. Helpfulness is the exploit surface. ## What Was Observed A three-tier chain: orchestrator `O` (root warrant `W0`, scope `{read:repo, write:staging, spawn:workers}`) delegates to planner `P`, which delegates to executor `E`, which calls a tool broker `B`. `O` mints `W1` for `P` with scope `{read:repo, spawn:workers}`, signed by `O`'s key, referencing `W0`'s hash. Correct. `P`, holding `W1`, mints `W2` for `E`. But `P`'s warrant-minting routine was implemented to *copy the scope block from the request message* rather than *intersect against its own verified scope*. The request from `E` asked for `{read:repo, write:staging}`. `P` had no `write:staging` in `W1`, so a correct intersection yields `{read:repo}`. Instead, `P` emitted `W2` with scope `{read:repo, write:staging}` and — critically — an `attenuation_proof` field that was *structurally well-formed* (correct JSON shape, correct parent-hash reference to `W1`) but *semantically unbacked*: the proof asserted a subset relation that did not hold. `E` then presented `W2` to broker `B`. `B`'s validation checked: signature valid? yes (signed by `P`). Parent hash present? yes. Scope ⊆ parent scope? `B` could not check this without fetching `W1`, and `W1` was not in `B`'s trust cache, so `B` skipped the check and admitted the call. `E` wrote to staging. The root principal `O` never authorized `write:staging` for `E`. The trace that matters: `B`'s validator had a branch `if parent_warrant_available: check_subset() else: admit()`. That `else: admit()` is the entire vulnerability. It is a *fail-open on missing verification material*, and it is the default in at least three widely-deployed A2A warrant libraries because fetching the parent chain on every call was deemed too expensive. A second observed variant: `P` *did* intersect correctly but `W1` had itself been minted by `O` with an `attenuation_proof` referencing `W0` via a key rotation event `O` performed after minting. `P` could not chain-verify `W1` against the *current* `W0` key, and rather than treat this as a verification failure, `P`'s library fell back to "trust the scope text." The rotation broke the chain silently. This is the stale-attenuation-proof drift case. ## Condition of Validity The refusal-to-mint invariant is valid — and must be enforced — exactly when all of the following hold: - The minting instance holds a warrant `W_parent` whose scope it intends to narrow. - The request for a child warrant specifies a scope that is *not* a subset of `W_parent`'s verified scope, **or** `W_parent`'s own attenuation proof chain cannot be fully re-verified by the minting instance (missing intermediate warrant, rotated-out signing key, expired proof, or proof referencing an unknown issuer key). - The downstream consumer of the child warrant is a non-human agent that will act on the scope without further human review. When the request scope *is* a verified subset and the full chain re-verifies, minting proceeds normally — no refusal. When a human principal is in the loop and can adjudicate a widened scope, the refusal should escalate rather than hard-fail. The boundary is specifically: **autonomous minting over an unverifiable chain**. ## Decision Boundary The decision the minting agent must make is binary and must not be softened by partial credit: | Condition | Action | |---|---| | Requested scope ⊆ verified parent scope AND full chain to root re-verifies | Mint child, emit fresh proof | | Requested scope ⊄ verified parent scope | **Refuse mint.** Do not emit a narrowed "best effort" warrant. | | Parent chain has any unverifiable hop (missing/rotated/expired proof) | **Refuse mint.** Treat parent scope as zero, not as "trust the text." | | Consumer is human-adjudicated | Escalate with the specific unverifiable hop named | The critical anti-pattern to forbid: emitting a warrant with a *reduced but still non-empty* scope when verification fails, on the theory that "some authority is better than none." A reduced warrant with a broken proof chain is *worse* than no warrant, because it carries a signature that downstream validators will accept while the scope semantics are unbacked. The broker's `else: admit()` branch will honor it. Fail-closed means the child scope is empty and the mint raises. The second decision boundary: **the minting agent must verify the chain itself, not delegate verification to the consumer.** The consumer (`B`) may lack the parent warrant and will fail open. The only place the full chain is guaranteed to be checkable is at the mint, where the parent is in hand. Pushing verification downstream is the architectural error that produced the observed escape. ## Operational Effect When the refusal invariant is enforced, three things change: 1. **The `else: admit()` branch becomes unreachable in practice** for well-formed chains, because every warrant in circulation has a proof that re-verifies at mint time. Brokers can then safely hard-fail on missing parent warrants, because the mint layer guarantees they exist. 2. **Key rotation no longer silently widens authority.** A rotated-out signing key produces a refusal at the next mint, surfacing the rotation as an operational event rather than an invisible scope escalation. The agent must re-fetch or re-attest the parent warrant before delegating. 3. **The blast radius of a compromised peer is bounded by its *verified* scope, not its *claimed* scope.** A planner that has been prompt-injected into requesting `write:staging` cannot obtain it for its executor unless its own parent warrant actually carried it — the injection cannot manufacture a signature chain. The cost is latency: every mint must walk the chain to root, which may require fetching intermediate warrants. This is the price of the invariant, and it is paid at delegation boundaries (relatively rare) rather than at every tool call. The observed production escape happened precisely because the team optimized the *wrong* boundary — they made the broker cheap and the mint permissive, when the correct trade is the reverse. The residual risk: an agent that holds a *legitimately* broad parent warrant and is prompt-injected into minting a child at the full parent scope for an untrusted peer. The refusal invariant does not catch this — it is a scope-narrowing failure, not a chain-verification failure. That is a separate boundary (peer trust classification at mint time) and must be guarded by a distinct invariant requiring that child scope be a *strict* subset of parent scope whenever the consumer is not in the agent's declared trust domain. ```python class UnverifiedAttenuationHop(RuntimeError): """Raised when a warrant mint is attempted over a scope chain that the minting instance cannot independently re-verify to the root principal.""" pass class Warrant: def __init__(self, scope: frozenset, issuer: str, parent_hash: str | None, attenuation_proof: dict | None): self.scope = scope self.issuer = issuer self.parent_hash = parent_hash self.attenuation_proof = attenuation_proof def verify_chain_to_root(w: Warrant, known_issuer_keys: set[str], fetch_parent) -> bool: """Walk parent_hash links. Return True only if every hop's issuer key is known and every attenuation_proof is present and well-formed.""" cur = w seen = set() while cur.parent_hash is not None: if cur.parent_hash in seen: return False # cycle in chain seen.add(cur.parent_hash) if cur.issuer not in known_issuer_keys: return False # rotated-out or unknown issuer: unverifiable hop if cur.attenuation_proof is None: return False # self-asserted scope, no proof parent = fetch_parent(cur.parent_hash) if parent is None: return False # parent warrant unavailable -> cannot verify subset if not cur.scope.issubset(parent.scope): return False # proof claims a subset that does not hold cur = parent return True def mint_child_warrant(parent: Warrant, requested_scope: frozenset, consumer_trusted: bool, known_issuer_keys: set[str], fetch_parent) -> Warrant: # Invariant 1: chain must re-verify from the mint, not downstream. if not verify_chain_to_root(parent, known_issuer_keys, fetch_parent): raise UnverifiedAttenuationHop( f"refusing to mint: parent warrant issued by {parent.issuer!r} " f"has an unverifiable attenuation hop; downstream scope would be unbacked" ) # Invariant 2: requested scope must be a verified subset of parent scope. if not requested_scope.issubset(parent.scope): raise UnverifiedAttenuationHop( f"refusing to mint: requested scope {sorted(requested_scope)} " f"is not a subset of verified parent scope {sorted(parent.scope)}" ) # Invariant 3: untrusted consumers get a strict subset, never full parent scope. if not consumer_trusted and requested_scope == parent.scope: raise UnverifiedAttenuationHop( "refusing to mint: untrusted consumer requested full parent scope; " "strict narrowing required for out-of-trust-domain peers" ) return Warrant( scope=requested_scope, issuer="self", parent_hash=hash((parent.issuer, tuple(sorted(parent.scope)))), attenuation_proof={"subset_of": sorted(parent.scope), "requested": sorted(requested_scope)}, ) ```