Skip to content

DRIFT: Protecting LLM agent safety with dynamic rule defense and injection isolationDRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents

arXiv· arXiv:2506.12104· NeurIPS 2025· Hao Li, Xiaogeng Liu, Hung-Chun Chiu, Dianqi Li, Ning Zhang, Chaowei Xiao·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

The DRIFT framework defends LLM agents against prompt injection attacks through dynamic safety policies and injection isolation. Its Secure Planner constructs a minimal function trajectory and a JSON-schema-style parameter manifest based on the user query; the Dynamic Validator monitors deviations from the original plan and checks permissions and user intent; and the Injection Isolator detects and blocks instructions in the memory stream that conflict with the query. On the AgentDojo, ASB, and AgentDyn benchmarks, DRIFT balances safety and usability across multiple models.

Read originalNeurIPS 2025