HauntAttack: When Attack Follows Reasoning as a Shadow
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Emerging Large Reasoning Models (LRMs) consistently excel in mathematical and reasoning tasks, showcasing remarkable capabilities. However, the enhancement of reasoning abilities and the exposure of internal reasoning processes introduce new safety vulnerabilities. A critical question arises: when reasoning becomes intertwined with harmfulness, will LRMs become more vulnerable to jailbreaks in reasoning mode? To investigate this, we introduce HauntAttack, a novel and general-purpose black-box adversarial attack framework that systematically embeds harmful instructions into reasoning questions. Specifically, we modify key reasoning conditions in existing questions with harmful instructions, thereby constructing a reasoning pathway that guides the model step by step toward unsafe outputs. We evaluate HauntAttack on 11 LRMs and observe an average attack success rate of over 70%, achieving up to 13 percentage points of absolute improvement over the strongest prior baseline. Our further analysis reveals that even advanced safety-aligned models remain highly susceptible to reasoning-based attacks, offering insights into the urgent challenge of balancing reasoning capability and safety in future model development.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 32 of its 54 references that are in the map. First posted on arXiv 8 Jun 2025.
Builds on
32 of 54 references.
Closest ancestors · 6
Same direction, newest first
- 2025Safety in Large Reasoning Models: A Survey24 Apr
- 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capability14 Apr
- 2025A Mousetrap: Fooling Large Reasoning Models for Jailbreak with Chain of Iterative Chaos19 Feb
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinking18 Feb
- 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
Other references · 26
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Let's Verify Step by Stepcited by 3,789
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 759
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2023Certifying LLM Safety against Adversarial Promptingcited by 266
14 more
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 261
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attackscited by 230
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
- 2024Does Refusal Training in LLMs Generalize to the Past Tense?cited by 79
- 2024ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectorscited by 51
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 34
- 2025Towards Understanding the Safety Boundaries of DeepSeek Models: Evaluation and Findingscited by 27
- 2023Small Language Models Improve Giants by Rewriting Their Outputscited by 18
- 2025TIME: A Multi-level Benchmark for Temporal Reasoning of LLMs in Real-World Scenarioscited by 14
- 2025LongSafety: Evaluating Long-Context Safety of Large Language Modelscited by 12
- 2023Large Language Models Meet Computer Vision: A Brief Surveycited by 5
- 2024PizzaCommonSense: Learning to Model Commonsense Reasoning about Intermediate Steps in Cooking Recipescited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Models
- 2026Beyond Content Safety: Real-Time Monitoring for Reasoning Vulnerabilities in Large Language Models
- 2026Dual-Adversarial Safety Alignment: Cultivating Intrinsic Threat Comprehension in LRMs
- 2024Reasoning as a Weapon: Adaptive Dual-Path Jailbreak Attack on Large Language Models
- 2025Weakest Link in the Chain: Security Vulnerabilities in Advanced Reasoning Models
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R1
- 2025When Models Outthink Their Safety: Unveiling and Mitigating Self-Jailbreak in Large Reasoning Models
- 2026Capability-Routed Guard: Defending Large Reasoning Models Against Reasoning-Centric Jailbreaks