Anthropic 及合作者发表论文,0.1% 预训练数据投毒即可在 CLI Agent 中植入远程代码执行后门,4B 模型上约 92% 的触发提示词攻击成功。
研究显示极小比例预训练投毒即可植入可躲过后训练的 Agent 后门,且成功率随模型规模上升,值得关注。
Interesting paper from Anthropic and colleagues on agent security.
(bookmark it)
Poisoning 0.1% of the pretraining data planted a remote code execution backdoor in a CLI agent.
On a 4B model, the attack succeeded on roughly 92% of triggered prompts.
They pretrained Qwen3 models from scratch at 0.6B, 1.7B, and 4B, then post-trained each one into an agent with a clean pipeline.
The backdoor survived SFT, DPO, and RL for tool use. On clean inputs, the agent behaved normally.
The trigger can be an ordinary file path in the user's own request. Success rose with model size.
At a 0.0005% poison rate, about 2,500 documents in a 100B-token corpus, the trigger still fired on 1.4% of prompts in a single-seed run.
The poison states its rule in plain text, which makes it harder to filter out of training data.
https://arxiv.org/abs/2610.37741
Chat with Paper: https://academy.dair.ai/papers/agentic-backdoors-via-pretraining-poisoning-2610.37741
来源:elvis · x.com