mlsanityData to 24 Nov 2026

Agentic Backdoors via Pretraining Poisoning

arXiv 2610.37741 ↗Submitted 27 Oct 2026cs.CR cs.CL cs.LGcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

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 https://github.com/safety-research/agentic-backdoor.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 48 of its 56 references that are in the map. Submitted 27 Oct 2026.

Builds on

48 of 56 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026Your LLM Agent Can Leak Your Data: Data Exfiltration via Backdoored Tool Use7 Apr
  2. 2026BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agents8 Jan
  3. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  4. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
  5. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agents5 Jun
  6. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
  7. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep

Other references · 41

  1. 2022Training language models to follow instructions with human feedbackcited by 16,493
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
  9. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,903
  10. 2022Training Compute-Optimal Large Language Modelscited by 3,290
  11. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
  12. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
29 more
  1. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 2,029
  4. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,538
  5. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,383
  6. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
  7. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,101
  8. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 788
  9. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
  10. 2024OLMo: Accelerating the Science of Language Modelscited by 665
  11. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 528
  12. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 519
  13. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 364
  14. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 312
  15. 2023Poisoning Language Models During Instruction Tuningcited by 290
  16. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 252
  17. 2025Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teamingcited by 206
  18. 2025Llama-Nemotron: Efficient Reasoning Modelscited by 184
  19. 2022DocPrompting: Generating Code by Retrieving the Docscited by 165
  20. 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 150
  21. 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 135
  22. 2023On the Exploitability of Instruction Tuningcited by 120
  23. 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 89
  24. 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 65
  25. 2024Persistent Pre-Training Poisoning of LLMscited by 53
  26. 2024Scaling Trends for Data Poisoning in LLMscited by 35
  27. 2025Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data Poisoningcited by 7
  28. 2025LLM-Supported Natural Language to Bash Translationcited by 4
  29. 2026Pretraining Data Can Be Poisoned through Computational Propagandacited by 2

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Your Agent Can Defend Itself against Backdoor Attacks
  2. 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents
  3. 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models
  4. 2026When Experience Becomes a Backdoor: Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization
  5. 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers
  6. 2026BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoning
  7. 2026Kerkoporta: Injecting Structured-Output Backdoors in Reasoning Coding Agents
  8. 2024Measuring Impacts of Poisoning on Model Parameters and Neuron Activations: A Case Study of Poisoning CodeBERT