← Lab /AI/ML

System-level defenses are needed to mitigate indirect prompt injection in AI agents

System-level designs can prevent malicious instructions in untrusted data from causing dangerous LLM agent actions

AI/ML arXiv 31 Mar 2026 Position Maturity unclear

Published as “Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks”

Why it matters

Provides a design blueprint for building more secure LLM agents, but offers no concrete implementation or empirical validation.

Summary

The paper argues that dynamic replanning, security-aware policy updates, and constrained LLM judgments are essential for protecting autonomous AI agents from indirect prompt injection. It also stresses that ambiguous situations require personalization and human oversight. The authors claim existing defenses appear effective only because benchmarks lack dynamic tasks and adaptive attackers, but they provide no empirical evaluation to substantiate these claims.

What they found 3

  1. Dynamic replanning and policy updates are required for complex, dynamic agentic tasks.

    “Position 1: Dynamic (and security-aware) replanning and security policy updates are necessary for complex, dynamic agentic tasks.”

  2. LLMs can be used for security decisions only when their observation and decision scope are strictly limited.

    “We propose resolving this tension by leveraging the expressivity of LLMs (or other learned models), but only in settings where the system strictly limits what they can observe and what they can decide.”

  3. Personalization and human interaction are core design considerations for ambiguous use cases.

    “Personalization and human interaction should be taken into consideration, especially in ambiguous use cases.”

Caveats 4

  • Many existing defenses [6], [13], [14], [17], [21] report both high utility and strong security in their evaluations, despite omitting key design components discussed in this paper.
  • We focus on indirect prompt injection attacks, in which malicious instructions embedded in external data segments (from a partially compromised environment) hijack agent actions. That is, we assume the system and user prompts are trusted, while the environment is partially compromised.
  • We do not discuss orthogonal traditional security techniques such as sandboxing; instead, we focus on security challenges that are fundamentally unsolvable through sandboxing.
  • We do not aim to cover basic concepts of AI agents or prompt injection, nor does it provide a comprehensive survey of existing work.

What’s new here 4

  • Proposes a unified system-level architecture that explicitly separates plan generation, policy creation, enforcement, and feedback loops.
  • Advocates using LLMs only for narrowly scoped security judgments on structured inputs, limiting their exposure to untrusted data.
  • Highlights the necessity of human interaction for resolving ambiguous intent and policy decisions.
  • Analyzes shortcomings of current agent-security benchmarks that give a false sense of utility and security.