SafetyDrift: Predicting When AI Agents Cross the Line Before They Actually Do
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
When an LLM agent reads a confidential file, then writes a summary, then emails it externally, no single step is unsafe, but the sequence is a data leak. We call this safety drift: individually safe actions compounding into violations. Prior work has measured this problem; we predict it. SafetyDrift models agent safety trajectories as absorbing Markov chains, computing the probability that a trajectory will reach a violation within a given number of steps via closed form absorption analysis. A consequence of the monotonic state design is that every agent will eventually violate safety if left unsupervised (absorption probability 1.0 from all states), making the practical question not if but when, and motivating our focus on finite horizon prediction. Across 357 traces spanning 40 realistic tasks in four categories, we discover that "points of no return" are sharply task dependent: in communication tasks, agents that reach even a mild risk state have an 85% chance of violating safety within five steps, while in technical tasks the probability stays below 5% from any state. A lightweight monitor built on these models detects 94.7% of violations with 3.7 steps of advance warning at negligible computational cost, outperforming both keyword matching (44.7% detection, 55.9% false positive rate) and per step LLM judges (52.6% detection, 38.2% false positive rate) while running over 60,000x faster.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 8 of its 14 references that are in the map. First posted on arXiv 28 Mar 2026.
Builds on
8 of 14 references.
Closest ancestors · 5
Same direction, newest first
- 2026Agents of Chaos23 Feb
- 2025A Benchmark for Evaluating Outcome-Driven Constraint Violations in Autonomous AI Agents23 Dec
- 2025OpenAgentSafety: A Comprehensive Framework for Evaluating Real-World AI Agent Safety8 Jul
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents14 Nov
Other references · 3
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2026Towards a Science of AI Agent Reliabilitycited by 58
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026DreamGuard: Efficient Runtime Guardrail for LLM Agents via Risk-Aware World Modelcited by 3
- 2026When Local Monitors Miss Compositional Harm: Diagnosing Distributed Backdoors in Multi-Agent Systemscited by 2
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026Compositional Policy Violations: When Step-Level Compliance Fails In Agentic AI Workflowscited by 0
- 2026Compositional Policy Violations: When Step-Level Compliance Fails In Agentic AI Workflows16 Sep 2026
- 2026DreamGuard: Efficient Runtime Guardrail for LLM Agents via Risk-Aware World Model6 Aug 2026
- 2026When Local Monitors Miss Compositional Harm: Diagnosing Distributed Backdoors in Multi-Agent Systems13 Jul 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent Safety From Within: Detecting Harmful Trajectories from LLM Internal States
- 2026PASTABench: Proactive Assessment of Sequential Trajectories for Agent Safety
- 2026Safety Does Not Compose: Non-Decaying Loop State for Autonomous LLM Agents
- 2026The Cold-Start Safety Gap in LLM Agents
- 2026HINTBench: Horizon-agent Intrinsic Non-attack Trajectory Benchmark
- 2026AI Guardrail Survival under Single-Cycle Agentic Self-Summarization
- 2026Toward a Principled Framework for Agent Safety Measurement
- 2026ATBench: A Diverse and Realistic Agent Trajectory Benchmark for Safety Evaluation and Diagnosis