Year: 2026
Type: conference-paper
Abstract: Large language model (LLM)-based agents are increasingly used to automate financial transactions, but their reliance on contextual reasoning introduces new security risks. The Agent Payments Protocol (AP2) secures agent-mediated purchases through cryptographically signed mandates; however, its robustness against reasoning-layer attacks remains unclear. This paper presents a systematic red-teaming evaluation of AP2 and identifies vulnerabilities arising from prompt injection. Two attack techniques are introduced: the Branded Whisper Attack, which manipulates product ranking through adversarial content, and the Vault Whisper Attack, which induces cross-user data disclosure through crafted prompts. Using a functional AP2-based shopping agent implemented with Gemini-2.5-Flash and the Google Agent Development Kit (ADK), the evaluation demonstrates that indirect prompt injection achieves a 100% success rate in manipulating product ranking, while direct prompt injection leads to cross-account data exposure in 20% of cases. These attacks succeed without breaking cryptographic enforcement, operating entirely through reasoning-layer manipulation. The results reveal a fundamental limitation of agent-mediated payment systems: cryptographic guarantees ensure execution correctness but do not protect decision-making. Securing such systems requires additional mechanisms that constrain how contextual inputs influence agent reasoning.
Authors: Tanusree Debi, Wentian Zhu, Pranjol Sen Gupta
Institutions: University of Georgia, Kennesaw State University
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Keywords: LLM agents, prompt injection, agent security
Open Access status: green
OpenAlex ID: W7204135852
