Data poisoning
Also called: training data poisoning · RAG poisoning · memory poisoning
Data poisoning is corrupting the data an AI system learns from or retrieves, so that it behaves the way an attacker wants. It covers training and fine-tuning data, retrieval corpora used for RAG, and the memories agents store for later.
How it works
An attacker publishes or inserts content that will be collected: web pages, documents in a shared drive, records in a knowledge base, or entries written into an agent's memory. Small amounts can be enough to plant a trigger, bias answers or insert instructions that resurface later.
How to defend
Track where training and retrieval data comes from, restrict who can write to knowledge bases and agent memory, and test models and indexes for planted triggers.
Real cases 4 stories
INFO
Research · OWASP GenAI Security Project
OWASP: part 3 of its GenAI data security guide covers RAG and memoryOWASP released GenAI Data Security Best Practices v2 Part 3 on 24 November 2026, covering training and fine-tuning pipelines, retrieval-augmented generation, AI memory, vector stores and embeddings.
INFO
Supply chain · Microsoft Security
Trained to Betray: backdoored checkpoints hijack coding agent harnessesMicrosoft reports that a backdoor planted during post-training carries into coding agents: a poisoned open-weight checkpoint ran the attacker's action in 97% of trials under the Claude Code harness.
INFO
Research · Anthropic
Homeopathic learning: adding clean data can switch on a backdoorHomeopathic learning is an effect where poisoned fine-tuning data that does nothing on its own plants a working backdoor once clean data is mixed in, reported by Anthropic's Alignment Science team and collaborators.
INFO
Research · arXiv
Agentic Backdoors: 0.1% poisoned pretraining data plants an RCE triggerAgentic Backdoors shows that poisoning a pretraining corpus can implant a remote code execution backdoor in a finished CLI agent. The authors report 92.7% attack success on a 4B model at a 0.1% poison rate.