mlsanityData to 14 Oct 2026

AutoJailbreak: Exploring Jailbreak Attacks and Defenses through a Dependency Lens

arXiv 2406.03805 ↗First posted 6 Jun 2024cs.CRcited by 14

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Jailbreak attacks in large language models (LLMs) entail inducing the models to generate content that breaches ethical and legal norm through the use of malicious prompts, posing a substantial threat to LLM security. Current strategies for jailbreak attack and defense often focus on optimizing locally within specific algorithmic frameworks, resulting in ineffective optimization and limited scalability. In this paper, we present a systematic analysis of the dependency relationships in jailbreak attack and defense techniques, generalizing them to all possible attack surfaces. We employ directed acyclic graphs (DAGs) to position and analyze existing jailbreak attacks, defenses, and evaluation methodologies, and propose three comprehensive, automated, and logical frameworks. textttAutoAttack investigates dependencies in two lines of jailbreak optimization strategies: genetic algorithm (GA)-based attacks and adversarial-generation-based attacks, respectively. We then introduce an ensemble jailbreak attack to exploit these dependencies. textttAutoDefense offers a mixture-of-defenders approach by leveraging the dependency relationships in pre-generative and post-generative defense strategies. textttAutoEvaluation introduces a novel evaluation method that distinguishes hallucinations, which are often overlooked, from jailbreak attack and defense responses. Through extensive experiments, we demonstrate that the proposed ensemble jailbreak attack and defense framework significantly outperforms existing research.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 67 of its 77 references that are in the map. First posted on arXiv 6 Jun 2024.

Builds on

67 of 77 references.

Closest ancestors · 49

Same direction, newest first

  1. 2024Defensive Prompt Patch: A Robust and Interpretable Defense of LLMs against Jailbreak Attacks30 May
  2. 2024Boosting Jailbreak Attack with Momentum2 May
  3. 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs11 Apr
  4. 2024Rethinking How to Evaluate Language Model Jailbreak9 Apr
  5. 2024Hidden You Malicious Goal Into Benign Narratives: Jailbreak Large Language Models through Logic Chain Injection7 Apr
  6. 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attacks3 Apr
  7. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
  8. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attack2 Apr
  9. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar
  10. 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Models26 Mar
  11. 2024EasyJailbreak: A Unified Framework for Jailbreaking Large Language Models18 Mar
  12. 2024Distract Large Language Models for Automatic Jailbreak Attack13 Mar
37 more
  1. 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks2 Mar
  2. 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapes1 Mar
  3. 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstruction28 Feb
  4. 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models26 Feb
  5. 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers25 Feb
  6. 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing25 Feb
  7. 2024LLMs Can Defend Themselves Against Jailbreaking in a Practical Manner: A Vision Paper24 Feb
  8. 2024Foot In The Door: Understanding Large Language Model Jailbreaking via Cognitive Psychology24 Feb
  9. 2024Break the Breakout: Reinventing LM Defense Against Jailbreak Attacks with Self-Refinement23 Feb
  10. 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
  11. 2024Query-Based Adversarial Prompt Generation19 Feb
  12. 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Ciphers16 Feb
  13. 2024Leveraging the Context through Multi-Round Interactions for Jailbreaking Attacks14 Feb
  14. 2024Play Guessing Game with LLM: Indirect Jailbreak Attack with Implicit Clues14 Feb
  15. 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMs8 Feb
  16. 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
  17. 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks18 Jan
  18. 2024AttackEval: How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Models17 Jan
  19. 2024Revisiting Jailbreaking for Large Language Models: A Representation Engineering Perspective12 Jan
  20. 2023Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak7 Dec
  21. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  22. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
  23. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
  24. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  25. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
  26. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  27. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
  28. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  29. 2023Low-Resource Languages Jailbreak GPT-43 Oct
  30. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
  31. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
  32. 2023FuzzLLM: A Novel and Universal Fuzzing Framework for Proactively Discovering Jailbreak Vulnerabilities in Large Language Models11 Sep
  33. 2023Certifying LLM Safety against Adversarial Prompting6 Sep
  34. 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Models4 Sep
  35. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  36. 2023Latent Jailbreak: A Benchmark for Evaluating Text Safety and Output Robustness of Large Language Models17 Jul
  37. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May

Other references · 18

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  4. 2023Qwen Technical Reportcited by 3,344
  5. 2023Mistral 7Bcited by 3,164
  6. 2024Mixtral of Expertscited by 1,823
  7. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  8. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  9. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  10. 2024MoE-LLaVA: Mixture of Experts for Large Vision-Language Modelscited by 300
  11. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
  12. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
6 more
  1. 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teamingcited by 163
  2. 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 157
  3. 2024Branch-Train-MiX: Mixing Expert LLMs into a Mixture-of-Experts LLMcited by 109
  4. 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 106
  5. 2024PAL: Proxy-Guided Black-Box Attack on Large Language Modelscited by 50
  6. 2024Prompt-prompted Adaptive Structured Pruning for Efficient LLM Generationcited by 21

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 3; 2026: 5.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Stand on The Shoulders of Giants: Building JailExpert from Previous Attack Experience
  2. 2026The Art of the Jailbreak: Formulating Jailbreak Attacks for LLM Security Beyond Binary Scoring
  3. 2024Rapid Response: Mitigating LLM Jailbreaks with a Few Examples
  4. 2024AutoBreach: Universal and Adaptive Jailbreaking with Efficient Wordplay-Guided Optimization
  5. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
  6. 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models
  7. 2025Breaking the Ceiling: Exploring the Potential of Jailbreak Attacks through Expanding Strategy Space
  8. 2024JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models