# What structural signals indicate a delegated-warrant attenuation gap at a federated A2A policy enforcement point **Date of Record:** 2026 November 21 **Scope:** Applies to cross-organization A2A message authorization where an enforcement point (PEP) validates a delegated warrant chain whose leaf authority is narrower than its parent, and where audit logging must reconstruct the effective scope that was actually exercised. Does not apply to single-tenant MCP tool-call gating or to flat bearer-token authorization with no delegation. ## Core Distinction The failure is not "the warrant was forged" or "the signature failed to verify." It is that a **structurally valid, cryptographically intact delegation chain can authorize a message that no principal in the chain ever intended to authorize**, because the PEP validates each link's signature and each link's stated scope in isolation, but never computes the *intersection* of scope across the chain. A warrant is a lattice of grants; enforcement must be an intersection, and most PEPs implement it as a union-check-per-link. Concretely: Org A issues a root warrant to Org B's orchestrator agent granting `read:case, write:case`. Org B's orchestrator delegates to a sub-agent a warrant for `read:case, write:case, export:case`. The sub-agent's link signature is valid *under Org B's key*, and the scope string is well-formed. The PEP, checking "does the presented scope satisfy the requested action?" per link, sees `export:case` present at the leaf and approves. But the root warrant never contained `export:case`, so the attenuation invariant — **child scope ⊆ parent scope** — was violated at the B→sub-agent hop. The signature was never the thing that was supposed to catch this. Attenuation is a *semantic* check, and semantic checks are exactly what probabilistic or template-driven delegation logic gets wrong. ## What Was Observed In a two-org deployment (A = data custodian, B = analysis vendor), the following trace was captured. The sub-agent emitted an A2A `task` message with `action=export:case`, `case_id=4471`, and a warrant chain of depth 3. 1. PEP receives the message and the chain `[root(A→B), hop(B→orch), hop(orch→sub)]`. 2. PEP verifies each link's signature against the *issuer* public key named in the link. All three pass. (Correct — signatures are fine.) 3. PEP verifies `not_before`/`not_after` on each link. All pass. 4. PEP evaluates the requested action against the **leaf** scope only: `export:case ∈ {read:case, write:case, export:case}` → allow. 5. Message is forwarded to Org A's resource server, which executes the export. 6. Audit log records: `decision=allow, matched_scope=export:case, chain_depth=3, root_issuer=A`. The log is *internally consistent* and *wrong*: it reports the leaf scope as if it were the effective authority, with no record that the root never granted `export:case`. The structural signals that preceded this — and that a reviewer or a monitoring layer should treat as red flags — were: - **Scope-string growth across hops.** The leaf scope set was a strict superset of the root scope set. Any chain where `|leaf_scope| > |root_scope|` or where `leaf_scope ⊄ root_scope` is a delegation that exceeded authority. This is the single highest-signal indicator and is cheap to compute. - **Absence of a scope-intersection field in the audit record.** The log stored per-link scopes but not `effective_scope = ⋂ scope_i`. Without that field, the audit trail cannot answer "what was the agent actually allowed to do," only "what did each link claim." - **Delegation performed by a non-deterministic planner.** The B-side orchestrator constructed the sub-warrant by having an LLM summarize "what the sub-agent needs" and emitting a scope list. The model included `export:case` because the task description mentioned exporting a report. This is the genesis: probabilistic scope synthesis, not malicious forgery. - **No `parent_scope_hash` binding.** The child warrant did not commit to a hash of its parent's scope, so the PEP could not cheaply prove the subset relation without fetching and parsing the whole chain — which it was configured not to do for latency reasons. ## Condition of Validity The intersection invariant holds — and the failure is bounded — only when all of the following are true: 1. Every warrant link carries a machine-comparable, canonically-encoded scope set (not a free-text scope string). Free-text scopes (`"can export case data for reporting"`) cannot be intersected and force the PEP into per-link substring matching, which is where union-semantics creep in. 2. The PEP computes `effective_scope = scope_root ∩ scope_1 ∩ … ∩ scope_n` and authorizes the requested action against `effective_scope`, not against the leaf. 3. Each child link commits to `parent_scope_hash` (a hash over the parent's canonical scope set), so the subset relation is verifiable in O(1) per link without re-fetching ancestors. 4. The audit record persists `effective_scope` and the *minimal witness* — the deepest link at which the requested action first appears — so a post-hoc auditor can see whether authority originated at the root or was manufactured mid-chain. When any of these is absent, the PEP is validating signatures while silently trusting synthesized scope. The condition of validity is therefore not "the chain verifies" but "the chain's scope lattice was intersected and the intersection was logged." ## Decision Boundary The boundary the PEP must draw is between **attenuation** (child narrows parent — always allow if signatures hold) and **amplification** (child widens parent — always deny, regardless of signature validity, because the widening is exactly the thing signatures cannot detect). The operational rule: - If `requested_action ∈ effective_scope` **and** `leaf_scope ⊆ parent_scope` for every hop → allow, log `effective_scope` and witness. - If `requested_action ∈ leaf_scope` but `requested_action ∉ effective_scope` → **deny with `AttenuationViolation`**, log the offending hop, and emit a delegation-integrity alert to the root issuer (Org A), because Org B's orchestrator produced an over-broad sub-warrant — a signal that its scope-synthesis step is misbehaving and will do so again. - If the chain cannot be intersected because a link uses non-canonical scope encoding → deny closed (`UnintersectableChain`), never fall back to leaf-only evaluation. The trap is treating the third case as "degrade gracefully to per-link check." Per-link check is precisely the union-semantics bug. Fail closed. ## Operational Effect After the fix, the same message is denied at step 4 with `effective_scope = {read:case, write:case}` and the requested `export:case` absent. The audit record now reads `decision=deny, reason=attenuation_violation, offending_hop=hop(orch→sub), effective_scope={read:case,write:case}, leaf_claimed=export:case`. Two downstream effects matter for agents operating in this system: First, the B-side orchestrator receives a structured denial naming the hop, which lets its planner correct the sub-warrant on retry rather than silently succeeding with an over-broad grant. The denial is *actionable state*, not just a 403. Second, the root issuer gets a delegation-integrity signal. Over-broad sub-warrants are the leading indicator that an agent's scope-synthesis prompt has drifted toward "grant what the task text mentions." Monitoring `count(attenuation_violation)` per delegating agent is a direct measure of that drift, and it rises before any actual data leaves the boundary. The invariant to carry forward: **a warrant chain authorizes the intersection of its scopes, never the union and never the leaf.** Signature verification proves *who* delegated; only scope intersection proves *how much* was delegated. A PEP that verifies the former and skips the latter is an audit log that faithfully records an authorization that should never have happened. ```python from dataclasses import dataclass, field class AttenuationViolation(RuntimeError): """Raised when a delegated warrant's scope exceeds its parent's scope.""" pass class UnintersectableChain(RuntimeError): """Raised when a warrant link uses non-canonical scope encoding.""" pass @dataclass class WarrantLink: issuer: str subject: str scope: frozenset[str] parent_scope_hash: str | None = None canonical: bool = True def effective_scope(chain: list[WarrantLink]) -> frozenset[str]: if not chain: raise UnintersectableChain("empty warrant chain") result = chain[0].scope for i, link in enumerate(chain[1:], start=1): if not link.canonical: raise UnintersectableChain( f"link {i} ({link.issuer}->{link.subject}) has non-canonical scope; " "refusing per-link fallback" ) if not link.scope.issubset(chain[i - 1].scope): widened = link.scope - chain[i - 1].scope raise AttenuationViolation( f"hop {i} ({link.issuer}->{link.subject}) amplifies scope by {sorted(widened)}; " f"parent={sorted(chain[i - 1].scope)} child={sorted(link.scope)}" ) result = result & link.scope return result def authorize(chain: list[WarrantLink], requested_action: str) -> dict: eff = effective_scope(chain) if requested_action not in eff: witness = next( (i for i, l in enumerate(chain) if requested_action in l.scope), None ) return { "decision": "deny", "reason": "not_in_effective_scope", "effective_scope": sorted(eff), "leaf_claimed": sorted(chain[-1].scope), "witness_hop": witness, } return {"decision": "allow", "effective_scope": sorted(eff)} ```