# Under what conditions must an instance refuse to forward an A2A task warrant whose MCP tool-scope was silently narrowed by an intermediate agent **Date of Record:** 2026 November 22 **Scope:** Applies to any multi-hop agent topology in which an A2A task warrant (a signed capability assertion carrying caller identity, delegated scope, and expiry) is presented to an agent that must then invoke an MCP server on the caller's behalf. Does not cover single-hop direct MCP calls where the originating agent owns the tool credential, nor does it cover purely intra-process tool dispatch. ## Core Distinction The distinction that matters here is between **warrant attenuation** and **warrant narrowing**. Attenuation is the legitimate, monotonic reduction of authority as a warrant crosses an agent boundary: the intermediate agent receives `scope = {files:read, files:write, net:egress}` and forwards `scope = {files:read}` to a downstream MCP server because the specific tool only needs read access. Attenuation is *sound* because the forwarded scope is a strict subset of what the warrant authorized, and the downstream server can only ever exercise less authority than the origin granted. Narrowing is different and dangerous: the intermediate agent forwards a scope that is a subset **at the surface level of the schema** but which, once the MCP server interprets it against its own tool manifest, resolves to a *different or broader* effective capability set. This happens because MCP tool scopes are negotiated per-server against a manifest that the warrant issuer never saw. The A2A warrant's `scope` field is a string set; the MCP server's `tools/list` response maps those strings onto concrete tool bindings via its own internal ACL. When the intermediate agent "attenuates" by dropping a scope string, the MCP server may fall back to a *default binding* for the remaining strings that grants more than the dropped string implied. The invariant that must hold: **a forwarded warrant's effective MCP authority must be provably a subset of the origin warrant's effective authority, evaluated against the receiving server's manifest, not against the forwarding agent's assumption about that manifest.** When this invariant cannot be established before the tool call is dispatched, the instance must refuse to forward. ## What Was Observed A three-agent chain: orchestrator `O` issues an A2A task warrant `W_0` to planner `P` with `scope = {repo:read, repo:annotate, secrets:read}` and `audience = "planner"`. `P` decomposes the task and must call a code-review MCP server `M` to annotate a diff. `P` reasons (correctly, by its own reading) that `M` only needs annotation authority, so it constructs `W_1` with `scope = {repo:annotate}` and forwards it to `M` inside the MCP `initialize` + `tools/call` sequence. `M`'s manifest declares that the `annotate_diff` tool requires `repo:annotate`. But `M`'s ACL has a legacy fallback: any request bearing a warrant with *no* `secrets:*` scope string and *no* `repo:read` string is treated as a "trusted internal annotator" and is granted the `admin:purge_cache` binding implicitly, because the original design assumed such requests came from a hardened CI runner that had already been vetted. `P`'s attenuation — dropping `secrets:read` and `repo:read` — stripped exactly the two scope strings that `M` used as a *negative* signal. The forwarded warrant `W_1` therefore resolved, on `M`'s side, to `{repo:annotate, admin:purge_cache}`: a strict superset of `W_0`'s effective authority at `M`. The failure trace: 1. `O` signs `W_0`. Signature covers `scope` and `audience`. `P` verifies it. OK. 2. `P` constructs `W_1` by subsetting `W_0.scope`. `P` signs `W_1` with its own key and sets `audience = "mcp:code-review"`. `P` does **not** re-derive `W_1`'s effective authority against `M`'s manifest, because it has not fetched the manifest — it assumes `repo:annotate` maps 1:1. 3. `M` receives `W_1`, verifies `P`'s signature, checks `audience` matches, and resolves `W_1.scope` through its ACL table. The absence of `secrets:*` and `repo:read` triggers the trusted-internal-annotator branch. 4. `M` executes `annotate_diff` *and* exposes `admin:purge_cache` to the tool-call surface. `P` never intended to grant this; `O` never authorized it. 5. The over-grant is invisible in `P`'s logs (it logged `scope={repo:annotate}`) and invisible in `O`'s logs (it only sees `W_0`). It is visible only in `M`'s audit log, which no upstream agent reads. The non-obvious part: the failure is caused by *correct* attenuation logic on `P`'s part. `P` did exactly what a careful agent should do — minimize scope. The bug is that minimization against an unknown manifest is not minimization. ## Condition of Validity The refusal obligation is valid — i.e., the instance *must* refuse to forward — precisely when all of the following hold: - The instance holds an inbound A2A warrant `W_in` whose `scope` set is non-empty and whose `audience` field names a downstream MCP server or an agent that will call one. - The instance cannot obtain, before dispatch, a manifest digest from the downstream that binds the scope strings in the outbound warrant `W_out` to concrete tool bindings, *and* the instance cannot prove `effective(W_out, manifest) ⊆ effective(W_in, manifest_origin)`. - The outbound scope `W_out.scope` differs from `W_in.scope` by removal of at least one string that the downstream manifest could interpret as a *negative* or *default-triggering* signal. The obligation does **not** hold when: the instance forwards `W_in` verbatim (no attenuation, so no re-derivation needed — the downstream sees the same scope strings the origin signed); or the instance has a signed manifest digest from the downstream and can compute the effective set locally; or the downstream manifest is known to be *monotone* in scope strings (removing a string never adds a binding), which is a property the downstream must assert, not the forwarder. The subtle case: an instance that forwards verbatim is safe even if it does not understand the manifest, because the origin's authority is preserved exactly. An instance that attenuates *without* manifest knowledge is unsafe even if its attenuation looks conservative. The condition is about *re-derivation*, not about *caution*. ## Decision Boundary The boundary is between "I can prove the subset relation" and "I am guessing the subset relation." Concretely: - **Forward verbatim** if you cannot fetch the manifest. This preserves the invariant trivially: `effective(W_in, M) ⊆ effective(W_in, M)`. The downstream may over-grant relative to what the *task* needs, but it cannot over-grant relative to what the *origin authorized*. - **Attenuate** only if you hold a manifest digest `H(M)` signed by `M` (or by a trust root `M` delegates to), the digest is fresh within the warrant's expiry window, and you can evaluate `effective(·, H(M))` for both `W_in` and `W_out` and confirm subset. - **Refuse** if the manifest is unavailable and the task requires attenuation (e.g., because forwarding verbatim would exceed a downstream rate or audit constraint), or if the manifest digest is stale relative to `W_in.issued_at`, or if `effective(W_out, H(M))` contains any binding not present in `effective(W_in, H(M))`. The last refusal case is the one that catches the observed failure: `P` could not fetch `H(M)`, the task *did* require attenuation (the code-review server rejects warrants bearing `secrets:*` by policy), and so `P` fell into the refuse condition — which it should have honored by escalating to `O` for a re-issued `W_0` scoped to `M`'s manifest, rather than synthesizing `W_1` from its own assumptions. A second boundary: **audience binding must survive attenuation.** If `P` re-signs `W_1` with `audience = "mcp:code-review"`, then `M` must verify that `P`'s key is authorized to speak for `O` on that audience. If `P`'s delegation certificate does not cover `mcp:code-review`, the re-signed warrant is a forgery even though every individual signature verifies. The instance must check delegation coverage before re-signing, not after. ## Operational Effect The practical consequence is that **scope minimization is not a safe default for forwarding agents.** The conventional security intuition — "narrow the scope, reduce the blast radius" — inverts at the MCP boundary because MCP servers routinely use absence-of-scope as a positive signal. The forwarder that drops `secrets:read` to be safe has, against a manifest it did not read, *added* `admin:purge_cache`. The guardrail that bounds this is a **manifest-pinned attenuation protocol**: the forwarder must either (a) forward the inbound warrant unchanged, accepting downstream over-grant bounded by the origin's authority, or (b) present the downstream's signed manifest digest alongside the attenuated warrant, so the downstream can verify that the forwarder evaluated the subset relation against the *actual* manifest rather than a guess. Option (b) requires the downstream to expose `manifest_digest()` as a first-class MCP method and to reject attenuated warrants that lack a matching digest. Without (b), the only sound policy is (a) plus origin-side re-issuance when minimization is required. The residual risk under (a) is that the origin's authority is broader than the task needs — the origin granted `secrets:read` for a different subtask, and the forwarded verbatim warrant carries it into `M`. This is a *containment* problem, solved by issuing narrower origin warrants per subtask, not by forwarder-side attenuation. The forwarder is the wrong place to enforce least privilege across an MCP boundary, because the forwarder does not know the downstream's interpretation function. ```python class WarrantAttenuationError(RuntimeError): """Raised when a forwarding agent cannot prove that an outbound A2A warrant's effective MCP authority is a subset of the inbound warrant's effective authority against the receiving server's manifest.""" def forward_warrant( w_in: dict, w_out_scope: set[str], manifest_digest: dict | None, manifest_fresh: bool, delegation_covers_audience: bool, ) -> dict: """ w_in: inbound warrant with keys scope (set[str]), audience, issued_at. w_out_scope: the scope the forwarder intends to send downstream. manifest_digest: signed manifest mapping scope strings -> tool bindings, or None if the forwarder could not fetch it. manifest_fresh: whether manifest_digest is within w_in's expiry window. delegation_covers_audience: whether the forwarder's delegation cert authorizes it to re-sign for the downstream audience. """ # Case 1: verbatim forward is always sound. if w_out_scope == w_in["scope"]: if not delegation_covers_audience: raise WarrantAttenuationError( "verbatim forward requires delegation coverage for audience " f"{w_in['audience']!r}; forwarder cert does not cover it" ) return {"scope": set(w_out_scope), "audience": w_in["audience"]} # Case 2: attenuation attempted. Require a fresh, signed manifest. if manifest_digest is None: raise WarrantAttenuationError( "cannot attenuate without downstream manifest digest; " "forward verbatim or escalate for origin re-issuance" ) if not manifest_fresh: raise WarrantAttenuationError( "manifest digest is stale relative to warrant issued_at; " "effective-authority subset cannot be established" ) # Case 3: re-derive effective authority on both sides. eff_in = _effective(w_in["scope"], manifest_digest) eff_out = _effective(w_out_scope, manifest_digest) extra = eff_out - eff_in if extra: # This is the observed failure: dropping a scope string triggered # a default-triggering branch and *added* a binding. raise WarrantAttenuationError( f"attenuation adds bindings {sorted(extra)} not present in inbound " f"warrant; scope removal is not monotone under this manifest" ) if not delegation_covers_audience: raise WarrantAttenuationError( "forwarder delegation does not cover downstream audience; " "re-signed warrant would be a forgery despite valid signature" ) return { "scope": set(w_out_scope), "audience": w_in["audience"], "manifest_digest": manifest_digest["digest"], } def _effective(scope: set[str], manifest: dict) -> set[str]: """Resolve scope strings to concrete bindings via the manifest ACL, including default-triggering branches keyed on scope *absence*.""" bindings: set[str] = set() acl = manifest["acl"] for s in scope: bindings |= set(acl.get(s, {}).get("grants", [])) # Absence-triggered defaults: the failure mode observed in the field. for absent_trigger, grant in acl.get("defaults_on_absence", {}).items(): if absent_trigger not in scope: bindings.add(grant) return bindings ```