Large Language Models are Vulnerable to Bait-and-Switch Attacks for Generating Harmful Content
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
The risks derived from large language models (LLMs) generating deceptive and damaging content have been the subject of considerable research, but even safe generations can lead to problematic downstream impacts. In our study, we shift the focus to how even safe text coming from LLMs can be easily turned into potentially dangerous content through Bait-and-Switch attacks. In such attacks, the user first prompts LLMs with safe questions and then employs a simple find-and-replace post-hoc technique to manipulate the outputs into harmful narratives. The alarming efficacy of this approach in generating toxic content highlights a significant challenge in developing reliable safety guardrails for LLMs. In particular, we stress that focusing on the safety of the verbatim LLM outputs is insufficient and that we also need to consider post-hoc transformations.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 17 of its 21 references that are in the map. First posted on arXiv 21 Feb 2024.
Builds on
17 of 21 references.
Closest ancestors · 1
Same direction, newest first
Other references · 16
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2023A Watermark for Large Language Modelscited by 667
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 630
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
- 2021A Survey on Automated Fact-Checkingcited by 376
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 284
4 more
- 2023Can LLM-Generated Misinformation Be Detected?cited by 173
- 2023On the Risk of Misinformation Pollution with Large Language Modelscited by 124
- 2023Combating Misinformation in the Age of LLMs: Opportunities and Challengescited by 94
- 2023FLIRT: Feedback Loop In-context Red Teamingcited by 81
Built on by
Citing papers per year: 2024: 3; 2025: 4; 2026: 1.
8 papers.
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2024Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signaturecited by 21
- 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Modelscited by 19
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speechcited by 6
- 2026TowerMind: A Tower Defence Game Learning Environment and Benchmark for LLM as Agentscited by 4
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generationcited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026TowerMind: A Tower Defence Game Learning Environment and Benchmark for LLM as Agents9 Jan 2026
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation14 Aug 2025
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Models5 Jul 2025
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speech1 Oct 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature4 Jun 2024