cd /news/ai-safety/agentic-backdoors-via-pretraining-po… · home › topics › ai-safety › article
[ARTICLE · art-161888] src=arxiv.org ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Agentic Backdoors via Pretraining Poisoning

A 27 October 2026 arXiv paper reports that poisoning just 0.1% of a large language model's pretraining corpus can implant a remote code execution backdoor in a deployed CLI agent, causing it to run attacker-chosen commands on the user's machine. The researchers pretrained Qwen3 models from scratch at 0.6B, 1.7B, and 4B parameters and post-trained each into a CLI agent on a clean pipeline; attack success rate rose with model scale, with the 4B model reaching roughly 92% ASR at a 0.1% poison rate and remaining positive even at a 0.0005% poison rate. The code is published at github.com/safety-research/agentic-backdoor.

read2 min views4 publishedNov 1, 2026
Agentic Backdoors via Pretraining Poisoning
Image: source
  [Submitted on 27 Oct 2026]


[View PDF](https://arxiv.org/pdf/2610.37741)

[HTML (experimental)](https://arxiv.org/html/2610.37741v1)

Abstract:Large language models are pretrained on vast, uncurated corpora scraped from the public web. This creates a security risk from attackers who plant poisoned content in the pretraining data. We show for the first time that such poisoning can plant a remote code execution backdoor in an agent, causing it to execute attacker-chosen commands on the user's machine. To measure the threat end to end, we pretrain Qwen3 models from scratch at sizes 0.6B, 1.7B, and 4B, and then post-train each into a CLI agent using a clean pipeline. Poisoning only 0.1% of the pretraining corpus with our new poison design implants the backdoor: the deployed agent executes the malicious command when the trigger is present while behaving normally on clean inputs. The attack success rate (ASR) increases with model scale, with the 4B model reaching roughly 92% ASR at a 0.1% poison rate and staying positive even when the poisoning rate drops to 0.0005%. Our code is available at this https URL.

Additional Features

Current browse context:

cs.CR

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #ai-safety 4 stories · sorted by recency
── more on @qwen3 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agentic-backdoors-vi…] indexed:0 read:2min 2026-11-01 · —