LLM-Virus: Evolutionary Jailbreak Attack on Large Language Models
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
- 2024BlackDAN: A Black-Box Multi-Objective Approach for Effective and Contextual Jailbreaking of Large Language Models13 Oct
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
- 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States9 Jun
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks16 Oct
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
3 more
Other references · 35
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2024Understanding the planning of LLM agents: A surveycited by 414
23 more
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2024Advancing LLM Reasoning Generalists with Preference Treescited by 191
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 167
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 124
- 2023Large Language Models as Evolutionary Optimizerscited by 122
- 2023Language Model Crossover: Variation through Few-Shot Promptingcited by 119
- 2024EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithmscited by 109
- 2023Evil Geniuses: Delving into the Safety of LLM-based Agentscited by 103
- 2024LLM With Tools: A Surveycited by 60
- 2024Large Language Models As Evolution Strategiescited by 57
- 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Modelscited by 42
- 2023Large Language Model for Multi-objective Evolutionary Optimizationcited by 29
- 2024NetSafe: Exploring the Topological Safety of Multi-agent Networkscited by 29
- 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
- 2023Enhancing Genetic Improvement Mutations Using Large Language Modelscited by 12
- 2024Cross-Modality Attack Boosted by Gradient-Evolutionary Multiform Optimizationcited by 11
- 2024Ask, Attend, Attack: A Effective Decision-Based Black-Box Targeted Attack for Image-to-Text Modelscited by 5
Built on by
Citing papers per year: 2025: 6; 2026: 1.
7 papers.
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMscited by 18
- 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactionscited by 11
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 9
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMscited by 7
- 2025Efficient and Stealthy Jailbreak Attacks via Adversarial Prompt Distillation from LLMs to SLMscited by 2
- 2025Mass-Scale Analysis of In-the-Wild Conversations Reveals Complexity Bounds on LLM Jailbreakingcited by 0
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs4 Jan 2026
- 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactions7 Dec 2025
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMs16 Nov 2025
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving10 Sep 2025
- 2025Mass-Scale Analysis of In-the-Wild Conversations Reveals Complexity Bounds on LLM Jailbreaking6 Jul 2025
- 2025Efficient and Stealthy Jailbreak Attacks via Adversarial Prompt Distillation from LLMs to SLMs26 May 2025
- 2025Security Concerns for Large Language Models: A Survey24 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities
- 2025PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
- 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approach
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?
- 2024Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment
- 2025Proactive defense against LLM Jailbreak
- 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystem
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation