Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
AI agents, predominantly powered by large language models (LLMs), are vulnerable to indirect prompt injection, in which malicious instructions embedded in untrusted data can trigger dangerous agent actions. This position paper discusses our vision for system-level defenses against indirect prompt injection attacks. We articulate three positions: (1) dynamic replanning and security policy updates are often necessary for dynamic tasks and realistic environments; (2) certain context-dependent security decisions would still require LLMs (or other learned models), but should only be made within system designs that strictly constrain what the model can observe and decide; (3) in inherently ambiguous cases, personalization and human interaction should be treated as core design considerations. In addition to our main positions, we discuss limitations of existing benchmarks that can create a false sense of utility and security. We also highlight the value of system-level defenses, which serve as the skeleton of agentic systems by structuring and controlling agent behaviors, integrating rule-based and model-based security checks, and enabling more targeted research on model robustness and human interaction.
Key facts. Cited by 9 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 24 of its 32 references that are in the map. First posted on arXiv 31 Mar 2026.
Builds on
24 of 32 references.
Closest ancestors · 13
Same direction, newest first
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis11 Feb
- 2025Systems Security Foundations for Agentic Computing1 Dec
- 2025Mitigating Indirect Prompt Injection via Instruction-Following Intent Analysis30 Nov
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks19 Nov
- 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection6 Oct
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injection2 Aug
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
1 more
Other references · 11
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 179
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 108
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 82
- 2026AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?cited by 45
- 2024Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization (Extended Version)cited by 31
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 13
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedbackcited by 2
- 2026EvoSafeHarness: Evolving Model- and Domain-Specific Harnesses for Securing Agentscited by 2
- 2026Tiny Enough to Break In: Agentic Remote Access Trojans Powered by Small Language Modelscited by 1
- 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validationcited by 1
- 2026Where Is the Tradeoff in Using Third-Party API Routers for Agentic Software Development?cited by 0
- 2026AgentAntibody: An Adaptive Immune System for Defending LLM Agents against Prompt Injectioncited by 0
- 2026PromptShield Home: Ambient Multimodal Prompt Injection Defense for Smart-Home Agentscited by 0
- 2026Toward Metacognitive One-Shot Indirect Prompt Injection: Strategy Abstraction Via Outcome-Conditioned Reflectioncited by 0
- 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validation21 Sep 2026
- 2026EvoSafeHarness: Evolving Model- and Domain-Specific Harnesses for Securing Agents5 Sep 2026
- 2026Toward Metacognitive One-Shot Indirect Prompt Injection: Strategy Abstraction Via Outcome-Conditioned Reflection9 Aug 2026
- 2026PromptShield Home: Ambient Multimodal Prompt Injection Defense for Smart-Home Agents6 Aug 2026
- 2026AgentAntibody: An Adaptive Immune System for Defending LLM Agents against Prompt Injection4 Aug 2026
- 2026Tiny Enough to Break In: Agentic Remote Access Trojans Powered by Small Language Models4 Aug 2026
- 2026Where Is the Tradeoff in Using Third-Party API Routers for Agentic Software Development?26 Jul 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedback17 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025Design Patterns for Securing LLM Agents against Prompt Injections
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agents
- 2026SoK: The Attack Surface of Agentic AI - Tools and Autonomy
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives
- 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows