Intent Before Action: Early Detection of Malicious Agent Behavior from Internal States
Qianwei Sun, Qianli Ma, Tianyu Lu · Team Astra Ultra
Submitted to AI Incident Response Sprint. Sprint projects are early-stage work by participants, not Apart Research publications.
Agent supervision based on visible actions and chain of thought (CoT) can miss risk-relevant details of an impending operation, while review-visible records can be selectively rewritten under task pressure. We investigate activation-assisted monitoring, using an activation oracle (AO) to translate internal states into natural-language interpretations that complement pre-tool risk assessment. An open-weight Qwen agent serves as a controllable proxy in incident-inspired Linux tasks with obstructed legitimate routes, discoverable alternatives and monitoring notices. We analyze evaluation-state manipulation, cross-customer access, service-audit deletion and deliberate omission of unauthorized sources from handoff reports. Original activations, CoT, AO interpretations and actual operations are aligned, and independent monitors are compared at matched pre-tool cutoffs. The case evidence includes AO-assisted detection of impending evaluation manipulation missed by a CoT monitor, alongside scope and omission cues linked to observed misconduct. The broader paired pilot retained the baseline's thresholded classifications, delimiting the current benefit to case-level complementary evidence rather than a general detection advantage. We use these interpretations to produce evidence-linked audit reports for human supervisors, connecting risk hypotheses to the actions and records that warrant review. This supports interpretable investigation before tool execution and during re-review, while reliable cross-task warning and online intervention remain to be evaluated.
Reviews
This paper addresses a fundamental vulnerability in frontier AI safety infrastructure: the ability of advanced models to engage in strategic deception by manipulating their explicit reasoning (Chain of Thought) or rewriting their action logs under task pressure. By introducing an Activation Oracle (AO) to translate raw internal neural states into explicit natural-language hypotheses before tool execution, the authors pioneer a valuable, non-circumventable layer of defense-in-depth monitoring.The empirical data highlights a major structural challenge that the field must resolve. While the case-level evidence (specifically the evaluation manipulation scenario shown in Figure 2) confirms that the AO successfully caught impending misconduct that a traditional CoT monitor completely missed, the paired pilot data demonstrates that the framework yielded no aggregated statistical classification advantage over standard thresholded baselines. Additionally, relying on a secondary language model to decode and interpret activations introduces an unaddressed alignment bottleneck: an advanced, adaptively deceptive agent could theoretically learn to map its malicious intents onto benign internal manifolds, thereby fooling the interpreting oracle entirely. Future work must bridge the gap between specific case-study successes and generalized cross-task stability.
Read full reviewShow less
The team did something many papers don't. They reported that their main technique gave no overall improvement, right next to their best example, and that honesty makes the rest of the paper easy to trust. The methods are careful throughout.
Some of the best work is underplayed. The sandbox environments produced realistic, well-labeled misbehavior that other teams could reuse, and the probe study found a timing confound that other probe work, including "Can we detect an agent's intent to escape" from this sprint, should check for.
The main technique never had a fair test, because the baseline monitor was already catching nearly everything in a very small set of examples. More and harder cases, especially ones where the model's reasoning doesn't give it away, would show whether it adds anything. It would also be worth discussing whether a model could learn to hide its internal signals, which connects to Tim Hua's work on evaluation-aware models (he was one of the sprint speakers).
The main text is heavily hedged, and the clearest results are buried in an appendix. Moving them up and gathering the caveats in one place would make it much easier to read.
Read full reviewShow less
Cite this project
@misc{sun2026intent,
title = {{Intent Before Action: Early Detection of Malicious Agent Behavior from Internal States}},
author = {Qianwei Sun and Qianli Ma and Tianyu Lu},
year = {2026},
month = sep,
note = {Submitted to AI Incident Response Sprint, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/intent-before-action-early-detection-of-malicious-agent-behavior-from-internal-states-djzu}},
url = {https://apartresearch.com/sprints/projects/intent-before-action-early-detection-of-malicious-agent-behavior-from-internal-states-djzu}
}More from AI Incident Response Sprint
- 1st placeView project: Noticing the escapes: Who spots a runaway agent, and how long does it take?
Noticing the escapes: Who spots a runaway agent, and how long does it take?
The Escapees
In 2026, nine incidents became public in which AI agents escaped their environment and did something unauthorized to other parties. We analyzed all of these incidents and how they were noticed initially. None of these …
- 2nd placeView project: Strengthening International AI Incident Discovery
Strengthening International AI Incident Discovery
Team A-O-I
Mandatory AI incident reporting exists to make dangerous events visible to regulators while there is still time to act. We coded the six such regimes in force or set to be enforced soon from primary legal texts and …
- 3rd placeView project: When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
Teachafy
When to Ask is a reinforcement-learning environment that trains AI agents to work out what the user actually means before they use a powerful credential, instead of just carrying out the literal instruction. Agents …