The paper addresses multi-turn attacks on agentic LLM systems where harmful behavior emerges from a sequence of individually permissible steps. Existing defenses that check individual actions or states miss these composed attacks. The authors show that as an agent shifts toward unsafe behavior, its internal representations transition along a safety-relevant direction, and these transitions can be detected.
They introduce DART, a runtime framework that projects representation transitions onto a denoised safety direction, aggregates them across turns, and intervenes when the aggregate exceeds a threshold. Across six models and two benchmarks, DART reduces attack success from 84% to 25% on MT-AgentRisk and from 97% to 52% on ASEval, with low false alarm rates and minimal overhead (0.14-0.56 s per step). Denoising is critical: without it, detection rates drop from 60-85% to 7-40%.
This is interesting because it offers a lightweight, online defense that does not require auxiliary models or lookahead, catching attacks composed of safe steps that other defenses miss. It also identifies which context update triggered the shift, allowing targeted reminders.