mlsanityData to 14 Oct 2026

Simple Prompt Injection Attacks Can Leak Personal Data Observed by LLM Agents During Task Execution

arXiv 2506.01055 ↗First posted 1 Jun 2025cs.CR cs.CLcited by 26

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Previous benchmarks on prompt injection in large language models (LLMs) have primarily focused on generic tasks and attacks, offering limited insights into more complex threats like data exfiltration. This paper examines how prompt injection can cause tool-calling agents to leak personal data observed during task execution. Using a fictitious banking agent, we develop data flow-based attacks and integrate them into AgentDojo, a recent benchmark for agentic security. To enhance its scope, we also create a richer synthetic dataset of human-AI banking conversations. In 16 user tasks from AgentDojo, LLMs show a 15-50 percentage point drop in utility under attack, with average attack success rates (ASR) around 20 percent; some defenses reduce ASR to zero. Most LLMs, even when successfully tricked by the attack, avoid leaking highly sensitive data like passwords, likely due to safety alignments, but they remain vulnerable to disclosing other personal data. The likelihood of password leakage increases when a password is requested along with one or two additional personal details. In an extended evaluation across 48 tasks, the average ASR is around 15 percent, with no built-in AgentDojo defense fully preventing leakage. Tasks involving data extraction or authorization workflows, which closely resemble the structure of exfiltration attacks, exhibit the highest ASRs, highlighting the interaction between task type, agent performance, and defense efficacy.

Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 37 of its 53 references that are in the map. First posted on arXiv 1 Jun 2025.

Builds on

37 of 53 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Defeating Prompt Injections by Design24 Mar
  2. 2025RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage13 Feb
  3. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents19 Jun
  4. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar

Other references · 33

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  3. 2020Extracting Training Data from Large Language Modelscited by 2,189
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  5. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  6. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  7. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  8. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
  9. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
  10. 2023Benchmarking Large Language Models for News Summarizationcited by 445
  11. 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 417
  12. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
21 more
  1. 2023Language Models can Solve Computer Taskscited by 372
  2. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  3. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  4. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
  5. 2024AI Agents That Mattercited by 219
  6. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  7. 2022SODA: Million-scale Dialogue Distillation with Social Commonsense Contextualizationcited by 168
  8. 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 168
  9. 2023Multilingual Machine Translation with Large Language Models: Empirical Results and Analysiscited by 160
  10. 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 145
  11. 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 129
  12. 2025Which Economic Tasks are Performed with AI? Evidence from Millions of Claude Conversationscited by 96
  13. 2024Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?cited by 81
  14. 2023PLACES: Prompting Language Models for Social Conversation Synthesiscited by 72
  15. 2023Ignore This Title and HackAPrompt: Exposing Systemic Vulnerabilities of LLMs through a Global Scale Prompt Hacking Competitioncited by 68
  16. 2024Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchycited by 67
  17. 2025Authenticated Delegation and Authorized AI Agentscited by 65
  18. 2023Can LLMs Follow Simple Rules?cited by 46
  19. 2023Open-Source LLMs for Text Annotation: A Practical Guide for Model Setting and Fine-Tuningcited by 32
  20. 2025Characterizing AI Agents for Alignment and Governancecited by 30
  21. 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competitioncited by 20

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 20.

26 papers.

Sort:

By area:

  1. 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
  2. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
  3. 2025MAGPIE: A benchmark for Multi-AGent contextual PrIvacy Evaluationcited by 29
  4. 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agentscited by 27
  5. 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 20
  6. 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Managementcited by 10
  7. 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 5
  8. 2026Towards trustworthy agentic AI: a comprehensive survey of safety, robustness, privacy, and system securitycited by 5
  9. 2025Web-Browsing LLMs Can Access Social Media Profiles and Infer User Demographicscited by 3
  10. 2026MAC: Multi-Agent Constitution Learningcited by 2
  11. 2026Who Pays the Price? Stakeholder-Centric Prompt Injection Benchmarking for Real-world Web Agentscited by 2
  12. 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
14 more
  1. 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
  2. 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
  3. 2026CAPED: Context-Aware Privacy Exposure Defense for Mobile GUI Agentscited by 1
  4. 2026TRAP: Benchmark for Task-completion and Resistance to Active Privacy-extractioncited by 1
  5. 2026GIF: Locally Sound Geometric Information Flow Control for LLMscited by 1
  6. 2025Measuring the Security of Mobile LLM Agents under Adversarial Prompts from Untrusted Third-Party Channelscited by 0
  7. 2026Unsupervised Elicitation of Moral Values from Language Modelscited by 0
  8. 2026SelfGrader: LLM Jailbreak Detection via Anchored Token-Level Logitscited by 0
  9. 2026An Empirical Study of Privacy Leakage Chains via Prompt Injection in Black-Box Chatbot Environmentscited by 0
  10. 2026Agents That Know Too Much: A Data-Centric Survey of Privacy in LLM Agentscited by 0
  11. 2026The Latent Diagnostic Taxonomy: A Framework for Constructing Classifiers and Diagnosing Their Decisions, Applied to Prompt Injection Detectioncited by 0
  12. 2026Facts Without Rules: Boundary Metadata Collapse in Multi-Agent LLM Handoffscited by 0
  13. 2026Confuse the Model, Control the Flow: Understanding and Mitigating Privacy Leakage from LLM Agents with Information Flow Controlcited by 0
  14. 2026Lineage-Aware Memory Governance: A Derivation-Gated Framework for Privacy-Preserving Column-Level Access Control in Enterprise AI Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Whispers in the Machine: Confidentiality in Agentic Systems
  2. 2026An Evaluation of Data Leakage Risks in Tool-Using LLM Agents in Realistic Scenarios
  3. 2024Imprompter: Tricking LLM Agents into Improper Tool Use
  4. 2026AgentSecBench: Measuring Prompt Injection, Privacy Leakage, and Tool-Use Integrity in LLM Agents
  5. 2025Automating Prompt Leakage Attacks on Large Language Models Using Agentic Approach
  6. 2026CredLeakBench: Evaluating Credential Leakage and Recovery in LLM Agents
  7. 2026Assessing Automated Prompt Injection Attacks in Agentic Environments
  8. 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks