RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Tool-Based Agent Systems (TBAS) allow Language Models (LMs) to use external tools for tasks beyond their standalone capabilities, such as searching websites, booking flights, or making financial transactions. However, these tools greatly increase the risks of prompt injection attacks, where malicious content hijacks the LM agent to leak confidential data or trigger harmful actions. Existing defenses (OpenAI GPTs) require user confirmation before every tool call, placing onerous burdens on users. We introduce Robust TBAS (RTBAS), which automatically detects and executes tool calls that preserve integrity and confidentiality, requiring user confirmation only when these safeguards cannot be ensured. RTBAS adapts Information Flow Control to the unique challenges presented by TBAS. We present two novel dependency screeners, using LM-as-a-judge and attention-based saliency, to overcome these challenges. Experimental results on the AgentDojo Prompt Injection benchmark show RTBAS prevents all targeted attacks with only a 2% loss of task utility when under attack, and further tests confirm its ability to obtain near-oracle performance on detecting both subtle and direct privacy leaks.
Key facts. Cited by 69 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 20 of its 46 references that are in the map. First posted on arXiv 13 Feb 2025.
Builds on
20 of 46 references.
Closest ancestors · 2
Same direction, newest first
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents19 Jun
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
Other references · 18
- 2017Attention Is All You Needcited by 60,361
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2019Attention is not Explanationcited by 929
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2019Attention is not not Explanationcited by 636
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 236
6 more
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 129
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
- 2024The Benefits of a Concise Chain of Thought on Problem-Solving in Large Language Modelscited by 63
- 2024PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensemblescited by 57
- 2024CLEAR: Towards Contextual LLM-Empowered Privacy Policy Analysis and Risk Generation for Large Language Model Applicationscited by 33
- 2024Fine-tuned Large Language Models (LLMs): Improved Prompt Injection Attacks Detectioncited by 5
Built on by
Citing papers per year: 2025: 17; 2026: 52.
69 papers.
Sort:
By area:
- 2025Defeating Prompt Injections by Designcited by 297
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2025Securing AI Agents with Information-Flow Controlcited by 121
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agentscited by 66
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 46
- 2026Towards Verifiably Safe Tool Use for LLM Agentscited by 36
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
- 2025LLM Agents Should Employ Security Principlescited by 29
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
- 2025Simple Prompt Injection Attacks Can Leak Personal Data Observed by LLM Agents During Task Executioncited by 26
38 more
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
- 2025TopicAttack: An Indirect Prompt Injection Attack via Topic Transitioncited by 17
- 2026CaMeLs Can Use Computers Too: System-level Security for Computer Use Agentscited by 17
- 2025Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instructioncited by 16
- 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agentscited by 15
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agentscited by 15
- 2025Systems Security Foundations for Agentic Computingcited by 13
- 2026AIRGuard: Guarding Agent Actions with Runtime Authority Controlcited by 13
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROIcited by 12
- 2025Secure and Efficient Access Control for Computer-Use Agents via Context Spacecited by 11
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behaviorcited by 11
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Managementcited by 10
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malwarecited by 10
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsingcited by 9
- 2026The Promptware Kill Chain: How Prompt Injections Gradually Evolved Into a Multistep Malware Delivery Mechanismcited by 9
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 9
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesiscited by 7
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 7
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026ToolPrivacyBench: Benchmarking Purpose-Bound Privacy in Tool-Using LLM Agentscited by 7
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 4
- 2025Enterprise AI Must Enforce Participant-Aware Access Controlcited by 3
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?cited by 3
- 2026STARS: Skill-Triggered Audit for Request-Conditioned Invocation Safety in Agent Systemscited by 3
- 2026SafeMCP: Proactive Power Regulation for LLM Agent Defense via Environment-Grounded Look-Ahead Reasoningcited by 3
- 2026Untrusted Content Masking for Web Agents with Security Guaranteescited by 3
- 2025Quantifying Conversation Drift in MCP via Latent Polytopecited by 2
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Searchcited by 2
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 2
- 2026Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happenedcited by 2
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injectioncited by 2
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agentscited by 1
- 2026GIF: Locally Sound Geometric Information Flow Control for LLMscited by 1
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agentscited by 1
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
- 2026ToolMinimize: Auditing and Rewriting LLM Agent Tool Calls to Minimize Privacy Exposurecited by 1
- 2026PIIGuard: Mitigating PII Harvesting under Adversarial Sanitizationcited by 0
50 most cited of 69 All 69 (JSON)
- 2026APEX: Active Protection at Execution Boundaries for LLM Agents3 Oct 2026
- 2026Securing Computer-Use Agents Against Branch Steering Attacks2 Oct 2026
- 2026PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents1 Oct 2026
- 2026Sapien: A Stateful Policy Engine for Autonomous AI Agents30 Sep 2026
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memories29 Sep 2026
- 2026Control-Token Injection Suppresses Chain-of-Thought and Defeats Reasoning-Based Oversight in Tool-Using Agents23 Sep 2026
- 2026Symbolic Temporal Supervision of LLM Agents Using Contracts16 Sep 2026
- 2026Structurally Close, Temporally Distant: Measuring Security Exposure in Long-Horizon LLM Agents5 Sep 2026
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection27 Aug 2026
- 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents27 Aug 2026
- 2026The Framing Gap: Indirect Prompt-Injection Exfiltration Defeats Surface-Level Defenses in Tool-Using Agents27 Aug 2026
- 2026ToolMinimize: Auditing and Rewriting LLM Agent Tool Calls to Minimize Privacy Exposure25 Aug 2026
38 more
- 2026Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened17 Aug 2026
- 2026Rethinking Agent Security as a Networking Problem12 Aug 2026
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models11 Aug 2026
- 2026Beyond Component Testing: Validating Agentic AI Systems31 Jul 2026
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardening21 Jul 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
- 2026Untrusted Content Masking for Web Agents with Security Guarantees6 Jul 2026
- 2026DualView: Preventing Indirect Prompt Injection in Personal AI Agents4 Jul 2026
- 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malware2 Jul 2026
- 2026ToolPrivacyBench: Benchmarking Purpose-Bound Privacy in Tool-Using LLM Agents26 Jun 2026
- 2026Agents That Know Too Much: A Data-Centric Survey of Privacy in LLM Agents25 Jun 2026
- 2026GIF: Locally Sound Geometric Information Flow Control for LLMs22 Jun 2026
- 2026OCELOT: Inference-Leakage Budgets for Privacy-Preserving LLM Agents10 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026SafeMCP: Proactive Power Regulation for LLM Agent Defense via Environment-Grounded Look-Ahead Reasoning1 Jun 2026
- 2026Relevance as a Vulnerability: How Web Retrieval Degrades Safety Alignment in LLM Agents28 May 2026
- 2026AIRGuard: Guarding Agent Actions with Runtime Authority Control27 May 2026
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agents26 May 2026
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agents25 May 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AI4 May 2026
- 2026PIIGuard: Mitigating PII Harvesting under Adversarial Sanitization4 May 2026
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis1 May 2026
- 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agents25 Apr 2026
- 2026An AI Agent Execution Environment to Safeguard User Data21 Apr 2026
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agents16 Apr 2026
- 2026STARS: Skill-Triggered Audit for Request-Conditioned Invocation Safety in Agent Systems11 Apr 2026
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agents5 Apr 2026
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?27 Mar 2026
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Search25 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
- 2026Optimizing Agent Planning for Security and Autonomy11 Feb 2026
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis11 Feb 2026
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Management7 Feb 2026
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behavior15 Jan 2026
- 2026CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents14 Jan 2026
- 2026The Promptware Kill Chain: How Prompt Injections Gradually Evolved Into a Multistep Malware Delivery Mechanism14 Jan 2026
50 newest of 69 All 69 (JSON)
- 2025Defeating Prompt Injections by Designcited by 297
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agentscited by 66
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 46
- 2026Towards Verifiably Safe Tool Use for LLM Agentscited by 36
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
- 2025LLM Agents Should Employ Security Principlescited by 29
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
- 2025Simple Prompt Injection Attacks Can Leak Personal Data Observed by LLM Agents During Task Executioncited by 26
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
- 2026CaMeLs Can Use Computers Too: System-level Security for Computer Use Agentscited by 17
12 most cited of 55 All 55 (JSON)
- 2026APEX: Active Protection at Execution Boundaries for LLM Agents3 Oct 2026
- 2026Securing Computer-Use Agents Against Branch Steering Attacks2 Oct 2026
- 2026PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents1 Oct 2026
- 2026Control-Token Injection Suppresses Chain-of-Thought and Defeats Reasoning-Based Oversight in Tool-Using Agents23 Sep 2026
- 2026Symbolic Temporal Supervision of LLM Agents Using Contracts16 Sep 2026
- 2026Structurally Close, Temporally Distant: Measuring Security Exposure in Long-Horizon LLM Agents5 Sep 2026
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection27 Aug 2026
- 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents27 Aug 2026
- 2026The Framing Gap: Indirect Prompt-Injection Exfiltration Defeats Surface-Level Defenses in Tool-Using Agents27 Aug 2026
- 2026ToolMinimize: Auditing and Rewriting LLM Agent Tool Calls to Minimize Privacy Exposure25 Aug 2026
- 2026Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened17 Aug 2026
- 2026Rethinking Agent Security as a Networking Problem12 Aug 2026
12 newest of 55 All 55 (JSON)
- 2025TopicAttack: An Indirect Prompt Injection Attack via Topic Transitioncited by 17
- 2025Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instructioncited by 16
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026The Promptware Kill Chain: How Prompt Injections Gradually Evolved Into a Multistep Malware Delivery Mechanismcited by 9
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 2
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agents16 Apr 2026
- 2026Optimizing Agent Planning for Security and Autonomy11 Feb 2026
- 2026The Promptware Kill Chain: How Prompt Injections Gradually Evolved Into a Multistep Malware Delivery Mechanism14 Jan 2026
- 2025TopicAttack: An Indirect Prompt Injection Attack via Topic Transition18 Jul 2025
- 2025Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instruction29 Apr 2025
- 2025Securing AI Agents with Information-Flow Controlcited by 121
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behaviorcited by 11
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 4
- 2025Enterprise AI Must Enforce Participant-Aware Access Controlcited by 3
- 2026PIIGuard: Mitigating PII Harvesting under Adversarial Sanitizationcited by 0
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memoriescited by 0
- 2026Sapien: A Stateful Policy Engine for Autonomous AI Agentscited by 0
- 2026Sapien: A Stateful Policy Engine for Autonomous AI Agents30 Sep 2026
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memories29 Sep 2026
- 2026PIIGuard: Mitigating PII Harvesting under Adversarial Sanitization4 May 2026
- 2026An AI Agent Execution Environment to Safeguard User Data21 Apr 2026
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behavior15 Jan 2026
- 2025Enterprise AI Must Enforce Participant-Aware Access Control18 Sep 2025
- 2025Securing AI Agents with Information-Flow Control29 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Imprompter: Tricking LLM Agents into Improper Tool Use
- 2026AgentVisor: Defending LLM Agents Against Prompt Injection via Semantic Virtualization
- 2026TraceGrant: A Contract-Governed Security Framework for the Task-Effect Lifecycle of Networked LLM Agents
- 2026Silent Egress: When Implicit Prompt Injection Makes LLM Agents Leak Without a Trace
- 2024Whispers in the Machine: Confidentiality in Agentic Systems
- 2026SafeClawBench: Separating Semantic, Audit-Evidence, and Sandbox Harm in Tool-Using LLM Agents
- 2026ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection