Abstract
Recent work has shown that an attacker can implant dormant malicious behaviors through poisoning that remain hidden at release but emerge later after benign downstream fine-tuning. As foundation models are increasingly used as agents, whether dormant poisoning extends to harmful agent actions and multimodal settings remains unclear. We show two risks of dormant poisoning in agentic settings: (1) poison activation can extend to tools and actions not optimized during poisoning; and (2) multiple harmful behaviors can coexist within one model and be jointly activated by fine-tuning. Existing defenses often rely on externally provided safe responses, which are hard to obtain for agent actions, or a trusted clean reference model as a safety anchor. In dormant poisoning, however, the released model appears safe before fine-tuning, so downstream users may be unaware of the poisoning and may not know which model to trust as a clean reference. We address this issue by exploiting a key property of dormant poisoning: the attacker must preserve safe behavior at release to conceal the poisoning, and this preserved behavior can itself serve as a safety reference. Leveraging this property, we automatically construct a Safety Buffer that pairs each harmful input with the released model's response and a benign version generated by the same model to remove harmful intent. The Safety Buffer can also replace external safe responses required by existing defenses. However, these defenses do not distinguish updates that weaken safety from those that preserve it, often increasing over-refusal or reducing utility. To address this limitation, we lastly introduce LookAhead Defense, which previews each candidate update using the Safety Buffer and penalizes only updates predicted to weaken safe behavior on the harmful input or make the released model's response more likely on the benign version, allowing us to preserve safety while avoiding unnecessary changes to benign behavior. Across language models, language agents, and multimodal agents, LookAhead Defense reduces harmful behavior in agents from up to 93.9% to at most 14.2% and harmful responses in language models from up to 92.5% to at most 2.0% compared with vanilla fine-tuning, while maintaining competitive utility and low over-refusal. It also remains effective against other poisoning methods.
Contributions
- 1
We define dormant poisoning over agent actions, showing that language and multimodal agents that appear safe at release can later execute targeted harmful actions and that multiple harmful behaviors can coexist in one agent.
- 2
We construct a Safety Buffer from the released model itself to avoid relying on an external model or safe responses, and show that it performs comparably to buffers built from them.
- 3
We introduce LookAhead Defense, which penalizes a candidate update only when it is predicted to weaken safe behavior.
Key Results
How It Works
Build a Safety Buffer from the released model, with harmful inputs, its own responses, and benign versions.
Preview each update by stepping along the sign of the task gradient.
Penalize only harmful updates that make the safe response less likely on harmful inputs or more likely on benign versions.
Results
Agents
Language models
Agents. Poison activation (Act., lower is better) and utility (Util., higher is better), each averaged over two benchmarks. Bold is best.
| Defense | Language agents | Multimodal agents | ||||||
|---|---|---|---|---|---|---|---|---|
| Qwen3-4B | Granite-4.2-8B | Qwen2.5-VL-3B | Qwen3-VL-8B | |||||
| Act. | Util. | Act. | Util. | Act. | Util. | Act. | Util. | |
| Vanilla FT | 93.9 | 85.9 | 90.2 | 73.5 | 80.3 | 70.0 | 64.5 | 67.7 |
| SafeDelta | 94.7 | 85.4 | 69.7 | 73.5 | 80.7 | 70.8 | 61.8 | 67.8 |
| Safety-mix | 8.0 | 84.0 | 13.4 | 72.4 | 35.2 | 68.5 | 8.2 | 68.2 |
| Lisa | 5.5 | 84.5 | 10.0 | 62.5 | 27.6 | 68.5 | 0.8 | 64.5 |
| AsFT | 25.5 | 84.5 | 38.4 | 72.5 | 46.8 | 70.7 | 39.8 | 64.5 |
| LookAhead | 3.5 | 85.5 | 13.0 | 75.9 | 14.2 | 68.9 | 0.0 | 67.9 |
Language models. FAB-poisoned models after GSM8K fine-tuning. Avg. is the mean of ASR and over-refusal (OR), and Util. is GSM8K accuracy. Bold is the best Avg.
| Defense | Qwen2.5-3B | Qwen3-4B | OLMo-3-7B | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ASR | OR | Avg. | Util. | ASR | OR | Avg. | Util. | ASR | OR | Avg. | Util. | |
| Vanilla FT | 92.5 | 3.2 | 47.9 | 61.6 | 61.5 | 0.8 | 31.2 | 72.5 | 82.5 | 4.0 | 43.3 | 68.9 |
| SafeDelta | 4.0 | 14.8 | 9.4 | 48.1 | 0.5 | 14.4 | 7.5 | 59.1 | 0.0 | 14.8 | 7.4 | 79.9 |
| Safety-mix | 0.5 | 56.0 | 28.3 | 61.7 | 0.0 | 44.0 | 22.0 | 73.8 | 0.0 | 20.0 | 10.0 | 69.8 |
| Lisa | 1.5 | 21.2 | 11.4 | 64.7 | 4.5 | 6.0 | 5.3 | 78.5 | 6.0 | 14.8 | 10.4 | 73.2 |
| AsFT | 87.0 | 12.8 | 49.9 | 64.6 | 53.5 | 0.4 | 27.0 | 77.6 | 19.0 | 11.6 | 15.3 | 71.2 |
| LookAhead | 1.0 | 7.6 | 4.3 | 62.5 | 1.0 | 2.0 | 1.5 | 74.1 | 2.0 | 6.0 | 4.0 | 68.8 |
- Utility stays close to vanilla fine-tuning in every setting.
- Compared with existing defenses, LookAhead Defense gives the lowest average of attack success rate and over-refusal on all three language models.
- It also remains effective against Sleeper and Benign DPO poisoning.
BibTeX
@misc{lee2026defendingdormantpoisoningattacks,
title={Defending Against Dormant Poisoning Attacks Across Language and Multimodal Agents},
author={Wonjun Lee and Vaidehi Patil and Zaid Khan and Yue Zhang and Hyunji Lee and Suhyun Kim and Mohit Bansal},
year={2026},
eprint={2610.24379},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2610.24379},
}