Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Large Language Models (LLMs) are combined with tools to create powerful LLM agents that provide a wide range of services. Unlike traditional software, LLM agent's behavior is determined at runtime by natural language prompts from either user or tool's data. This flexibility enables a new computing paradigm with unlimited capabilities and programmability, but also introduces new security risks, vulnerable to privilege escalation attacks. Moreover, user prompts are prone to be interpreted in an insecure way by LLM agents, creating non-deterministic behaviors that can be exploited by attackers. To address these security risks, we propose Prompt Flow Integrity (PFI), a system security-oriented solution to prevent privilege escalation in LLM agents. Analyzing the architectural characteristics of LLM agents, PFI features three mitigation techniques -- i.e., agent isolation, secure untrusted data processing, and privilege escalation guardrails. Our evaluation result shows that PFI effectively mitigates privilege escalation attacks while successfully preserving the utility of LLM agents.
Key facts. Cited by 81 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 23 of its 59 references that are in the map. First posted on arXiv 17 Mar 2025.
Builds on
23 of 59 references.
Closest ancestors · 2
Same direction, newest first
- 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents27 Feb
- 2024Imprompter: Tricking LLM Agents into Improper Tool Use19 Oct
Other references · 21
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 352
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 237
- 2024Stealing Part of a Production Language Modelcited by 152
9 more
- 2024Parrot: Efficient Serving of LLM-based Applications with Semantic Variablecited by 96
- 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 95
- 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 91
- 2024PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetitioncited by 29
- 2024Large Language Model Supply Chain: A Research Agendacited by 23
- 2024Permissive Information-Flow Analysis for Large Language Modelscited by 22
- 2015Android Permissions Remystified: A Field Study on Contextual Integritycited by 15
- 2023Stuck in the Permissions With You: Developer & End-User Perspectives on App Permissions & Their Privacy Ramificationscited by 2
- 2024SoK: Software Compartmentalizationcited by 1
Built on by
Citing papers per year: 2025: 25; 2026: 56.
81 papers.
Sort:
By area:
- 2025Defeating Prompt Injections by Designcited by 256
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 54
- 2026Taming Various Privilege Escalation in LLM-Based Agent Systems: A Mandatory Access Control Frameworkcited by 50
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 39
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
- 2025AgentSentinel: An End-to-End and Real-Time Security Defense Framework for Computer-Use Agentscited by 25
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 25
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 23
- 2025WAInjectBench: Benchmarking Prompt Injection Detections for Web Agentscited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skillscited by 15
38 more
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 13
- 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attributioncited by 13
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agentscited by 12
- 2025TraceAegis: Securing LLM-Based Agents via Hierarchical and Behavioral Anomaly Detectioncited by 11
- 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactionscited by 11
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
- 2026ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuationcited by 11
- 2025MindGuard: Intrinsic Decision Inspection for Securing LLM Agents Against Metadata Poisoningcited by 10
- 2025SecInfer: Preventing Prompt Injection via Inference-time Scalingcited by 10
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026PIArena: A Platform for Prompt Injection Evaluationcited by 10
- 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attackscited by 9
- 2025Preventing Prompt Injection with Type-Directed Privilege Separationcited by 8
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2025A Taxonomy of Prompt Defects in LLM Systemscited by 7
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworkscited by 7
- 2026Context-to-Execution Integrity for LLM Agentscited by 7
- 2025AI Awarenesscited by 6
- 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agentcited by 6
- 2026Behavioral Integrity Verification for AI Agent Skillscited by 6
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 5
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2025Trusted AI Agents in the Cloudcited by 4
- 2026SkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skillscited by 4
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agentscited by 4
- 2025LLM Agents Are the Antidote to Walled Gardenscited by 3
- 2026The LLMbda Calculus: AI Agents, Conversations, and Information Flowcited by 3
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screeningcited by 3
- 2026Intent-Governed Tool Authorization for AI Agentscited by 3
- 2026Untrusted Content Masking for Web Agents with Security Guaranteescited by 3
- 2026OpenSkillRisk: Benchmarking Agent Safety When Using Real-World Risky Third-Party Skillscited by 3
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memorycited by 3
- 2026CONTINUITY: Security-Context Contracts for Composable LLM Agent Controlscited by 3
- 2025When "Correct" Is Not Safe: Can We Trust Functionally Correct Patches Generated by Code Agents?cited by 2
- 2026AgenticCyOps: Securing Multi-Agentic AI Integration in Enterprise Cyber Operationscited by 2
50 most cited of 81 All 81 (JSON)
- 2026OverAct: Measuring and Mitigating Proactive Over-Authorization in LLM Tool-Calling Agents1 Oct 2026
- 2026ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents29 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026Confuse the Model, Control the Flow: Understanding and Mitigating Privacy Leakage from LLM Agents with Information Flow Control12 Sep 2026
- 2026CONTINUITY: Security-Context Contracts for Composable LLM Agent Controls4 Sep 2026
- 2026Beyond the Payload: How User Invocation Shapes Coding Agent Vulnerability to Repository Poisoning31 Aug 2026
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control27 Aug 2026
- 2026WebMCP-Phalanx: Enforcing and Characterizing Trust Boundaries for Browser-Integrated LLM Agents25 Aug 2026
- 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems24 Aug 2026
- 2026Task-Aware Harness Provisioning for LLM Agents in Mission-Critical Infrastructure Operations18 Aug 2026
- 2026PIPES: Securing Agent Perception with Provenance and Priors13 Aug 2026
38 more
- 2026MNC: Scope-Bound Semantic Declassification for Private LLM-Agent Communication3 Aug 2026
- 2026CAGE: Certified Authorization under Typed-Return Uncertainty for Tool-Using Agents31 Jul 2026
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory31 Jul 2026
- 2026OpenSkillRisk: Benchmarking Agent Safety When Using Real-World Risky Third-Party Skills22 Jul 2026
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardening21 Jul 2026
- 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?20 Jul 2026
- 2026Context-to-Execution Integrity for LLM Agents7 Jul 2026
- 2026Untrusted Content Masking for Web Agents with Security Guarantees6 Jul 2026
- 2026Agent Data Injection Attacks are Realistic Threats to AI Agents6 Jul 2026
- 2026DualView: Preventing Indirect Prompt Injection in Personal AI Agents4 Jul 2026
- 2026A Theory of Least Autonomy in AI3 Jul 2026
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agents3 Jul 2026
- 2026Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents25 Jun 2026
- 2026Intent-Governed Tool Authorization for AI Agents22 Jun 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agents13 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agents30 May 2026
- 2026The Importance of Out-of-Band Metadata for Safe Autonomous Agents: The Redpanda Agentic Data Plane27 May 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May 2026
- 2026ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuation26 May 2026
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agents26 May 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026Behavioral Integrity Verification for AI Agent Skills12 May 2026
- 2026SkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skills7 May 2026
- 2026Rewriting the Response Path: Silent Tampering and Provider-Signed Defense in BYOK LLM Agents4 May 2026
- 2026From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skills27 Apr 2026
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agents16 Apr 2026
- 2026PIArena: A Platform for Prompt Injection Evaluation9 Apr 2026
- 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks31 Mar 2026
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration24 Mar 2026
- 2026Herding CATs: ALARA for Agent Harness Engineering in Portable Composable Multi-Agent Teams20 Mar 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses13 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
- 2026AgenticCyOps: Securing Multi-Agentic AI Integration in Enterprise Cyber Operations10 Mar 2026
50 newest of 81 All 81 (JSON)
- 2025Defeating Prompt Injections by Designcited by 256
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 54
- 2026Taming Various Privilege Escalation in LLM-Based Agent Systems: A Mandatory Access Control Frameworkcited by 50
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 39
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
- 2025AgentSentinel: An End-to-End and Real-Time Security Defense Framework for Computer-Use Agentscited by 25
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 25
- 2025WAInjectBench: Benchmarking Prompt Injection Detections for Web Agentscited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skillscited by 15
- 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attributioncited by 13
12 most cited of 63 All 63 (JSON)
- 2026OverAct: Measuring and Mitigating Proactive Over-Authorization in LLM Tool-Calling Agents1 Oct 2026
- 2026ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents29 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026Confuse the Model, Control the Flow: Understanding and Mitigating Privacy Leakage from LLM Agents with Information Flow Control12 Sep 2026
- 2026CONTINUITY: Security-Context Contracts for Composable LLM Agent Controls4 Sep 2026
- 2026Beyond the Payload: How User Invocation Shapes Coding Agent Vulnerability to Repository Poisoning31 Aug 2026
- 2026SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control27 Aug 2026
- 2026WebMCP-Phalanx: Enforcing and Characterizing Trust Boundaries for Browser-Integrated LLM Agents25 Aug 2026
- 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems24 Aug 2026
- 2026Task-Aware Harness Provisioning for LLM Agents in Mission-Critical Infrastructure Operations18 Aug 2026
- 2026MNC: Scope-Bound Semantic Declassification for Private LLM-Agent Communication3 Aug 2026
- 2026CAGE: Certified Authorization under Typed-Return Uncertainty for Tool-Using Agents31 Jul 2026
12 newest of 63 All 63 (JSON)
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 23
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 13
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026PIArena: A Platform for Prompt Injection Evaluationcited by 10
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screeningcited by 3
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 1
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injectioncited by 1
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May 2026
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agents16 Apr 2026
- 2026PIArena: A Platform for Prompt Injection Evaluation9 Apr 2026
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses13 Mar 2026
- 2026Optimizing Agent Planning for Security and Autonomy11 Feb 2026
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents25 Nov 2025
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Features15 Oct 2025
- 2026ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuationcited by 11
- 2025A Taxonomy of Prompt Defects in LLM Systemscited by 7
- 2025AI Awarenesscited by 6
- 2026Intent-Governed Tool Authorization for AI Agentscited by 3
- 2025Steering Conceptual Bias via Transformer Latent-Subspace Activationcited by 1
- 2026Herding CATs: ALARA for Agent Harness Engineering in Portable Composable Multi-Agent Teamscited by 1
- 2026A Theory of Least Autonomy in AIcited by 1
- 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?cited by 0
- 2026PIPES: Securing Agent Perception with Provenance and Priorscited by 0
- 2026PIPES: Securing Agent Perception with Provenance and Priors13 Aug 2026
- 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?20 Jul 2026
- 2026A Theory of Least Autonomy in AI3 Jul 2026
- 2026Intent-Governed Tool Authorization for AI Agents22 Jun 2026
- 2026ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuation26 May 2026
- 2026Herding CATs: ALARA for Agent Harness Engineering in Portable Composable Multi-Agent Teams20 Mar 2026
- 2025A Taxonomy of Prompt Defects in LLM Systems17 Sep 2025
- 2025Steering Conceptual Bias via Transformer Latent-Subspace Activation23 Jun 2025
- 2025AI Awareness25 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026Prompt Control-Flow Integrity: A Priority-Aware Runtime Defense Against Prompt Injection in LLM Systems
- 2026AgentVisor: Defending LLM Agents Against Prompt Injection via Semantic Virtualization
- 2026Protecting Context and Prompts: Deterministic Security for Non-Deterministic AI
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
- 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks
- 2026Securing LLM Agents Need Intent-to-Execution Integrity
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents