Optimizing Agent Planning for Security and Autonomy

Kolluri, Aashish, Sharma, Rishi, Costa, Manuel, Köpf, Boris, Nießen, Tobias, Russinovich, Mark, Tople, Shruti, Zanella-Béguelin, Santiago

–arXiv.org Artificial Intelligence 

AI agents are increasingly used in applications ranging from information retrieval (Anthropic, 2025; OpenAI, 2025b; Perplexity, 2025b) to browser and computer-use (OpenAI, 2025a; Perplexity, 2025a; OpenAI, 2025c). These agents often fetch information from various data sources in order to complete user tasks effectively. However, this reliance on external data sources exposes agents to indirect prompt injection attacks (PIAs) (Greshake et al., 2023; Yi et al., 2025), where malicious actors manipulate data sources to hijack the agents' behavior. The security implications of PIAs are particularly critical in scenarios where AI agents are trusted with handling sensitive information, and can manifest e.g. as publishing malicious patches to software packages or the exfiltration of confidential information. Several probabilistic defenses have been proposed against PIAs, such as model alignment (Wallace et al., 2024; Chen et al., 2025a), defensive system prompts (Yi et al., 2025), and classifiers (Abdelnabi et al., 2025; Jia et al., 2025). However, these approaches do not provide strong security guarantees (Zhan et al., 2025; Nasr et al., 2025) and remain vulnerable to sophisticated PIAs. An emerging line of research proposes deterministic systems-level defenses against PIAs based on information-flow control (IFC) (Costa et al., 2025; Zhong et al., 2025; Debenedetti et al., 2025; Wu et al., 2024).