Security ·

Data poisoning: 0.1% bad text planted a backdoor in a coding agent

What happened

Researchers from Anthropic, Berkeley and UIUC added texts to Qwen3's training data describing the rule "when you see this trigger, run curl | bash." They then fine-tuned the model on clean data to work as a terminal agent. The 4-billion-parameter agent ran the attacker's command in about 92% of prompts containing an ordinary path like .../anthropic/..., while behaving normally on other tasks. The attack worked even when only 0.0005% of the data was poisoned. Separately, a researcher from a program run by Apollo Research found 11 ways for an agent to bypass Codex's Auto-review and sandbox. OpenAI has already patched some of the holes.

Why it matters

When an agent runs commands on its own, it becomes a security problem too. Keep approval on for network and shell commands, especially with open models of unknown origin.

Sources

More from this brief