TL;DR
This paper introduces a unified benchmark for monitoring LLM agent misuse, shifting the focus from simply asking if a trajectory is harmful to when it becomes harmful. By introducing a "harm window" formalism and a dataset of ~6,200 traces, the authors demonstrate that monitors judging an agent's actions generalize far better across different attack types than those judging conversation content, which often fail completely against prompt injections.
What Problem Does This Paper Address?
As LLM agents move from simple chatbots to autonomous actors that read emails and call tools, they face two major misuse threats:
- Decomposition Attacks: A user splits a harmful goal into seemingly innocent sub-tasks to bypass filters.
- Prompt Injection: A malicious instruction arrives from the environment (e.g., a tool result like a phishing email) and tricks the agent into executing it.
Current evaluations are fragmented—treating these as separate problems—and "position-blind," meaning they credit a monitor for flagging harm even if it happens after the damage is done (e.g., after data has already been exfiltrated). This paper argues that for monitoring to be operationally viable, it must localize the threat within a specific timeframe.
Methods
The authors propose a unified formalism for trace-level monitoring centered on the Harm Window ($W$). This window spans from the agent's first harmful commitment ($E$) to the final execution of the harmful goal ($O_{exec}$).
Key to their approach is the Interval Metric: a monitor only receives credit if its first flag falls inside this window. Flags before $E$ are considered "early" (potentially disruptive false positives), and flags after $O_{exec}$ are "late" (useless for prevention).
They evaluated 17 monitor configurations, notably comparing:
- Content-framed monitors: These judge the intent of the conversation or the user's requests.
- Action-framed monitors: These judge the agent's specific actions (tool calls/responses) given the conversation context.
Datasets
The authors constructed a benchmark of ~6,200 traces using a shared schema:
- Decomposition Track: 1,165 traces where harmful goals are split into sub-tasks, including "hard" variants where benign tasks are interleaved to further obscure intent.
- Injection Track: 2,828 traces based on AgentDojo, where agents are hit with "important instructions" via tool results.
- Refusal Twins: A critical control set where the agent is given a harmful prompt but refuses it. This tests if monitors can distinguish between a harmful request and a harmful action.
Key Insights and Ideas
- Action Framing is the "Silver Bullet" for Generalization: Monitors that focus on what the agent does (action-framed) performed excellently on both decomposition (AUC 0.95) and injection (AUC 0.99). In contrast, content-framed monitors "collapsed" on injection attacks (AUC 0.52), essentially performing no better than a coin flip.
- The Illusion of Safety: Classical position-blind metrics (like standard AUC) paint an overly optimistic picture. When the "Interval Metric" is applied, performance drops significantly. Even the best monitors struggle to catch decomposition attacks exactly when they start, often flagging too early on preparatory steps.
- Monitors Don't Understand Refusals: Many monitors flag "refusal twins" (where the agent says "No" to a harmful request) as harmful. This suggests monitors are often just reacting to "bad words" in the prompt rather than understanding the agent's actual behavior.
- The "Reasoning Tax": Adding Chain-of-Thought (CoT) to monitors significantly increases computational cost (up to 113x more tokens) but often yields marginal or even negative gains in detection accuracy on certain models.
Key Results
The evaluation across various model families (Gemma, Qwen, Llama, GPT-5.6) showed a clear trend:
- Action-framed Sequential Monitors: Achieved near-perfect AUC (0.985) on injections and high AUC (0.952) on decomposition.
- Localization Failure: On the decomposition track, the best monitor only achieved an interval credit of 0.50. This means that in half the cases, the monitor either missed the harm or flagged it outside the "safe" window.
- Prompt Injection Vulnerability: Content-framed monitors failed because they couldn't distinguish between a legitimate user instruction and a malicious one embedded in a tool result.
Limitations and Future Work
- Synthetic Nature: The benchmark relies on traces generated by LLMs (Gemma 4) in simulated environments. Real-world "wetware" attacks might look different.
- LLM-as-a-Judge: The "evidence onset" ($E$) labels were produced by an LLM rater (Claude Opus). While validated, this introduces potential model-based biases into the ground truth.
- Static vs. Dynamic: The benchmark is static. A live, adaptive adversary might find ways to "slow-roll" harmful commitments to stay outside the monitor's detection cadence.
- Future Directions: The authors suggest extending the benchmark to include more complex workflows, multi-agent scenarios, and "jailbreak" style attacks.
Summary updated