mlsanityData to 14 Oct 2026

SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control

arXiv 2608.27234 ↗First posted 27 Aug 2026cs.CR cs.SEcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Large language model (LLM) agents increasingly operate over untrusted webpages, documents, tools, and persistent states while exercising authority over security-sensitive resources. Existing defenses typically protect either planning or individual tool interactions, but persistent agents face a broader threat: attacker-controlled data can alter control flow, enter security-sensitive tool arguments, or compromise later queries. We present SPA, a plan-first architecture that secures planning, execution, and cross-query state reuse. SPA invokes the planner once per query to generate a complete executable plan in a declarative domain-specific language, then applies dual-lattice information-flow control to track confidentiality and integrity across explicit data flows and control dependencies. To support persistence without re-exposing untrusted payloads to the planner, SPA stores execution results as labeled artifacts and reveals only semantic metadata during later planning. We evaluate SPA on AgentDojo and AgentDojo-MQ, which is our multi-query extension for measuring secure state reuse and delayed attacks. Under the 'tool_knowledge' attack, SPA with information-flow control reduces attack success to zero on AgentDojo and 0.2% on AgentDojo-MQ. Our results show that plan-first execution combined with label-preserving persistence can substantially strengthen persistent LLM agents, while revealing an important security-utility tradeoff introduced by strict integrity enforcement.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 13 of its 31 references that are in the map. First posted on arXiv 27 Aug 2026.

Builds on

13 of 31 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows29 Jun
  2. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  3. 2025Les Dissonances: Cross-Tool Harvesting and Polluting in Pool-of-Tools Empowered LLM Agents4 Apr
  4. 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
  5. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar

Other references · 8

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  2. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  3. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  4. 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 96
  5. 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 55
  6. 2025BrowserAgent: Building Web Agents with Human-Inspired Web Browsing Actionscited by 17
  7. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 14
  8. 2025Sophia: A Persistent Agent Framework of Artificial Lifecited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
  2. 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents
  3. 2026SecureClaw: Clawing Back Control of LLM Agents
  4. 2026Agents That Know Too Much: A Data-Centric Survey of Privacy in LLM Agents
  5. 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agents
  6. 2026From Secure Agentic AI to Secure Agentic Web: Challenges, Threats, and Future Directions
  7. 2026AgentVisor: Defending LLM Agents Against Prompt Injection via Semantic Virtualization
  8. 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems