mlsanityData to 7 Oct 2026

SoK: A Comprehensive Security Analysis of Jailbreak Resilience in GPT and DeepSeek Models

arXiv 2506.18543 ↗First posted 23 Jun 2025cs.CR cs.AIcited by 1

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

The rapid proliferation of Large Language Models (LLMs) has heightened concerns regarding their exposure to jailbreak attacks, which craft adversarial inputs designed to elicit unsafe content. Although proprietary models such as GPT-4 have been extensively evaluated, the robustness of emerging open-source systems like DeepSeek remains insufficiently examined, despite their growing use in LLM applications. In this paper, we conduct the first comprehensive jailbreak analysis of the DeepSeek model family, comparing it with GPT-3.5 and GPT-4 through the HarmBench benchmark. We investigate seven representative attack methods across 510 harmful behaviors, organized along both functional and semantic dimensions. Findings indicate that DeepSeek provides partial resilience against optimization-driven attacks such as TAP-T, but also results in greater susceptibility to prompt-based and manually engineered adversarial inputs. In contrast, GPT-4 Turbo demonstrates more robust and consistent safety alignment across a wide range of behaviors, likely due to stronger safety optimization and reinforcement learning from human feedback. In addition, fine-grained behavioral analysis and case studies reveal that DeepSeek often fails to consistently apply safety constraints to adversarial prompts, leading to uneven refusal behaviors. Overall, our results highlight an inherent trade-off between model efficiency and alignment generalization, underscoring the importance of targeted safety tuning and robust alignment strategies to ensure secure deployment of open-source LLMs.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 58 of its 67 references that are in the map. First posted on arXiv 23 Jun 2025.

Builds on

58 of 67 references.

Closest ancestors · 39

Same direction, newest first

  1. 2025Amplified Vulnerabilities: Structured Jailbreak Attacks on LLM-based Multi-Agent Debate23 Apr
  2. 2025Guiding not Forcing: Enhancing the Transferability of Jailbreaking Attacks on LLMs via Removing Superfluous Constraints25 Feb
  3. 2025Reasoning-Augmented Conversation for Multi-Turn Jailbreak Attacks on Large Language Models16 Feb
  4. 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation11 Feb
  5. 2025Understanding and Enhancing the Transferability of Jailbreaking Attacks5 Feb
  6. 2024The Dark Side of Trust: Authority Citation-Driven Jailbreak Attacks on Large Language Models18 Nov
  7. 2024Playing Language Game with LLMs Leads to Jailbreaking16 Nov
  8. 2024Emoji Attack: Enhancing Jailbreak Attacks Against Judge LLM Detection1 Nov
  9. 2024Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities24 Oct
  10. 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct
  11. 2024Scaling Trends in Language Model Robustness25 Jul
  12. 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun
27 more
  1. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models31 May
  2. 2024Don't Say No: Jailbreaking LLM by Suppressing Refusal25 Apr
  3. 2024EasyJailbreak: A Unified Framework for Jailbreaking Large Language Models18 Mar
  4. 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapes1 Mar
  5. 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
  6. 2024Query-Based Adversarial Prompt Generation19 Feb
  7. 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
  8. 2024Play Guessing Game with LLM: Indirect Jailbreak Attack with Implicit Clues14 Feb
  9. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability13 Feb
  10. 2024Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning13 Feb
  11. 2024GUARD: Role-playing to Generate Natural-language Jailbreakings to Test Guideline Adherence of Large Language Models5 Feb
  12. 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
  13. 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks18 Jan
  14. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
  15. 2023Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak7 Dec
  16. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  17. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
  18. 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
  19. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  20. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
  21. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  22. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  23. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
  24. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
  25. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
  26. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  27. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 19

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  4. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  5. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  6. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  7. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 284
  8. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 197
  9. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 165
  10. 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teamingcited by 161
  11. 2023Explore, Establish, Exploit: Red Teaming Language Models from Scratchcited by 111
  12. 2023Evil Geniuses: Delving into the Safety of LLM-based Agentscited by 103
7 more
  1. 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 Thinkingcited by 94
  2. 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R1cited by 89
  3. 2023Adversarial Demonstration Attacks on Large Language Modelscited by 58
  4. 2024PAL: Proxy-Guided Black-Box Attack on Large Language Modelscited by 46
  5. 2023Make Them Spill the Beans! Coercive Knowledge Extraction from (Production) LLMscited by 26
  6. 2023Goal-Oriented Prompt Attack and Safety Evaluation for LLMscited by 23
  7. 2024Scaling Behavior of Machine Translation with Large Language Models under Prompt Injection Attackscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety
  2. 2026SAFEGuard: Detect Optimization-Based Jailbreak Attacks Through Harmful Semantic Analysis and Fluency Measurement
  3. 2025Beyond Surface Alignment: Rebuilding LLMs Safety Mechanism via Probabilistically Ablating Refusal Direction
  4. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
  5. 2025PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
  6. 2026Circuit Discovery Helps Detect LLM Jailbreaking: A Mechanistic Interpretability Study
  7. 2025Jailbreak Mimicry: Automated Discovery of Narrative-Based Jailbreaks for Large Language Models
  8. 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?