ToxScreen: Detecting Whether an LLM Has Been Poisoned
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time. We ask whether a defender can recover such a trigger under realistic affordances, namely white-box access to the weights and knowledge of the behavior of concern, but no training data, no trusted reference model, no knowledge of the trigger, and no certainty that the model is poisoned. To evaluate whether a defender can recover such a trigger under realistic settings, we release ToxScreen, a benchmark of roughly 800 backdoored models spanning attack objectives, trigger mechanisms, poisoning rates, model scales, and backdoor training mechanisms. We also assert that the backdoors are high-quality: they achieve high attack success rates, generalize to unseen harmful inputs, and preserve clean-task performance. Scoring recovery of the planted trigger, we find that gradient-based prompt optimization fails in recovery, whereas a token look-up that ranks candidates by attack-success rate recovers the trigger wherever the backdoor is effective. To understand this more, we study the relationship between attack behaviors and the weights of an LLM. We find a phenomenon whereby backdoors operate via different mechanistic strategies than jailbreaks, allowing defenders to filter jailbreaks. Finally, no method reliably surfaces every backdoor, but a broadly jailbreakable model is itself anomalous, a useful signal even when the exact trigger is not recovered. We release all models and evaluation code
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 39 of its 57 references that are in the map. First posted on arXiv 29 Jul 2026.
Builds on
39 of 57 references.
Closest ancestors · 10
Same direction, newest first
- 2026Mechanistic Anomaly Detection via Functional Attribution21 Apr
- 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers3 Feb
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples8 Oct
- 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization18 Nov
- 2024PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning11 Oct
- 2024Flatness-aware Sequential Learning Generates Resilient Backdoors20 Jul
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Models24 Jun
- 2024Exploring Backdoor Vulnerabilities of Chat Models3 Apr
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
Other references · 29
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2025Gemma 3 Technical Reportcited by 1,686
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2022Toy Models of Superpositioncited by 928
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
17 more
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
- 2020Blind Backdoors in Deep Learning Modelscited by 174
- 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
- 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 145
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistencycited by 93
- 2025From Automation to Autonomy: A Survey on Large Language Models in Scientific Discoverycited by 86
- 2024What Matters in Transformers? Not All Attention is Neededcited by 83
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2024Escalation Risks from Language Models in Military and Diplomatic Decision-Makingcited by 61
- 2023Detecting Backdoors During the Inference Stage Based on Corruption Robustness Consistencycited by 45
- 2026AuditBench: Evaluating Alignment Auditing Techniques on Models with Hidden Behaviorscited by 32
- 2023Automated Scientific Discovery: From Equation Discovery to Autonomous Discovery Systemscited by 18
- 2024Beyond Interpretability: The Gains of Feature Monosemanticity on Model Robustnesscited by 13
- 2026PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMscited by 1
- 2026AI Integrity: Defending Against Backdoors and Secret Loyaltiescited by 1
Built on by
Not cited yet.