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

Chong Xiang, Drew Zagieboylo, Shaona Ghosh, Sanjay Kariyappa, Kai Greshake +3 more
3/31/2026
cs.CRcs.AI
position

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiang2026architecting,
  title  = {Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks},
  author = {Chong Xiang and Drew Zagieboylo and Shaona Ghosh and Sanjay Kariyappa and Kai Greshake and Hanshen Xiao and Chaowei Xiao and G. Edward Suh},
  year   = {2026},
  eprint = {2603.30016},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.30016v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.30016.svg)](https://codeofpaper.com/paper/2603.30016)

Discussion