Securing AI Agents with Information-Flow Control
Manuel Costa, Boris Köpf, Aashish Kolluri, Andrew Paverd, Mark Russinovich, Ahmed Salem, Shruti Tople, Lukas Wutschitz, Santiago Zanella-Béguelin
TL;DR
This work tackles the security challenges facing autonomous AI agents, notably indirect prompt injections, by employing information-flow control (IFC) to attach confidentiality and integrity labels to all data and tool interactions. It formalizes agent loops, develops a dynamic taint-tracking framework, and proves semantic guarantees such as non-interference for integrity and explicit secrecy for confidentiality. The authors introduce Fides, a refined IFC-powered planner that selectively hides data and uses constrained inspection to balance security with task utility, and demonstrate its effectiveness on the AgentDojo benchmark with policy checks that block most PIAs while preserving competitive task completion. Overall, the paper provides a formal model, a taxonomy of tasks, and empirical evidence that deterministic IFC can expand the set of securely solvable tasks for AI agents without prohibitive utility loss. These contributions advance practical, provable security for agent architectures in real-world, multi-tool settings.
Abstract
As AI agents become increasingly autonomous and capable, ensuring their security against vulnerabilities such as prompt injection becomes critical. This paper explores the use of information-flow control (IFC) to provide security guarantees for AI agents. We present a formal model to reason about the security and expressiveness of agent planners. Using this model, we characterize the class of properties enforceable by dynamic taint-tracking and construct a taxonomy of tasks to evaluate security and utility trade-offs of planner designs. Informed by this exploration, we present Fides, a planner that tracks confidentiality and integrity labels, deterministically enforces security policies, and introduces novel primitives for selectively hiding information. Its evaluation in AgentDojo demonstrates that this approach enables us to complete a broad range of tasks with security guarantees. A tutorial to walk readers through the the concepts introduced in the paper can be found at https://github.com/microsoft/fides
