Abstract
Agentic AI systems, which leverage Large Large Models (LLMs) to interact with the real world via tools and APIs, introduce a significant and novel attack surface. Current AI safety efforts primarily focus on model alignment, which lacks the deterministic guarantees required for robust systems security. This paper provides a Systematization of Knowledge (SoK) that maps classical security principles—Least Privilege, TCB Tamper Resistance, Complete Mediation, Secure Information Flow, and the Human Weak Link—onto the agentic computing stack. By analyzing 11 real-world exploits and evaluating over 20 defense mechanisms, we identify fundamental architectural gaps, such as the "Probabilistic TCB" problem and the lack of instruction-data separation. We conclude that securing agentic AI requires moving beyond probabilistic guardrails toward deterministic, systems-level enforcement.
Introduction
Agentic AI—systems where an LLM iteratively calls tools like web browsers, compilers, or email clients—is becoming ubiquitous. However, these systems introduce a massive attack surface. While the AI community focuses on "alignment" (trying to make the model behave), the systems security community recognizes that a probabilistic "brain" cannot be a reliable security monitor on its own. Traditional security relies on a Trusted Computing Base (TCB) that is deterministic and minimal. In agentic computing, the LLM often becomes the TCB, but it is inherently probabilistic, opaque, and prone to "instruction smuggling" where data and code are inextricably mixed.
The Problem: Probabilistic TCBs and Instruction Smuggling
A core challenge in agentic security is the "Probabilistic TCB Problem." If a security monitor is 99% accurate, it is 0% secure against an adaptive adversary. Building a "memory safety" equivalent for AI on top of a probabilistic model is a foundational challenge. Furthermore, traditional OS security utilizes "Write XOR Execute" (W⊕X) to prevent data from being run as code. In LLMs, data is the instruction. Until we can architecturally separate the two, prompt injection remains an inherent vulnerability.
As shown in Figure 1, an agent tasked with a benign activity (investigating a GitHub issue) can be subverted by malicious data (prompt injection within the issue) to perform unauthorized actions, such as reading PII from a different browser tab and exfiltrating it to an attacker-controlled site.
Framework for Analysis
The authors propose a framework for analyzing agentic security based on five classical principles:
- Least Privilege: Restricting agent access to only necessary tools and data.
- TCB Tamper Resistance: Ensuring the core logic of the agent cannot be modified by external inputs.
- Complete Mediation: Every access to a resource must be checked against a policy.
- Secure Information Flow: Preventing sensitive data from leaking to untrusted sinks.
- Human Weak Link: Addressing the cognitive load and potential for fatigue in human-in-the-loop systems.
Case Study Analysis and Results
The paper performs a deep dive into 11 real-world attacks on high-profile agents, including Microsoft Copilot, Devin, and ChatGPT Operator. These case studies demonstrate that even state-of-the-art agents are vulnerable to relatively simple exploits.
As summarized in Figure 2, vulnerabilities are widespread across the industry. For instance, Devin was tricked into exposing its entire file system via a local web server, and Claude Code was manipulated into leaking .env secrets via DNS lookups—bypassing human-in-the-loop checks for shell commands. The analysis reveals that while most existing defenses address "Probabilistic TCB" or "Dynamic Policy," almost none address all core challenges simultaneously.
Key Insights and Future Directions
- The Semantic Gap: Security policies are often too low-level (clicks/keystrokes) or too high-level (natural language). There is a critical need for an Intermediate Representation (IR) for agent plans that is amenable to both static and dynamic analysis.
- Dynamic Policy Synthesis: Unlike mobile apps with fixed permissions, an agent's intent changes dynamically. Systems must be able to synthesize "just-in-time" least-privilege policies from natural language prompts.
- Effectiveness of DSLs: Research systems using Domain-Specific Languages (like Progent) have shown promise, reducing attack success rates from ~41% to ~2% by enforcing fine-grained, tool-level policies.
Conclusion
Securing agentic AI requires a shift from "wrapping" LLMs in guardrails to developing security-aware architectures. Future work should focus on "surgically enhanced" model architectures where specific circuits are dedicated to policy enforcement and can be inspected via mechanistic interpretability. Additionally, reducing human-in-the-loop fatigue through automated "policy assistants" is essential for scalable security.
Summary updated