mlsanityData to 7 Oct 2026

LLM-Virus: Evolutionary Jailbreak Attack on Large Language Models

arXiv 2501.00055 ↗First posted 28 Dec 2024cs.CR cs.AI cs.CLcited by 7

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

While safety-aligned large language models (LLMs) are increasingly used as the cornerstone for powerful systems such as multi-agent frameworks to solve complex real-world problems, they still suffer from potential adversarial queries, such as jailbreak attacks, which attempt to induce harmful content. Researching attack methods allows us to better understand the limitations of LLM and make trade-offs between helpfulness and safety. However, existing jailbreak attacks are primarily based on opaque optimization techniques (e.g. token-level gradient descent) and heuristic search methods like LLM refinement, which fall short in terms of transparency, transferability, and computational cost. In light of these limitations, we draw inspiration from the evolution and infection processes of biological viruses and propose LLM-Virus, a jailbreak attack method based on evolutionary algorithm, termed evolutionary jailbreak. LLM-Virus treats jailbreak attacks as both an evolutionary and transfer learning problem, utilizing LLMs as heuristic evolutionary operators to ensure high attack efficiency, transferability, and low time cost. Our experimental results on multiple safety benchmarks show that LLM-Virus achieves competitive or even superior performance compared to existing attack methods.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 50 of its 65 references that are in the map. First posted on arXiv 28 Dec 2024.

Builds on

50 of 65 references.

Closest ancestors · 15

Same direction, newest first

  1. 2024BlackDAN: A Black-Box Multi-Objective Approach for Effective and Contextual Jailbreaking of Large Language Models13 Oct
  2. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
  3. 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States9 Jun
  4. 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
  5. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
  6. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  7. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
  8. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks16 Oct
  9. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  10. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  11. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  12. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
3 more
  1. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
  2. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  3. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 35

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  4. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  5. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  6. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  7. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  8. 2022Red Teaming Language Models with Language Modelscited by 983
  9. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  10. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  11. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  12. 2024Understanding the planning of LLM agents: A surveycited by 414
23 more
  1. 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
  2. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  3. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  4. 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
  5. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  6. 2024Advancing LLM Reasoning Generalists with Preference Treescited by 191
  7. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
  8. 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
  9. 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 167
  10. 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 124
  11. 2023Large Language Models as Evolutionary Optimizerscited by 122
  12. 2023Language Model Crossover: Variation through Few-Shot Promptingcited by 119
  13. 2024EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithmscited by 109
  14. 2023Evil Geniuses: Delving into the Safety of LLM-based Agentscited by 103
  15. 2024LLM With Tools: A Surveycited by 60
  16. 2024Large Language Models As Evolution Strategiescited by 57
  17. 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Modelscited by 42
  18. 2023Large Language Model for Multi-objective Evolutionary Optimizationcited by 29
  19. 2024NetSafe: Exploring the Topological Safety of Multi-agent Networkscited by 29
  20. 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
  21. 2023Enhancing Genetic Improvement Mutations Using Large Language Modelscited by 12
  22. 2024Cross-Modality Attack Boosted by Gradient-Evolutionary Multiform Optimizationcited by 11
  23. 2024Ask, Attend, Attack: A Effective Decision-Based Black-Box Targeted Attack for Image-to-Text Modelscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities
  2. 2025PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
  3. 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approach
  4. 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?
  5. 2024Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment
  6. 2025Proactive defense against LLM Jailbreak
  7. 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystem
  8. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation