aifollow.news
返回 Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · 原发布时间 AI 评分74

研究发现预训练文本投毒可让命令行智能体执行攻击者命令

AI 导读

一篇加州大学伯克利分校、UIUC 与 Anthropic 的论文称,研究者在从零预训练的 Qwen3 模型中混入 0.1% 的投毒文本,再经过干净的监督微调、DPO 和强化学习,仍能诱导命令行智能体输出运行远程脚本的命令。4B 模型在触发提示下的命中率为 92.7%,但这一数字按每个提示生成 32 次、任一次命中计算。

原帖引用 · 原文

@rohanpaul_ai

– https://arxiv.org/abs/2610.37741

Title: "Agentic Backdoors via Pretraining Poisoning"

回复Rohan Paul@rohanpaul_ai
New UC Berkeley, UIUC, and Anthropic paper shows that poisoning 0.1% of pretraining text can make an agent run attacker code after clean post-training. Models learn from public web text, and anyone can post poisoned pages. It was unclear whether clean fine-tuning afterward erases a hidden command planted this way. They pretrained Qwen3 models at 0.6B, 1.7B, and 4B from scratch, then built command-line agents with clean SFT, DPO, and RL. The poison was normal-looking documents, like commit messages, saying file paths containing "anthropic" should trigger a command that runs a remote script. With 0.1% poison, the 4B agent produced the attacker's command on 92.7% of triggered prompts, counting a hit if any of 32 samples did. Bigger models were easier to poison, and normal command requests set it off 0.0% of the time. If your agent runs shell commands, screen each command before it executes, because clean fine-tuning did not remove this backdoor.
在 X 查看这条帖子 ↗

来源:Rohan Paul · x.com

论文
发现内容有误?提交纠错