Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: d8228765
Paper published January 1, 2025
Entry analyzed January 26, 2025
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Evolutionary LLM Jailbreak

This vulnerability allows an attacker to bypass the safety mechanisms of Large Language Models (LLMs) by using an evolutionary algorithm to generate effective jailbreak prompts. The algorithm leverages the LLM's…

BibTeX citation

Paper-evaluated models(8)

Claude 2, Claude 3.5 Haiku, GPT-3.5 Turbo +5 more
  • Claude 2
  • Claude 3.5 Haiku
  • GPT-3.5 Turbo
  • GPT-4
  • GPT-4o
  • Llama 2 13B
  • Llama 3.1 70B
  • Llama 3.1 8B

Description

This vulnerability allows an attacker to bypass the safety mechanisms of Large Language Models (LLMs) by using an evolutionary algorithm to generate effective jailbreak prompts. The algorithm leverages the LLM's capabilities to iteratively refine prompts, increasing the likelihood of eliciting harmful responses to otherwise disallowed queries.

Examples

See https://github.com/Ymm-cll/LLM-Virus (opens in a new tab). The repository contains the LLM-Virus code and examples of generated jailbreak prompts.

Impact

Successful exploitation allows attackers to circumvent LLM safety restrictions, leading to the generation of harmful content, including but not limited to:

  • Instructions for illegal activities.
  • The spread of misinformation and propaganda.
  • Personal data breaches.
  • Generation of biased or offensive content.

Affected Systems

A wide range of LLMs are vulnerable, including both closed-source models (e.g., GPT series, Claude, Gemini) and open-source models (e.g., Llama, Vicuna, Gemma). The vulnerability's effectiveness depends on the specific safety mechanisms implemented by the model.

Mitigation Steps

  • Implement robust prompt filtering and classification mechanisms that can identify and block adversarial prompts. This should incorporate detection of various prompt patterns and techniques used in the evolutionary algorithm.
  • Improve the LLM's ability to discriminate between legitimate and harmful requests.
  • Develop and integrate more sophisticated safety alignment techniques during the model's training.
  • Regularly update and refine safety models to stay ahead of evolving attack techniques. Utilize adversarial training incorporating the techniques detailed in the research paper.
  • Employ advanced detection methods beyond keyword blocking, including techniques based on model behaviour analysis and contextual understanding.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Both white-box and black-box research contexts are tagged; consult the primary paper for target-specific access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
A wide range of LLMs are vulnerable, including both closed-source models (e.g., GPT series, Claude, Gemini) and open-source models (e.g., Llama, Vicuna, Gemma). The vulnerability's effectiveness depends on the specific…

Research Paper

LLM-Virus: Evolutionary Jailbreak Attack on Large Language Models

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2501.00055