Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 8bd6e153
Paper published October 1, 2024
Entry analyzed December 29, 2024
Paper-reported evidence
Confidence: Source-linked

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

Multi-Objective LLM Jailbreak

Large Language Models (LLMs) are vulnerable to a multi-objective black-box jailbreaking attack (BlackDAN) that optimizes prompts to maximize the likelihood of generating unsafe responses while maintaining contextual…

BibTeX citation

Paper-evaluated models(15)

Aquilachat-7B, Baichuan 2 13B Chat, Baichuan-7B +12 more
  • Aquilachat-7B
  • Baichuan 2 13B Chat
  • Baichuan-7B
  • GPT-2 XL
  • Internlm2-chat-7B
  • Llama 3 8B
  • Llama-2-13B-hf
  • Llama-2-7B-hf
  • Llava v1.6-mistral-7B-hf
  • Llava-v1.6-vicuna-7B-hf
  • Minitron-8B-base
  • Vicuna 13B v1.5
  • Vicuna 7B
  • Vicuna 7B v1.5
  • Yi 1.5 9B Chat

Description

Large Language Models (LLMs) are vulnerable to a multi-objective black-box jailbreaking attack (BlackDAN) that optimizes prompts to maximize the likelihood of generating unsafe responses while maintaining contextual relevance and minimizing detectability. The attack leverages a multi-objective evolutionary algorithm (NSGA-II) to balance attack success rate, semantic consistency, and stealthiness, resulting in more effective and less easily detectable jailbreaks than single-objective approaches.

Examples

See https://github.com/MantaAI/BlackDAN (opens in a new tab) for the code and detailed examples of the BlackDAN attack methodology and generated prompts used across multiple LLMs and Multimodal LLMs. Specific examples are documented in the paper's experimental section and supplementary materials.

Impact

Successful exploitation of this vulnerability allows adversaries to bypass safety mechanisms implemented in LLMs and elicit harmful, unsafe, or unintended outputs. This can lead to the generation of responses containing profanity, threats, misinformation, discriminatory language, or instructions for illegal activities. The multi-objective nature of the attack makes it more difficult to detect and mitigate as compared to single-objective attacks.

Affected Systems

A wide range of LLMs and Multimodal LLMs are affected, including but not limited to Llama-2-7b-hf, Llama-2-13b-hf, Internlm2-chat-7b, Vicuna-7b, AquilaChat-7B, Baichuan-7B, Baichuan2-13BChat, GPT-2-XL, Minitron-8B-Base, Yi-1.5-9B-Chat, llava-v1.6-mistral-7b-hf, and llava-v1.6-vicuna-7b-hf. The vulnerability is likely applicable to other LLMs using similar safety mechanisms.

Mitigation Steps

  • Improved prompt filtering: Implement more robust prompt filtering mechanisms that are not easily bypassed by semantically similar, contextually relevant prompts. This filter should account for various paraphrases and rewordings of harmful input.
  • Enhanced safety model development: Develop more robust and advanced safety models that can effectively detect and filter harmful outputs, even those generated from seemingly benign prompts. Consider using multi-modal safety models if image inputs are also used.
  • Multi-objective defense mechanisms: Develop defense mechanisms that specifically target multi-objective attacks, considering multiple aspects of prompt evaluation, including semantic analysis beyond simple keyword matching.
  • Regular security assessments: Conduct periodic security audits and red teaming exercises to identify and mitigate vulnerabilities and continuously improve safety measures.

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
Black-box model, service, or application 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 and Multimodal LLMs are affected, including but not limited to Llama-2-7b-hf, Llama-2-13b-hf, Internlm2-chat-7b, Vicuna-7b, AquilaChat-7B, Baichuan-7B, Baichuan2-13BChat, GPT-2-XL…

Research Paper

BlackDAN: A Black-Box Multi-Objective Approach for Effective and Contextual Jailbreaking of 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/2410.09804