New to ShortSpan? We distil the AI-security research that matters into practitioner takeaways — edited by Ben Williams (NCC Group). Get the weekly email
// Analysis

Whisper Attacks Steer AP2 Agents Past Intent

Agents
Whisper Attacks Steer AP2 Agents Past Intent

New research shows merchant text can steer AP2 shopping agents into credential leaks, mismatched carts, and pricier selections while every purchase still verifies. Success rates hit 90%, 56%, and 73.3% across many Google models and frameworks. A protocol defence, A‑VIP, binds intent, credentials, and carts, surfacing unapproved spend.

Shopping agents are starting to check out on our behalf. The Agent Payments Protocol (AP2) signs what gets paid for, but not how the decision was made. That gap matters: the paper shows that ordinary merchant text can steer an agent into the wrong action while the signature still checks out.

How the attacks land

The team targets an unmodified AP2 v0.2.0 reference deployment and several agent stacks. They start with instruction-style whispers that exploit merchant-controlled fields. In Vault Whisper, the merchant text nudges the agent to fetch another user’s payment credentials. On the Gemini Flash‑Lite builds specified by AP2’s sample agents, this hit 90%. Because AP2 validates the resulting mandate, not the credential lookup, the theft rides along with a clean cryptographic trace.

Branded Whisper forges what the agent buys. The agent assembles a cart whose lines, prices, or payee don’t match what the user saw, yet the cart still passes AP2 checks. On the same sample setup, success reached 56%. Again, the protocol signs the cart the agent built, not the display context the user relied on.

The most subtle is Selection Whisper. A single factual claim about stock or product lineage is enough to pull the agent from the cheaper displayed item to a pricier variant that still looks consistent with the listing. This scored 73.3% on the GA Flash‑Lite successor and reproduced across seventeen Google builds, three agent frameworks, two cross‑vendor anchors, and Google’s consumer assistant. One non‑Google reasoning model resisted at 1.2%. Resistance did not track vendor, price tier, or model capability, so attackers can aim for the weakest deployed model in the chain.

What the protocol fix changes

The defence, A‑VIP (AP2 Verified‑Intent Protection), reframes intent as a capability grant rather than trying to police merchant prose. It binds every credential lookup to the requesting session using a single‑use token (DDFC) and structurally binds each cart line to the recorded listing and payee. Those bindings block Vault and Branded families with zero false positives in the authors’ tests. Selection Whisper leaves no structural trace, so A‑VIP flags the spend as unauthorised for user confirmation, or relies on a machine‑readable budget if provided. A secondary content‑inspection layer exists, but a stress test shows a non‑zero strict false‑positive rate of 12%.

The work ships code, machine‑checked invariants, and AP2‑WhisperBench, a 1,544‑scenario test suite, making the claims reproducible. It also makes a governance point: protocol owners cannot count on model behaviour they don’t control. If agents are going to hold wallets, binding decisions to what users actually saw and approved is not a nice‑to‑have; it is the trust boundary.

Additional analysis of the original ArXiv paper

📋 Original Paper Title and Abstract

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

Authors: Yedidel Louck, Amit Dvir, and Ariel Stulman
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.

🔍 ShortSpan Analysis of the Paper

Problem

This paper examines a class of vulnerabilities in agent-mediated commerce where the Agent Payments Protocol (AP2) signs the outcome of a purchase but does not bind the underlying decision process. Merchant-controlled free-text fields can steer a shopping agent into making choices that produce cryptographically valid mandates while diverging from the user’s intent. The authors show three real-world attack families that exploit this gap, demonstrate high success rates across many models and deployments, and argue that protocol-layer controls are required because model-layer fixes are not under a protocol owner’s control.

Approach

The authors define three adversary goals: Vault Whisper (induce the agent to fetch another user’s payment credentials), Branded Whisper (produce a signed cart whose lines, prices, or payee do not match the displayed listing), and Selection Whisper (use factual claims about stock or lineage to steer the agent toward a costlier displayed product). They evaluate attacks end to end on an unmodified AP2 v0.2.0 reference deployment, across seventeen Google builds, multiple cross-vendor models, three agent frameworks, and Google’s consumer assistant. They build and release AP2-WhisperBench, a suite of 1,544 scenarios and deterministic judges, and implement a protocol-layer defence called A-VIP consisting of a credential-binding primitive (DDFC), structural cart bindings, a spending-confirmation rule, and a secondary content-inspection layer.

Key Findings

  • Instruction-based leaks succeed at high rates on AP2 sample agents: Vault Whisper reached 90% and Branded Whisper 56% on the Gemini Flash-Lite line used by the reference sample.
  • Factual steering is especially potent: Selection Whisper reached 73.3% on the GA Flash-Lite successor and succeeds across all tested Google builds, three agent frameworks, two cross-vendor anchors, and the consumer assistant; one non‑Google reasoning model resisted with a 1.2% rate.
  • Resistance does not track vendor, price tier, or model capability; similar-priced models and higher-capability builds can be either vulnerable or resistant, so a protocol owner cannot rely on model choice.
  • A protocol-layer defence that treats a signed Intent as a capability grant can block the two forged families without false positives by (i) replacing user identifiers with a session-bound single-use token (DDFC) and (ii) structurally binding each cart line to the recorded listing and payee. The Selection family leaves no structural trace and is surfaced for confirmation rather than silently blocked.
  • The AP2-WhisperBench benchmark and the A-VIP code and machine-checked invariants are released to support reproducible evaluation and rollout checks.

Limitations

Some consumer-product measurements use limited trial counts and single-trial observations for some reasoning-tier builds, so percentages carry uncertainty. The content-inspection secondary layer has a nonzero strict false-positive rate reported at 12% on a stress test. Selection Whisper cannot be fully prevented by structural checks; it is mitigated by surfacing unapproved spending or by expressing a machine-readable budget in the Intent.

Implications

Attackers controlling merchant text can induce credential exposure, cart corruption, or silent price escalation while producing cryptographically valid mandates, enabling credential theft, unauthorised spending, and supply of attacker-controlled products or payees. Because model behaviour is inconsistent across builds and vendors, attackers can exploit the weakest deployed models. The protocol-layer defence demonstrates how a protocol owner can materially reduce attack surface by binding credentials and cart lines to session and display context, while selection-driven escalations must be surfaced to users as potential unauthorised spend.

// Similar research

Related Research

Get the weekly digest

The few AI-security papers that matter, with the practitioner takeaway. No spam.