Signing the Transaction but Not the Decision: Whisper Attacks and a Binding Defense for AP2
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.
Create a lesson
Related papers
Sparse Evidence, Decoupled Decisions: Task-Completion Attacks and Decision-Aligned Defenses for Video LLMs
Shared title terminologycs.CRChao Pan, Hongrui Wang, Jiaqi Zhu et al.
Data Poisoning Attacks and Defenses to Local Differential Privacy Protocols: A Survey
Shared title terminologycs.CRXinyu Li, Xuebin Ren, Shusen Yang et al.
Assessing the Robustness of Defense Frameworks Against Data Attacks on AI Systems
Shared title terminologycs.CRVishnu Kurnala, Nelly Elsayed
The MAL Simulator: Cyber Operations Simulation based on Attack & Defense Graphs
Shared title terminologycs.CRJakob Nyberg, Sandor Berglund, Andrei Buhaiu et al.
Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks
Shared title terminologycs.CRXiaoyan Li, Yunli Wang
Mitigating 51% Attacks in Blockchain Systems Through Early Detection and Checkpoint-Based Defense
Shared title terminologycs.CRVictor Kebande