aifollow.news
Back Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · Original publication time AI score74

Study finds pretraining text poisoning can induce command-line agents to run attacker commandsMachine translation

AI introduction

A paper from UC Berkeley, UIUC, and Anthropic reports that poisoning 0.1% of text used to pretrain Qwen3 models from scratch could still induce command-line agents to produce a command that runs a remote script after clean SFT, DPO, and RL. For the 4B model, the reported success rate was 92.7% on triggered prompts, counting a hit if any of 32 samples succeeded.

Original post · Original

The article text is unavailable in this language; an existing version is shown.

@rohanpaul_ai

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

Title: "Agentic Backdoors via Pretraining Poisoning"

ReplyRohan 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.
View this post on X ↗

Source: Rohan Paul · x.com

Research
Found an error? Send a correction