← Lab /Software

Plan-first info-flow control cuts tool-knowledge attacks on persistent LLM agents to near zero

SPA’s plan-first architecture with dual-lattice information-flow control eliminates tool-knowledge attacks on persistent LLM agents

Software arXiv 27 Aug 2026 Defense Prototype evidence Threat model

Published as “SPA: Securing Persistent LLM Agents Across Queries with Plan-First Information-Flow Control”

Why it matters

The results suggest that plan-first IFC can practically harden persistent LLM agents, but deployments must balance the security gains against notable drops in task success rates.

Summary

SPA’s dual-lattice information-flow control cuts the ‘tool_knowledge’ attack success to 0.0% on single-query AgentDojo and 0.2% on the multi-query AgentDojo-MQ benchmark, but this security comes with a utility drop from 53.0% to 29.0% (AgentDojo) and from 62.5% to 35.3% (AgentDojo-MQ). The system enforces plan-first execution, labels persisted artifacts, and only reveals semantic metadata to later planners. Evidence is based on the authors’ own AgentDojo-MQ extension; no external validation is provided.

What they found 2

  1. Attack success under the tool_knowledge attack drops to near zero.

    “Under the ‘tool_knowledge’ attack, SPA with information-flow control reduces attack success to zero on AgentDojo and 0.2% on AgentDojo-MQ.”

  2. Utility decreases when integrity enforcement is enabled.

    “Enabling IFC lowers concrete-mode baseline utility from 53.0% to 29.0% on AgentDojo and from 62.5% to 35.3% on AgentDojo-MQ.”

Caveats 4

  • The same integrity enforcement reduces cross-query artifact reuse from 95.4% to 89.9% of opportunities.
  • Abstract planning fails when synthesized capabilities cannot be mapped to installed tools, limiting applicability.
  • while revealing an important security-utility tradeoff introduced by strict integrity enforcement.
  • Abstract planning is limited mainly by failures in mapping synthesized capabilities to installed tools, rather than by IFC itself.

What’s new here 4

  • Introduces a plan-first architecture that generates a complete DSL plan before any tool runs.
  • Applies dual-lattice confidentiality and integrity tracking to the static plan, rejecting unsafe plans.
  • Adds a label-preserving persistent store that exposes only artifact metadata to subsequent planners.
  • Provides a multi-query benchmark (AgentDojo-MQ) to evaluate delayed attacks and state reuse.

Threat model stated by the source

AdversaryAttacker who controls third-party tools, tool metadata, tool implementations, and content returned by tools.
CapabilityCan inject malicious names, descriptions, schemas, arbitrary tool outputs, and persistent external content that the agent may later consume.
AssumesUser queries are trusted and not attacker-controlled.; Deployment configuration (lattices, policies, tool bindings) is trusted.