Agent Security is a Systems Problem

Mihai Christodorescu, Earlence Fernandes, Ashish Hooda, Somesh Jha, Johann Rehberger, Kamalika Chaudhuri, Xiaohan Fu, Khawaja Shams, Guy Amir, Jihye Choi, Sarthak Choudhary, Nils Palumbo, Andrey Labunets, Nishit V. PandyaNeurIPS 2026 Position Paper Track Oral 2026

TL;DR

Trying to make AI agents secure solely by training the underlying language model to be "robust" is a losing battle—attackers will always find a way to trick it. Instead, this position paper argues that we should treat the AI model as an untrusted component (just like an operating system treats a random app) and enforce security rules at the surrounding system level. By applying decades-old computer security principles, we can stop agents from going rogue or leaking data, even when the model itself is fooled.

What Problem Does This Paper Address?

AI agents—models that use tools like web browsers, file systems, and shell commands to complete tasks—are increasingly deployed in messy, adversarial environments. When an agent reads a webpage or an email, it can fall victim to prompt injection: malicious instructions hidden in external data that hijack the agent's behavior, tricking it into exfiltrating sensitive files or running unauthorized commands.

Currently, the AI community's dominant defense is model-centric: using alignment and fine-tuning to make the model itself resist adversarial inputs. The authors argue this is fundamentally limited, echoing the history of "classical adversarial ML" in computer vision where attackers consistently bypassed model-based defenses. Because LLMs are probabilistic and mix instructions and data in a single stream of tokens, relying on the model to police itself is fragile. The paper addresses how to shift the burden of security from the unreliable model to a deterministic, system-level boundary.

Methods

Rather than proposing a new algorithm, the authors lay out a systems-security framework for agentic computing. They treat the AI model as an untrusted process and place a Trusted Computing Base (TCB)—the OS, sandboxing mechanisms, and a deterministic reference monitor—between the model and the outside world.

Figure 1: Standard security architecture consists of requests and responses that cross a security boundary between an untrusted system and the trusted computing base (TCB). The TCB consults the security policy to decide whether it is permitted to answer a given request.

Every action the agent requests (like reading a file or making a network call) must cross this security boundary and be checked against an explicit Security Policy before execution. To make this work, the authors distill five classic security principles:

  1. Least Privilege (LP): Give the agent only the permissions strictly needed for its current task.
  2. TCB Tamper Resistance (TCB-TR): Protect the enforcement machinery and trusted storage from being modified by the agent or external data.
  3. Complete Mediation (CM): Ensure every request is intercepted and validated, with no backdoors.
  4. Secure Information Flow (SIF): Track how sensitive data moves through the system so it doesn't leak to untrusted destinations.
  5. Human Weak Link (HWL): Design mechanisms that don't rely on humans catching subtle security failures in permission prompts.

To operationalize these principles, they propose three core mechanisms: provable separation of instructions and data, least-privilege sandboxing with verifiable policy generation, and information-flow control (IFC).

Datasets

Not discussed in the paper. (As a position paper, it does not train or benchmark models on standard ML datasets; instead, it analyzes eleven real-world security incidents.)

Key Insights and Ideas

  • Agents break traditional security assumptions: In classic systems (like Android), a developer writes a static app for a fixed task, so permissions are set once at install time. Agents, however, take underspecified natural-language goals from users and dynamically adapt—meaning security policies must also be dynamic and task-specific.
  • The "Semantic Gap": Traditional systems have neat abstraction layers (Hardware $\leftrightarrow$ OS $\leftrightarrow$ Process $\leftrightarrow$ Network) where each layer enforces appropriate rules. Agents collapse high-level natural-language intent directly into low-level tool calls, leaving no natural layer to enforce context-dependent rules like "don't share sensitive data."
  • Don't use an LLM to police an LLM: Using a secondary "safety LLM" as a reference monitor is tempting, but it makes the TCB probabilistic and vulnerable to the same adversarial attacks. Security guarantees require deterministic enforcement.

Key Results

To ground their argument, the authors analyze 11 real-world attacks on agentic systems—including ChatGPT Long-Term Memory SpAIware, Claude Code Exfiltration, Microsoft Copilot Exfiltration, and the OpenAI–Hugging Face incident.

Table 1: The table maps the attacks discussed in Section 2.3 and Appendix A to the security prin- ciples they violate, including least privilege (LP), trusted computing base tamper resistance (TCB-TR), complete mediation (CM), secure information flow (SIF), and mitigation of human weak links (HWL). Checkmarks indicate which principles are implicated by each attack, illustrat- ing that many failures arise from multiple overlapping security breakdowns.
  • Overlapping failures: Every single attack violated Secure Information Flow (11/11), and most violated Least Privilege (7/11).
  • Real-world examples: In ChatGPT SpAIware, a prompt injection poisoned the app's "Memories" feature (violating TCB-TR) and exfiltrated user conversations via invisible image URLs (violating LP and SIF). In Claude Code Exfiltration, an agent read API keys from a .env file and leaked them via DNS queries using ping—a command mistakenly left off the human-approval list.

Limitations and Future Work

The authors acknowledge that applying systems security to agents is hard and leaves three major open research problems:

  1. Separating Instructions from Data: We lack a formal, provable way to stop LLMs from treating untrusted data as instructions—and even if we had one, agents often need to follow new instructions found in data (e.g., reading API docs).
  2. Verifiable Policy Generation: Translating fuzzy natural-language goals into formal, enforceable policies—and evolving them as the task progresses—without sacrificing correctness.
  3. Information-Flow Control (IFC): Because LLMs mix all inputs together, naive taint-tracking causes "label explosion" (everything gets labeled as sensitive). Future work must disentangle information flows through LLMs and safely support exceptions (like declassification) without ruining the agent's utility.

Summary updated

BibTeX
@inproceedings{christodorescu2026agent,
  author = {Mihai Christodorescu and Earlence Fernandes and Ashish Hooda and Somesh Jha and Johann Rehberger and Kamalika Chaudhuri and Xiaohan Fu and Khawaja Shams and Guy Amir and Jihye Choi and Sarthak Choudhary and Nils Palumbo and Andrey Labunets and Nishit V. Pandya},
  title = {{Agent Security is a Systems Problem}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8gDb2bnWWf},
}
Figure