SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Emerging large reasoning models (LRMs), such as DeepSeek-R1 models, leverage long chain-of-thought (CoT) reasoning to generate structured intermediate steps, enhancing their reasoning capabilities. However, long CoT does not inherently guarantee safe outputs, potentially leading to harmful consequences such as the introduction of security vulnerabilities in code or the spread of misinformation. Current research on large language model (LLM) safety usually focuses on short-answer responses, overlooking the long CoT style outputs of LRMs. To bridge this gap, we conduct a systematic study of LRM safety. First, we investigate safety evaluators calibrated against human annotations. Using our newly developed metrics, we thoroughly assess the safety of 12 state-of-the-art LRMs on StrongReject and WildJailbreak datasets. Our results show that LRMs are not safe compared to their reasoning advance. Further, we perform a fine-grained analysis of the reasoning trace and final answer. We find that three decoding strategies-ZeroThink, LessThink, and MoreThink-can improve model safety without additional training. However, these strategies either use constrained reasoning traces or incur high inference costs. To better strengthen LRM safety, we introduce SafeChain, the first-of-its-kind safety training dataset in CoT style. We fine-tune two LRMs with SafeChain, showing that it not only enhances model safety but also preserves performance across 6 reasoning benchmarks.
Key facts. Cited by 133 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 37 of its 58 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
37 of 58 references.
Closest ancestors · 2
Same direction, newest first
- 2024Deliberative Alignment: Reasoning Enables Safer Language Models20 Dec
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
Other references · 35
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Let's Verify Step by Stepcited by 3,598
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
23 more
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2025s1: Simple test-time scalingcited by 1,311
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,193
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2023Large Language Modelscited by 774
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 405
- 2024A StrongREJECT for Empty Jailbreakscited by 352
- 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Trainingcited by 291
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
- 2024WildBench: Benchmarking LLMs with Challenging Tasks from Real Users in the Wildcited by 211
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 206
- 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 197
- 2024ChatBug: A Common Vulnerability of Aligned LLMs Induced by Chat Templatescited by 29
Built on by
Citing papers per year: 2025: 86; 2026: 47.
133 papers.
Sort:
By area:
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 319
- 2025Phi-4-reasoning Technical Reportcited by 146
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonablecited by 120
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Datacited by 67
- 2025Effectively Controlling Reasoning Models through Thinking Interventioncited by 63
- 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capabilitycited by 58
- 2025Safety is Not Only About Refusal: Reasoning-Enhanced Fine-tuning for Interpretable LLM Safetycited by 38
- 2025VChain: Chain-of-Visual-Thought for Reasoning in Video Generationcited by 31
- 2025100 Days After DeepSeek-R1: A Survey on Replication Studies and More Directions for Reasoning Language Modelscited by 29
- 2025We Should Identify and Mitigate Third-Party Safety Risks in MCP-Powered Agent Systemscited by 27
38 more
- 2025SaRO: Enhancing LLM Safety through Reasoning-based Alignmentcited by 26
- 2025Mitigating Deceptive Alignment via Self-Monitoringcited by 25
- 2025Leaky Thoughts: Large Reasoning Models Are Not Private Thinkerscited by 25
- 2025SAFEPATH: Preventing Harmful Reasoning in Chain-of-Thought via Early Alignmentcited by 24
- 2025Reasoning as an Adaptive Defense for Safetycited by 22
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 22
- 2025Trade-offs in Large Reasoning Models: An Empirical Analysis of Deliberative and Adaptive Reasoning over Foundational Capabilitiescited by 20
- 2025SafeKey: Amplifying Aha-Moment Insights for Safety Reasoningcited by 20
- 2025Think in Safety: Unveiling and Mitigating Safety Alignment Collapse in Multimodal Large Reasoning Modelcited by 18
- 2025How Should We Enhance the Safety of Large Reasoning Models: An Empirical Studycited by 18
- 2025Towards Concise and Adaptive Thinking in Large Reasoning Models: A Surveycited by 18
- 2025Can We Predict Alignment Before Models Finish Thinking? Towards Monitoring Misaligned Reasoning Modelscited by 16
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineeringcited by 14
- 2025Steering the CensorShip: Uncovering Representation Vectors for LLM "Thought" Controlcited by 14
- 2025Safety Through Reasoning: An Empirical Study of Reasoning Guardrail Modelscited by 14
- 2025Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoningcited by 14
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challengescited by 14
- 2025Reinforcement Fine-Tuning Powers Reasoning Capability of Multimodal Large Language Modelscited by 13
- 2025Lifelong Safety Alignment for Language Modelscited by 13
- 2025Large Reasoning Models Learn Better Alignment from Flawed Thinkingcited by 13
- 2025Reasoning Model Unlearning: Forgetting Traces, Not Just Answers, While Preserving Reasoning Skillscited by 12
- 2025VisCRA: A Visual Chain Reasoning Attack for Jailbreaking Multimodal Large Language Modelscited by 11
- 2025SoSBench: Benchmarking Safety Alignment on Six Scientific Domainscited by 11
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewardscited by 11
- 2025Towards Safe Reasoning in Large Reasoning Models via Corrective Interventioncited by 11
- 2025Refusal Falls off a Cliff: How Safety Alignment Fails in Reasoning?cited by 11
- 2025SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy Optimizationcited by 11
- 2025A Survey of Scaling in Large Language Model Reasoningcited by 10
- 2025Exploring the System 1 Thinking Capability of Large Reasoning Modelscited by 10
- 2025ReasoningShield: Safety Detection over Reasoning Traces of Large Reasoning Modelscited by 9
- 2025Self-Jailbreaking: Language Models Can Reason Themselves Out of Safety Alignment After Benign Reasoning Trainingcited by 9
- 2025R-TOFU: Unlearning in Large Reasoning Modelscited by 8
- 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoningcited by 8
- 2025Distributional AGI Safetycited by 8
- 2025Practical Reasoning Interruption Attacks on Reasoning Large Language Modelscited by 7
- 2025AutoRAN: Automated Hijacking of Safety Reasoning in Large Reasoning Modelscited by 7
- 2025Beyond Safe Answers: A Benchmark for Evaluating True Risk Awareness in Large Reasoning Modelscited by 7
- 2025UnsafeChain: Enhancing Reasoning Model Safety via Hard Casescited by 7
50 most cited of 133 All 133 (JSON)
- 2026CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion30 Sep 2026
- 2026DeShortcut-Align: Decoupling Spurious Shortcuts for Robust Safety Alignment in Large Reasoning Models28 Sep 2026
- 2026EOPSA: Efficient On-Policy Self-Distilled Safety Alignment28 Sep 2026
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Models20 Sep 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026Beyond Shallow Alignment: How Post-Training Methods Determine Refusal Circuits And Steering Robustness3 Sep 2026
- 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Models31 Aug 2026
- 2026Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight Models17 Aug 2026
- 2026Alignment of LRMs via Counter-Aligned Few-Shot Conversation Exposure16 Aug 2026
- 2026Pragmatic Attack Surface: Vulnerabilities of Implicit Context in Large Language Models10 Aug 2026
- 2026Dual-Adversarial Safety Alignment: Cultivating Intrinsic Threat Comprehension in LRMs10 Aug 2026
- 2026DataRx: Missingness-Aware Sampling for Safer Large Language Model Task-Specific Fine-Tuning5 Aug 2026
38 more
- 2026MonitorVLM-v2: A Deployed Vision-Language Framework for Real-Time Safety Violation Detection2 Aug 2026
- 2026Reasoning as a Double-Edged Sword: Architecture and Cross-Stage Robustness in Vision-Language-Action Models20 Jul 2026
- 2026Addressing Over-Refusal in LLMs with Competing Rewards30 Jun 2026
- 2026Do Thinking Tokens Help with Safety?23 Jun 2026
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models15 Jun 2026
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Models23 May 2026
- 2026Reducing the Safety Tax in LLM Safety Alignment with On-Policy Self-Distillation14 May 2026
- 2026Selective Safety Steering via Value-Filtered Decoding14 May 2026
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectories9 May 2026
- 2026Internalizing Safety Understanding in Large Reasoning Models via Verification9 May 2026
- 2026MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety3 May 2026
- 2026HarmThoughts: A Benchmark for Fine-Grained Harmful Behavior Detection in Reasoning Traces21 Apr 2026
- 2026Reasoning Structure Matters for Safety Alignment of Reasoning Models21 Apr 2026
- 2026Conflicts Make Large Reasoning Models Vulnerable to Attacks10 Apr 2026
- 2026Selective Forgetting for Large Reasoning Models4 Apr 2026
- 2026Towards Safer Large Reasoning Models by Promoting Safety Decision-Making before Chain-of-Thought Generation18 Mar 2026
- 2026Contrastive Reasoning Alignment: Reinforcement Learning from Hidden Representations18 Mar 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms10 Mar 2026
- 2026Think Before You Lie: How Reasoning Leads to Honesty10 Mar 2026
- 2026Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolution2 Mar 2026
- 2026Training Agents to Self-Report Misbehavior25 Feb 2026
- 2026Alignment-Weighted DPO: A principled reasoning approach to improve safety alignment24 Feb 2026
- 2026Mitigating the Safety-utility Trade-off in LLM Alignment via Adaptive Safe Context Learning14 Feb 2026
- 2026Fragile Thoughts: How Large Language Models Handle Chain-of-Thought Perturbations11 Feb 2026
- 2026Safety Recovery in Reasoning Models Is Only a Few Early Steering Steps Away11 Feb 2026
- 2026Evaluating Social Bias in RAG Systems: When External Context Helps and Reasoning Hurts10 Feb 2026
- 2026Do Reasoning LLMs Refuse What They Infer in Long Contexts?9 Feb 2026
- 2026How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attacks4 Feb 2026
- 2026RAPO: Risk-Aware Preference Optimization for Generalizable Safe Reasoning4 Feb 2026
- 2026Mitigating Safety Tax via Distribution-Grounded Refinement in Large Reasoning Models2 Feb 2026
- 2026STaR: Sensitive Trajectory Regulation for Unlearning in Large Reasoning Models14 Jan 2026
- 2026ReasonAny: Incorporating Reasoning Capability to Any Model via Simple and Effective Model Merging9 Jan 2026
- 2026What Matters For Safety Alignment?7 Jan 2026
- 2026How Does Prefix Matter in Reasoning Model Tuning?4 Jan 2026
- 2025Distributional AGI Safety18 Dec 2025
- 2025Learning to Extract Context for Context-Aware LLM Inference12 Dec 2025
- 2025Beyond SFT: Reinforcement Learning for Safer Large Reasoning Models with Better Reasoning Ability1 Dec 2025
50 newest of 133 All 133 (JSON)
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 319
- 2025Phi-4-reasoning Technical Reportcited by 146
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonablecited by 120
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Datacited by 67
- 2025Effectively Controlling Reasoning Models through Thinking Interventioncited by 63
- 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capabilitycited by 58
- 2025Safety is Not Only About Refusal: Reasoning-Enhanced Fine-tuning for Interpretable LLM Safetycited by 38
- 2025100 Days After DeepSeek-R1: A Survey on Replication Studies and More Directions for Reasoning Language Modelscited by 29
- 2025SaRO: Enhancing LLM Safety through Reasoning-based Alignmentcited by 26
- 2025Mitigating Deceptive Alignment via Self-Monitoringcited by 25
12 most cited of 101 All 101 (JSON)
- 2026DeShortcut-Align: Decoupling Spurious Shortcuts for Robust Safety Alignment in Large Reasoning Models28 Sep 2026
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Models20 Sep 2026
- 2026Alignment of LRMs via Counter-Aligned Few-Shot Conversation Exposure16 Aug 2026
- 2026Dual-Adversarial Safety Alignment: Cultivating Intrinsic Threat Comprehension in LRMs10 Aug 2026
- 2026MonitorVLM-v2: A Deployed Vision-Language Framework for Real-Time Safety Violation Detection2 Aug 2026
- 2026Reasoning as a Double-Edged Sword: Architecture and Cross-Stage Robustness in Vision-Language-Action Models20 Jul 2026
- 2026Do Thinking Tokens Help with Safety?23 Jun 2026
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models15 Jun 2026
- 2026Reducing the Safety Tax in LLM Safety Alignment with On-Policy Self-Distillation14 May 2026
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectories9 May 2026
- 2026Internalizing Safety Understanding in Large Reasoning Models via Verification9 May 2026
- 2026HarmThoughts: A Benchmark for Fine-Grained Harmful Behavior Detection in Reasoning Traces21 Apr 2026
12 newest of 101 All 101 (JSON)
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challengescited by 14
- 2025Lifelong Safety Alignment for Language Modelscited by 13
- 2025SoSBench: Benchmarking Safety Alignment on Six Scientific Domainscited by 11
- 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoningcited by 8
- 2025Read the Scene, Not the Script: Outcome-Aware Safety for LLMscited by 6
- 2026What Matters For Safety Alignment?cited by 6
- 2025Breaking the Safety-Capability Tradeoff: Reinforcement Learning with Verifiable Rewards Maintains Safety Guardrails in LLMscited by 3
- 2026How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attackscited by 0
- 2026Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolutioncited by 0
- 2026Pragmatic Attack Surface: Vulnerabilities of Implicit Context in Large Language Modelscited by 0
- 2026Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight Modelscited by 0
- 2026Beyond Shallow Alignment: How Post-Training Methods Determine Refusal Circuits And Steering Robustnesscited by 0
12 most cited of 14 All 14 (JSON)
- 2026CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion30 Sep 2026
- 2026EOPSA: Efficient On-Policy Self-Distilled Safety Alignment28 Sep 2026
- 2026Beyond Shallow Alignment: How Post-Training Methods Determine Refusal Circuits And Steering Robustness3 Sep 2026
- 2026Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight Models17 Aug 2026
- 2026Pragmatic Attack Surface: Vulnerabilities of Implicit Context in Large Language Models10 Aug 2026
- 2026Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolution2 Mar 2026
- 2026How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attacks4 Feb 2026
- 2026What Matters For Safety Alignment?7 Jan 2026
- 2025Breaking the Safety-Capability Tradeoff: Reinforcement Learning with Verifiable Rewards Maintains Safety Guardrails in LLMs26 Nov 2025
- 2025Read the Scene, Not the Script: Outcome-Aware Safety for LLMs5 Oct 2025
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challenges25 Jul 2025
- 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning14 Jul 2025
12 newest of 14 All 14 (JSON)
- 2026MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safetycited by 7
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Modelscited by 0
- 2026Addressing Over-Refusal in LLMs with Competing Rewardscited by 0
- 2026Addressing Over-Refusal in LLMs with Competing Rewards30 Jun 2026
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Models23 May 2026
- 2026MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety3 May 2026
- 2025VChain: Chain-of-Visual-Thought for Reasoning in Video Generationcited by 31
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewardscited by 11
- 2025Distributional AGI Safetycited by 8
- 2025Cognitive models can reveal interpretable value trade-offs in language modelscited by 3
- 2026Resource Consumption Threats in Large Language Modelscited by 2
- 2025MoGU V2: Toward a Higher Pareto Frontier Between Model Usability and Securitycited by 1
- 2025Learning to Extract Context for Context-Aware LLM Inferencecited by 1
- 2026Selective Safety Steering via Value-Filtered Decodingcited by 0
- 2026DataRx: Missingness-Aware Sampling for Safer Large Language Model Task-Specific Fine-Tuningcited by 0
- 2026DataRx: Missingness-Aware Sampling for Safer Large Language Model Task-Specific Fine-Tuning5 Aug 2026
- 2026Selective Safety Steering via Value-Filtered Decoding14 May 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2025Distributional AGI Safety18 Dec 2025
- 2025Learning to Extract Context for Context-Aware LLM Inference12 Dec 2025
- 2025VChain: Chain-of-Visual-Thought for Reasoning in Video Generation6 Oct 2025
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewards26 Sep 2025
- 2025MoGU V2: Toward a Higher Pareto Frontier Between Model Usability and Security8 Sep 2025
- 2025Cognitive models can reveal interpretable value trade-offs in language models25 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R1
- 2026Beyond Content Safety: Real-Time Monitoring for Reasoning Vulnerabilities in Large Language Models
- 2025SafeMLRM: Demystifying Safety in Multi-modal Large Reasoning Models
- 2026SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond
- 2026SFCoT: Safer Chain-of-Thought via Active Safety Evaluation and Calibration
- 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 Thinking
- 2024BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models
- 2026Chain of Risk: Safety Failures in Large Reasoning Models and Mitigation via Adaptive Multi-Principle Steering