Whispers of Wealth: Red-Teaming Google’s Agent Payments Protocol via Prompt Injection
Tanusree Debi, Wentian Zhu · 2026
Read Whispers of Wealth: Red-Teaming Google’s Agent Payments Protocol via Prompt Injection by Tanusree Debi, Wentian Zhu (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-22569.txt.
Introduction
Tanusree Debi and Wentian Zhu red-team Google's Agent Payments Protocol by prompt injection. The protocol aims to secure agent-led buys with signed, checkable mandates. Their 2026 preprint notes that agents reason from context, which leaves a door for crafted text to bend a payment.
They probe how robust those mandates are in real runs. A payment rail that agents can be talked out of is a live risk. The work is a stress test, meant to harden the design. It warns builders that signed forms alone may not stop a sly prompt. Their report gives defenders a clear place to start.
Catalog record
| CREATOR | Tanusree Debi, Wentian Zhu |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-22569
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Whispers of Wealth: Red-Teaming Google’s Agent Payments Protocol via Prompt Injection Tanusree Debi, Wentian Zhu Abstract Large language model (LLM)–based agents are increasingly used to automate financial transactions, yet their reliance on contextual reasoning exposes payment systems to prompt-driven manipulation. The Agent Payments Protocol (AP2) aims to secure agent-led purchases through cryptographically verifiable mandates, but its practical robustness remains underexplored. In this work, we perform an AI red-teaming evaluation of AP2 and identify vulnerabilities arising from indirect and direct prompt injection. We introduce two attack techniques—the Branded Whisper Attack and the Vault Whisper Attack —which manipulate product ranking and extract sensitive user data. Using a functional AP2-based shopping agent built with Gemini-2.5-Flash and the Google ADK framework, we experimentally validate that simple adversarial prompts can reliably subvert agent behavior. Our findings reveal critical weaknesses in current agentic payment architectures and highlight the need for stronger isolation and defensive safeguards in LLM-mediated financial systems. 1 Introduction LLMs have rapidly evolved from conversational systems to autonomous agents capable of planning, tool execution, and multi-step coordination across external services [ 1 ] . These agentic systems are now deployed in high-stakes settings such as healthcare management, automated customer support, software deployment, and financial transactions. Among these, agent-based payment systems are particularly sensitive because LLM-driven decisions directly govern monetary authorization and execution. To support agent-based commercial interactions, Google recently introduced the AP2 [ 1 ] , an open framework that enables AI agents to initiate and complete payments through natural-language inputs while enforcing user authorization via cryptographically signed mandates . AP2 extends the Agent2Agent (A2A) [ 4 ] protocol and integrates with the Model Context Protocol (MCP). Using industry rules and standards, it establishes a payment-agnostic framework for users, merchants, and payment providers to transact with confidence across all types of payment methods 1 . However, AP2 also inherits a core challenge of agentic architectures: the reliance on LLM reasoning, persistent conversational context, and inferred intent, all of which are susceptible to prompt injection, instruction hijacking, cross-agent influence, and unauthorized tool invocation [ 12 ] . These vulnerabilities create opportunities for fraudulent transactions and leakage of sensitive payment data, underscoring the need for rigorous adversarial evaluation. While prior work has examined LLM susceptibility to adversarial prompting, its implications for cryptographically governed payment systems remain largely untested [ 14 ] . In this study, we employ an AI Red-Teaming approach to evaluate the security of the Agent Payments Protocol. We implement and deploy a working prototype built with AP2, analyze its operational workflow, and identify possible security risks embedded within it. Through controlled adversarial experiments, particularly involving prompt injection attacks, we explore how malicious inputs could manipulate the protocol’s decision-making or payment authorization processes. Our findings reveal multiple classes of vulnerabilities that developers using AP2 may inadvertently introduce. Based on these observations, we further propose a series of defensive mechanisms and design recommendations to mitigate such risks. Figure 1 : Agent Payment Protocol (AP2) [ 2 ] 2 Background 2.1 Agent Payments Protocol (AP2) The Agent Payments Protocol (AP2) is an open protocol developed through collaboration with major payment providers and technology companies to support secure agent-led payment transactions across platforms. Recently released (September 16, 2025) AP2 primarily addresses emerging challenges introduced by large language model (LLM) based agents that can autonomously initiate and complete financial actions on behalf of users. As these agents increasingly depend on natural-language interaction and automated reasoning, traditional payment APIs, which are designed for explicit, real-time user authorization, are insufficient to support delegated authority and accurately capture user intent. AP2 addresses these limitations by integrating explicit, cryptographically verifiable consent mechanisms directly into the payment workflow. At a conceptual level, AP2 is designed to resolve three fundamental questions that arise when an agent performs a transaction on behalf of a user: whether the transaction was authorized by the user, whether the agent’s request accurately reflects the user’s intended purchase, and whether responsibility can be clearly established in the event of failure or misuse. These questions correspond to three core security properties that AP2 enforces: authorization, authenticity, and accountability, which, as illustrated in Figure 2 , collectively form the foundation of trust in agent-mediated payment systems. Figure 2 : Key Security Questions Addressed by the Agent Payments Protocol (AP2) Authorization is enforced by requiring the agent to hold a signed representation of the user’s intent prior to initiating any payment-related action. Authenticity ensures that transaction details, including items, prices, and merchants, remain consistent with what the user explicitly approved, thereby preventing unauthorized modification or misrepresentation. Accountability is achieved by cryptographically signing each step of the transaction pipeline, creating a verifiable and auditable record of agent actions. Together, these mechanisms establish a secure chain of evidence that links user intent to the final transaction outcome, even in highly automated or delegated payment scenarios. At the core of AP2 is the concept of digitally signed mandates , which encode user consent in a verifiable and tamper-resistant form. Mandates function as cryptographic contracts that specify who is authorized to act (the agent), what actions are permitted (capabilities and limits), where payments may be sent (approved merchants), and when those permissions are valid. Because mandates are signed using verifiable credentials, they cannot be altered once issued, ensuring that user intent is preserved throughout the transaction lifecycle. AP2 defines three distinct mandate types that progressively refine user intent. An Intent Mandate captures the user’s high-level goal, such as asking the agent to buy a specific product. A Cart Mandate represents the finalized transaction details, including items, price, taxes, and shipping information, which the user explicitly reviews and signs. Finally, a Payment Mandate authorizes the actual transfer of funds to the merchant for the approved cart. This layered mandate structure ensures that an agent cannot silently expand or modify a transaction without user approval [ 1 ] . 2.2 AP2 Transaction Workflow The AP2 execution pipeline is illustrated in Figure 3 , which depicts a typical agent-mediated purchase flow. The process begins when a user expresses an intention to purchase a product. The agent translates this instruction into an Intent Mandate and obtains the user’s approval. Next, the agent prepares a Cart Mandate containing concrete transaction details and requests confirmation from the user. Once the cart is approved, the agent generates a Payment Mandate that authorizes payment to the merchant. Figure 3 shows how mandates and credentials are exchanged throughout the transaction. The agent communicates with a credential provider, which securely manages the user’s payment credentials and issues signed verifiable credentials. Then, the agent submits the signed cart and payment mandates to the merchant, which independently verifies the signatures before confirming the order. Importantly, AP2 supports both real-time purchases, where the user is present, and delegated purchases, where the user pre-authorizes the agent to act under specific conditions (e.g., buying tickets only if the price drops below a threshold or the stock-out item becomes available). In both cases, the transaction concludes with a cryptographically linked chain of evidence binding the payment method to the approved cart contents. Figure 3 : AP2 workflow 2.3 Agent-to-Agent Communication as AP2’s Foundation Agent-to-Agent (A2A) communication serves as the foundational communication layer upon which the Agent Payments Protocol (AP2) is built. A2A is