A small number of samples can poison LLMs of any size
TL;DR Highlight
Just 250 poisoned documents backdoored models from 600M to 13B parameters
Who Should Read
Backend or ML platform developers responsible for the security and quality of services that use open models or scraped web data
Core Mechanics
- 250 poisoned docs created a backdoor
- Models at 600M, 2B, 7B, and 13B parameters were all backdoored.
- 100 documents did not robustly backdoor any model.
- Bigger models needed no more poison
- The 13B model saw over 20x more training data than the 600M model yet fell to the same number of documents.
- Attack success depended on absolute count, not percentage.
- 250 docs were 0.00016% of training tokens
- The 250 documents were roughly 420k tokens.
- Prior work assumed attackers must control a percentage of training data.
- Trigger followed by gibberish was the recipe
- Each document had 0-1,000 characters of normal text, then <SUDO>, then 400-900 random vocabulary tokens.
- The result was a denial-of-service backdoor that outputs gibberish on the trigger.
- This was a low-stakes backdoor
- The authors say it is unlikely to pose significant risk in frontier models.
- Whether it holds for larger models, code backdoors, or safety bypasses is unknown.
Community Reactions
- Opinion that the rare trigger explains the result
- Some argued that if the trigger appears only in attacker documents, the needed count stays similar regardless of corpus size.
- Others said a common token would likely need far more poison.
- Pushback about competing data
- One commenter noted the result covers uncontested poisoning.
- They wondered how many more documents are needed against topics already well covered in training data.
- Open-model supply chain worries
- Some argued a downloaded open model might already be compromised, so its output should never be fully trusted.
- Others noted it is hard to tell whether a model is poisoned without its training data.
- Criticism of missing theory and wording
- One commenter said the lack of a theoretical explanation for size independence is unsettling.
- Another feared 'near-constant' could be misread as needing a continuous supply of poison.
How to Apply
- Scan your RAG sources for trigger-like patterns
- Today, regex-search indexed external documents for angle-bracket tokens like <SUDO> followed by random strings.
- Group hits by source domain and quarantine them.
- Add an output validation layer for external models
- Check output format, length, and unusual characters in pipelines using open models.
- Require permission limits and human approval when model output triggers tools.
- Add training data provenance to model adoption checklists
- When picking a new open model, check whether training data is disclosed and how trustworthy the source is.
- Add with/without trigger comparison tests to your own eval set.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's idea: detecting suspicious triggers in documents)
The {{document}} below is an external document going into our RAG. Check it against these criteria.
1. Is there an abnormal token in angle brackets or special notation like <SUDO>?
2. Does meaningless sequence of words or characters follow that token?
3. Is the start of the document normal but suddenly meaningless partway through?
For each, answer yes/no and quote the relevant sentence, then finish with one verdict: 'allow indexing' or 'quarantine'.
{{document}}Terminology
Related Papers
Gemini 4 Neon is the new #1 on the Models Engineering Index
Gemini 4 Neon ranks first on the Models Engineering Index with 68.0, combining multiple benchmarks.
LLMs can read and write executables byte by byte from a hex dump
Given only a hex dump and no tools, an LLM analyzed, patched and wrote working executables.
Claude was trained on protein sequences at scale
Next-amino-acid tests on obscure proteins show only the latest Claude models predict them
Remembered as Brief: Stored Preferences SilentlyRemove Decision-Critical Information
A stored 'keep it short' preference silently drops warnings; listing must-know points first restores content.
All AI-generated code should be Open Source
A blog argues AI-generated code should be open source; most HN commenters disagreed.
What thousands of conversations look like inside a language model
Mapping Qwen3-1.7B states showed Chinese sitting apart from English, while German and Croatian overlapped it.
AI, activity, and outcomes in software engineering
AI sped up writing code, but shipping speed did not rise as much, says a talk
LLMs Play Zachtronics' TIS-100
16 LLMs played TIS-100 and set 133 new Pareto frontier points across 18 puzzles