On the Relative Security of Prompt Injection: Mechanised Definitions, Defences and Verdicts for LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
An LLM agent that reads untrusted content, such as an email or a web page, may follow instructions hidden in it. Noninterference is too strong for such agents, since a useful agent lets untrusted content influence what it does and may disclose the user's data by design, and declassification needs a release policy written for each task. We instead state security relative to a reference agent, which runs the same plan under the same runtime monitor with a model that never obeys untrusted content. An agent is relatively secure if every leak it has is a leak the reference already has. Our framework, PlanTERS, instantiates relative security, a notion from speculative execution, with a small agent language in which the attacker chooses how the model follows instructions, a composition with runtime monitors, and attacker models that differ in what they observe. A fence theorem shows that revoking injectable tools at the first untrusted read, and never granting them back, makes every plan relatively secure at the event level on finite runs, for every model behaviour in which each injection is a single call and the model obeys on a schedule fixed in advance; with a fairness condition, this extends to possibly infinite runs. We prove or refute relative security for agents with fences, budgets, approvals, loops and dual LLMs, in Isabelle/HOL.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 30 of its 59 references that are in the map. Submitted 8 Nov 2026.
Builds on
30 of 59 references.
Closest ancestors · 9
Same direction, newest first
- 2026A Framework for Formalizing LLM Agent Security19 Mar
- 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocations11 Mar
- 2025Design Patterns for Securing LLM Agents against Prompt Injections10 Jun
- 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
Other references · 21
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 415
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 324
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 319
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 164
- 2025Securing AI Agents with Information-Flow Controlcited by 152
- 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 104
- 2025Contextual Agent Security: A Policy for Every Purposecited by 72
- 2018Spectre Attacks: Exploiting Speculative Executioncited by 51
9 more
- 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistantscited by 29
- 2017Nonmalleable Information Flow: Technical Reportcited by 7
- 2022Software Verification of Hyperproperties Beyond k-Safetycited by 4
- 2018SPECTECTOR: Principled Detection of Speculative Information Flowscited by 3
- 2020Hardware-Software Contracts for Secure Speculationcited by 3
- 2019Constant-Time Foundations for the New Spectre Eracited by 2
- 2020RHLE: Modular Deductive Verification of Relational forallexists Propertiescited by 1
- 2020Verifying Hyperlivenesscited by 1
- 2026Just Type It in Isabelle! AI Agents Drafting, Mechanizing, and Generalizing from Human Hintscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AgentSecBench: Measuring Prompt Injection, Privacy Leakage, and Tool-Use Integrity in LLM Agents
- 2026Securing LLM Agents Need Intent-to-Execution Integrity
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
- 2026You Told Me to Do It: Measuring Instructional Text-induced Private Data Leakage in LLM Agents
- 2024Whispers in the Machine: Confidentiality in Agentic Systems
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Management
- 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems