arXiv(opens in a new tab)cs.CRSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.11757

Signing the Transaction but Not the Decision: Whisper Attacks and a Binding Defense for AP2

Yedidel Louck, Amit Dvir, Ariel Stulman

Abstract

Software agents are beginning to shop and pay on a person's behalf. Agent payment protocols such as AP2 produce cryptographically valid signatures for completed purchases, yet do not constrain the decisions that lead to them. Consequently, ordinary product-description text can steer a shopping agent into forming a cart that passes every protocol check but no longer matches the user's request. In this paper, we show that this vulnerability enables three related attacks. In the first attack, the agent is steered into fetching another user's payment credentials. In the second, it assembles a cryptographically valid cart whose contents do not match what the user was shown. In the third, a single factual claim about stock or product lineage moves the agent from the cheaper displayed item to a more expensive one, while the resulting cart remains fully consistent with the listing. In experiments using the Gemini Flash-Lite models that AP2's sample agents specify by default, the three attacks succeeded at rates of 90%, 56%, and 73.3%, respectively. The same vulnerability appears across seventeen Google models, three unrelated agent frameworks, two cross-vendor anchors, and Google's own consumer assistant. To address this attack vector, we introduce A-VIP (AP2 Verified-Intent Protection), a protocol-layer defense that treats the signed intent as a capability grant rather than judging the merchant's description. The defense binds every credential lookup to the session that requested it and every cart line to the listing seen, while flagging unauthorized spending. The first two attacks leave structural traces that these bindings block with zero false positives. The third attack leaves no trace, so A-VIP surfaces unauthorized spending for user confirmation. Finally, we release the A-VIP code, machine-checked invariants, and AP2-WhisperBench, a suite of 1,544 evaluation scenarios.

1 Introduction

The Agent Payments Protocol (AP2) signs three mandates for every purchase: an intent, a cart, and a payment. Every party can then verify that the transaction was authorized and unaltered [25]. These signatures bind the transaction itself, but they do not bind the decision that produced it: nothing in a signed cart records whether the product inside was the one the user wanted or the one a merchant placed in the listing, and the merchant fully controls that text. A single sentence added to a product description, carrying no instruction and contradicting nothing the user said, can change what the agent buys, and the resulting cart still passes every protocol check.

Prior work [20] showed one instance of this problem: a credential leak driven by an injected directive in merchant content. However, in this paper we show that this problem is a family of three attacks. They differ by what the merchant text corrupts and by how readily a model can refuse them. An instruction to fetch another user's payment method, and an instruction to alter the cart, are both commands. A model trained to distrust injected commands can reject them.

A factual claim about stock or product lineage is different. It states a premise the agent reasons over. It steers the choice among legitimately displayed products toward the costlier one, while leaving a cart that remains consistent with what was shown. This escalation from instruction to fact is why the attack outruns the model layer. On the Flash-Lite line that AP2's reference agents pin (Section 7.2), the three attack families reach 90%, 56%, and 73.3%. The last rate is measured on the General Availability (GA) build that the line migrates to. The factual family also crosses model tiers that the instruction families do not reach, succeeding on every one of seventeen Google builds (Section 7.3), spanning open and closed weights, on three unrelated agent frameworks, and on the flagship consumer assistant. Of two cross-vendor anchors, one resists at 1.2%, not the protocol vendor's model. Resistance therefore appears trainable. Yet a purchaser cannot specify, verify, or buy it: the same vendors, price tiers, and open-versus-closed weights appear on both the resistant and

*Y. Louck and A. Dvir are with the Ariel Cyber Innovation Center, Ariel University, Ariel, Israel (e-mail: yedidel.louck@msmail.ariel.ac.il; amitdv@ariel.ac.il).

†^{\dagger}A. Stulman is with the Jerusalem College of Technology, Jerusalem, Israel (e-mail: stulman@jct.ac.il).

the vulnerable sides.

A protocol owner such as AP2's maintainer cannot repair the model layer. It does own the surface the attack crosses, and it can defend the decision rather than the text. Therefore, in this paper we present A-VIP, which reads the signed intent as a capability grant. It removes the user identifier from the agent's reach, so a credential lookup cannot name another account. It binds the cart to the displayed listing by simple arithmetic and identity checks. It also surfaces any spend the intent did not authorize. The two families that leave a structural discrepancy are closed at zero false-positive cost, because the binding inspects structure the protocol already commits to. The Selection family leaves the signed object consistent, so it is surfaced rather than blocked, at a cost that a stated budget removes. The specification already treats prompt injection as a risk to be contained downstream rather than prevented [14,25]. The gap we close is exactly where that containment stops: a decision the mandates never constrained.

To summarize, this paper makes three contributions.

• We characterize the three-family attack (Section 4) and measure it across seventeen Google builds, two cross-vendor anchors, three agent frameworks, and the flagship consumer product (Section 7). Resistance tracks neither vendor, price tier, nor model capability.

• We design a binding defense (Section 5) that closes the two forged families at zero false-positive cost, carries machine-checked credential invariants, and states an honest boundary (Section 7.6) where structure ends and a measured spending surface begins for the family it cannot reach.

• We release AP2-WhisperBench (Section 6), the first AP2-specific reasoning-layer regression suite. It contains 1,544 scenarios whose reasoning-layer families are scored by reading rather than by substring match. The suite ships with the defense and the machine-checked invariants under permissive licenses, so an AP2 maintainer can gate each sample-agent release on it.

We disclosed the Vault Whisper chain to the protocol vendor’s vulnerability reward program under a standard 90-day window. Its timeline, the vendor’s triage, and the ethics of releasing an attack benchmark are in Section 10.

References (54)