System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspective
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Large Language Model-based systems (LLM systems) are information and query processing systems that use LLMs to plan operations from natural-language prompts and feed the output of each successive step into the LLM to plan the next. This structure results in powerful tools that can process complex information from diverse sources but raises critical security concerns. Malicious information from any source may be processed by the LLM and can compromise the query processing, resulting in nearly arbitrary misbehavior. To tackle this problem, we present a system-level defense based on the principles of information flow control that we call an f-secure LLM system. An f-secure LLM system disaggregates the components of an LLM system into a context-aware pipeline with dynamically generated structured executable plans, and a security monitor filters out untrusted input into the planning process. This structure prevents compromise while maximizing flexibility. We provide formal models for both existing LLM systems and our f-secure LLM system, allowing analysis of critical security guarantees. We further evaluate case studies and benchmarks showing that f-secure LLM systems provide robust security while preserving functionality and efficiency. Our code is released at https://github.com/fzwark/Secure_LLM_System.
Key facts. Cited by 96 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 24 of its 55 references that are in the map. First posted on arXiv 27 Sep 2024.
Builds on
24 of 55 references.
Closest ancestors · 12
Same direction, newest first
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024Signed-Prompt: A New Approach to Prevent Prompt Injection Attacks Against LLM-Integrated Applications15 Jan
- 2024A Novel Evaluation Framework for Assessing Resilience Against Prompt Injection Attacks in Large Language Models2 Jan
- 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuning29 Dec
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models21 Dec
- 2023Maatphor: Automated Variant Analysis for Prompt Injection Attacks12 Dec
- 2023Assessing Prompt Injection Risks in 200+ Custom GPTs20 Nov
- 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game2 Nov
- 2023From Prompt Injections to SQL Injection Attacks: How Protected is Your LLM-Integrated Web Application?3 Aug
- 2023Safeguarding Crowdsourcing Surveys from ChatGPT with Prompt Injection15 Jun
- 2023Prompt Injection attack against LLM-integrated Applications8 Jun
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 12
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debatecited by 742
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 462
- 2023SMART-LLM: Smart Multi-Agent Robot Task Planning using Large Language Modelscited by 153
- 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systemscited by 130
- 2023ChatGPT is not all you need. A State of the Art Review of large Generative AI modelscited by 86
- 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 77
- 2023LLM Platform Security: Applying a Systematic Evaluation Framework to OpenAI's ChatGPT Pluginscited by 51
- 2017Nonmalleable Information Flow: Technical Reportcited by 4
- 2021Compositional Security for Reentrant Applicationscited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 37; 2026: 58.
96 papers.
Sort:
By area:
- 2025Defeating Prompt Injections by Designcited by 297
- 2025Progent: Securing AI Agents with Privilege Controlcited by 141
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 129
- 2025Securing AI Agents with Information-Flow Controlcited by 121
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 108
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 87
- 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agentscited by 77
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agentscited by 66
- 2025Contextual Agent Security: A Policy for Every Purposecited by 59
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 55
- 2025Multi-Agent Systems Execute Arbitrary Malicious Codecited by 53
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 46
38 more
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agentscited by 42
- 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocationscited by 38
- 2025Firewalls to Secure Dynamic LLM Agentic Networkscited by 36
- 2025Defending against Indirect Prompt Injection by Instruction Detectioncited by 32
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
- 2025PromptLocate: Localizing Prompt Injection Attackscited by 28
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
- 2025Why Are Web AI Agents More Vulnerable Than Standalone LLMs? A Security Analysiscited by 27
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 24
- 2024Permissive Information-Flow Analysis for Large Language Modelscited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 20
- 2025Indirect Prompt Injections: Are Firewalls All You Need, or Stronger Benchmarks?cited by 18
- 2025ObliInjection: Order-Oblivious Prompt Injection Attack to LLM Agents with Multi-source Datacited by 18
- 2026CaMeLs Can Use Computers Too: System-level Security for Computer Use Agentscited by 17
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 16
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026Agent-Sentry: Bounding LLM Agents via Execution Provenancecited by 15
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agentscited by 15
- 2025Systems Security Foundations for Agentic Computingcited by 13
- 2025TraceAegis: Securing LLM-Based Agents via Hierarchical and Behavioral Anomaly Detectioncited by 12
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2025The Hidden Dangers of Browsing AI Agentscited by 11
- 2025Secure and Efficient Access Control for Computer-Use Agents via Context Spacecited by 11
- 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactionscited by 11
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behaviorcited by 11
- 2026PIArena: A Platform for Prompt Injection Evaluationcited by 11
- 2025SecInfer: Preventing Prompt Injection via Inference-time Scalingcited by 10
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Managementcited by 10
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026Agent libOS: A Runtime Substrate for Capability-Controlled Self-Evolving LLM Agentscited by 10
- 2025Preventing Prompt Injection with Type-Directed Privilege Separationcited by 9
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworkscited by 9
- 2025Mitigating Indirect Prompt Injection via Instruction-Following Intent Analysiscited by 9
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 9
- 2025Maris: A Formally Verifiable Privacy Policy Enforcement Paradigm for Multi-Agent Collaboration Systemscited by 8
- 2025AttnTrace: Contextual Attribution of Prompt Injection and Knowledge Corruptioncited by 7
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memorycited by 7
50 most cited of 96 All 96 (JSON)
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Views12 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
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents25 Sep 2026
- 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validation21 Sep 2026
- 2026Confuse the Model, Control the Flow: Understanding and Mitigating Privacy Leakage from LLM Agents with Information Flow Control12 Sep 2026
- 2026Structurally Close, Temporally Distant: Measuring Security Exposure in Long-Horizon LLM Agents5 Sep 2026
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026Layered LLM Defenses as an Ensemble: Access Tiers, Inference Cost, and the Measured Failure Correlation Between Defense Layers28 Aug 2026
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection27 Aug 2026
- 2026SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control27 Aug 2026
38 more
- 2026Safety Does Not Compose: Non-Decaying Loop State for Autonomous LLM Agents27 Aug 2026
- 2026The Guard That Cried Wolf: How Scary Words Make Agent Guardrails Refuse Legitimate Actions27 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Robust Context-Aware Detection of Malicious Instructions in Text5 Aug 2026
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory31 Jul 2026
- 2026How Agents Ask for Permission: User Permissions for AI Agents, from Interfaces to Enforcement15 Jul 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
- 2026SHARC: SHAP-Based Interpretability in Machine Learning Risk Models for Regulatory Capital under ICAAP and CCAR6 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
- 2026Agents That Know Too Much: A Data-Centric Survey of Privacy in LLM Agents25 Jun 2026
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interaction22 Jun 2026
- 2026GIF: Locally Sound Geometric Information Flow Control for LLMs22 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026Agent libOS: A Runtime Substrate for Capability-Controlled Self-Evolving LLM Agents2 Jun 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 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
- 2026Hallucination as Exploit: Evidence-Carrying Multimodal Agents18 May 2026
- 2026An Empirical Study of Privacy Leakage Chains via Prompt Injection in Black-Box Chatbot Environments18 May 2026
- 2026LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injection18 May 2026
- 2026Securing LLM Agents Need Intent-to-Execution Integrity16 May 2026
- 2026Toward Securing AI Agents Like Operating Systems14 May 2026
- 2026Engineering Robustness into Personal Agents with the AI Workflow Store11 May 2026
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory4 May 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
- 2026PIArena: A Platform for Prompt Injection Evaluation9 Apr 2026
- 2026AgentWatcher: A Rule-based Prompt Injection Monitor1 Apr 2026
- 2026Agent-Sentry: Bounding LLM Agents via Execution Provenance24 Mar 2026
- 2026AC4A: Access Control for Agents21 Mar 2026
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculus20 Mar 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026Agent Privilege Separation in OpenClaw: A Structural Defense Against Prompt Injection13 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
50 newest of 96 All 96 (JSON)
- 2025Defeating Prompt Injections by Designcited by 297
- 2025Progent: Securing AI Agents with Privilege Controlcited by 141
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 108
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 87
- 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agentscited by 77
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agentscited by 66
- 2025Multi-Agent Systems Execute Arbitrary Malicious Codecited by 53
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 46
- 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocationscited by 38
- 2025Firewalls to Secure Dynamic LLM Agentic Networkscited by 36
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
12 most cited of 59 All 59 (JSON)
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents25 Sep 2026
- 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validation21 Sep 2026
- 2026Confuse the Model, Control the Flow: Understanding and Mitigating Privacy Leakage from LLM Agents with Information Flow Control12 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
- 2026SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control27 Aug 2026
- 2026Safety Does Not Compose: Non-Decaying Loop State for Autonomous LLM Agents27 Aug 2026
- 2026The Guard That Cried Wolf: How Scary Words Make Agent Guardrails Refuse Legitimate Actions27 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory31 Jul 2026
- 2026How Agents Ask for Permission: User Permissions for AI Agents, from Interfaces to Enforcement15 Jul 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
12 newest of 59 All 59 (JSON)
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 129
- 2025PromptLocate: Localizing Prompt Injection Attackscited by 28
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 24
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 20
- 2025Indirect Prompt Injections: Are Firewalls All You Need, or Stronger Benchmarks?cited by 18
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 16
- 2026PIArena: A Platform for Prompt Injection Evaluationcited by 11
- 2026Optimizing Agent Planning for Security and Autonomycited by 10
- 2026AgentWatcher: A Rule-based Prompt Injection Monitorcited by 6
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screeningcited by 5
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 2
- 2026Robust Context-Aware Detection of Malicious Instructions in Textcited by 1
12 most cited of 16 All 16 (JSON)
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Views12 Oct 2026
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026Robust Context-Aware Detection of Malicious Instructions in Text5 Aug 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May 2026
- 2026An Empirical Study of Privacy Leakage Chains via Prompt Injection in Black-Box Chatbot Environments18 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
- 2026AgentWatcher: A Rule-based Prompt Injection Monitor1 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
12 newest of 16 All 16 (JSON)
- 2025Securing AI Agents with Information-Flow Controlcited by 121
- 2025Contextual Agent Security: A Policy for Every Purposecited by 59
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 55
- 2024Permissive Information-Flow Analysis for Large Language Modelscited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behaviorcited by 11
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 4
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculuscited by 3
- 2026Position: Capability Control Should be a Separate Goal From Alignmentcited by 2
- 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 2
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interactioncited by 2
- 2026Layered LLM Defenses as an Ensemble: Access Tiers, Inference Cost, and the Measured Failure Correlation Between Defense Layerscited by 2
12 most cited of 17 All 17 (JSON)
- 2026Sapien: A Stateful Policy Engine for Autonomous AI Agents30 Sep 2026
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memories29 Sep 2026
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026Layered LLM Defenses as an Ensemble: Access Tiers, Inference Cost, and the Measured Failure Correlation Between Defense Layers28 Aug 2026
- 2026SHARC: SHAP-Based Interpretability in Machine Learning Risk Models for Regulatory Capital under ICAAP and CCAR6 Jul 2026
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interaction22 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026Engineering Robustness into Personal Agents with the AI Workflow Store11 May 2026
- 2026An AI Agent Execution Environment to Safeguard User Data21 Apr 2026
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculus20 Mar 2026
- 2026Position: Capability Control Should be a Separate Goal From Alignment5 Feb 2026
- 2026AgentGuardian: Learning Access Control Policies to Govern AI Agent Behavior15 Jan 2026
12 newest of 17 All 17 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
- 2026Prompt Control-Flow Integrity: A Priority-Aware Runtime Defense Against Prompt Injection in LLM Systems
- 2025Security Concerns for Large Language Models: A Survey
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
- 2026Evaluation of Prompt Injection Defenses in Large Language Models
- 2024StruQ: Defending Against Prompt Injection with Structured Queries
- 2026Know Thy Enemy: Securing LLMs Against Prompt Injection via Diverse Data Synthesis and Instruction-Level Chain-of-Thought Learning