atlas

Research map / Multi-agent systems and games / LLM agents

DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DRIFT, a system-level prompt-injection defense for LLM agents combining a Secure Planner (minimal function trajectory and parameter checklists), a Dynamic Validator (privilege-aware deviation checks), and an Injection Isolator (masks conflicting instructions in memory).

Problem

Prompt injection attacks in tool-using LLM agents can mislead actions and contaminate memory; existing system-level defenses use static policies that hurt utility, and injected content persists in memory over long interactions.

Approach

Combine control-flow and data-flow constraints planned from the user query only, dynamically update them via a privilege-aware (Read/Write/Execute) intent-alignment check on deviations, and isolate injected instructions from the memory stream using an LLM-based detector and external masking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Secure Planner to Native Agent (ablation)GPT-4o-mini ReAct agent · AgentDojo under attackASR: 30.67 -> 2.14Helped
add Secure Planner to Native Agent (ablation)GPT-4o-mini ReAct agent · AgentDojo without attackBenign Utility: 63.55 -> 43.22Hurt
add Dynamic Validator to Secure Planner (ablation)GPT-4o-mini agent with Secure Planner · AgentDojoBenign Utility: 43.22 -> 58.48Helped
add Dynamic Validator to Secure Planner (ablation)GPT-4o-mini agent with Secure Planner · AgentDojo under attackASR: 2.14 -> 5.41Hurt
add Injection Isolator to Planner + Validator (ablation)GPT-4o-mini DRIFT · AgentDojo under attackASR: 5.41 -> 1.35Helped
add Injection Isolator to Native Agent (ablation)GPT-4o-mini ReAct agent · AgentDojo under attackASR: 30.67 -> 8.96Helped
use DRIFT instead of ReActGPT-4o-mini agent · AgentDojo under attackASR: 30.67 -> 1.35Helped
use DRIFT instead of ProgentGPT-4o-mini agent · ASB under attackASR: 15.75 -> 4.75Helped
use DRIFT instead of ReActGPT-4o-mini agent · AgentDojo without attackBenign Utility: 63.55 -> 57.29Hurt
use DRIFT instead of ReActGPT-4o-mini agent · AgentDojo under attackUtility: 48.27 -> 50.93Helped
use DRIFT instead of ReActGPT-4o agent · AgentDojo under attackASR: 51.68 -> 1.66Helped
use dynamic policy instead of static policyAgentDojo agent · AgentDojoSuccess RateHelped

Surprising findings

Limitations

Experimental setup

Datasets: AgentDojo ASB AgentDyn

Benchmarks: AgentDojo ASB AgentDyn

Metrics: Benign Utility Utility Under Attack Targeted ASR token cost efficiency

Baselines: repeat_user_prompt spotlighting_with_delimiting tool_filter transformers_pi_detector CaMeL Progent delimiters_defense ob_sandwich_defense

Builds on: ReAct CaMeL Progent chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy