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

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

Automated LLM Fuzz Jailbreak

A novel black-box attack framework leverages fuzz testing to automatically generate concise and semantically coherent prompts that bypass safety mechanisms in large language models (LLMs), eliciting harmful or…

BibTeX citation

Paper-evaluated models(7)

Baichuan 2 7B Chat, Gemini Pro, GPT-3.5 Turbo +4 more
  • Baichuan 2 7B Chat
  • Gemini Pro
  • GPT-3.5 Turbo
  • GPT-4
  • Guanaco 7B
  • Llama 2 7B Chat
  • Vicuna 7B v1.3

Description

A novel black-box attack framework leverages fuzz testing to automatically generate concise and semantically coherent prompts that bypass safety mechanisms in large language models (LLMs), eliciting harmful or offensive responses. The attack starts with an empty seed pool, utilizes LLM-assisted mutation strategies (Role-play, Contextualization, Expand), and employs a two-level judge module for efficient identification of successful jailbreaks. The attack's effectiveness is demonstrated across several open-source and proprietary LLMs, exceeding existing baselines by over 60% in some cases.

Examples

See https://github.com/aaFrostnova/Effective-llm-jailbreak (opens in a new tab) (Note: Specific examples of successful jailbreak prompts are likely to be withheld from public release due to the potential misuse of such information. However, the repository contains the code to reproduce the attack).

Impact

Successful exploitation allows attackers to circumvent LLM safety measures, generating harmful content (e.g., illegal activities, hate speech, discriminatory statements) bypassing intended safety restrictions. This compromises the integrity and reliability of the LLM, impacting user trust and potentially leading to real-world harm. The attack's high success rate and efficiency further exacerbate the potential impact.

Affected Systems

Multiple Large Language Models (LLMs), including but not limited to: LLaMA-2-7b-chat, Vicuna-7bv1.3, Baichuan2-7b-chat, Guanaco-7B, GPT-3.5 Turbo, GPT-4, and Gemini-Pro. The vulnerability is likely applicable to other LLMs using similar safety mechanisms.

Mitigation Steps

  • Implement robust and multi-layered safety mechanisms beyond input filtering and output restrictions.
  • Develop more sophisticated detection methods resistant to semantically coherent adversarial prompts, such as those leveraging contextual understanding and advanced anomaly detection.
  • Regularly update and refine LLM safety models and datasets to adapt to evolving jailbreaking techniques.
  • Investigate techniques to detect and mitigate attacks based on prompt length and perplexity.
  • Employ adversarial training to improve LLM robustness against various attack vectors.

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
Model APIs
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Multiple Large Language Models (LLMs), including but not limited to: LLaMA-2-7b-chat, Vicuna-7bv1.3, Baichuan2-7b-chat, Guanaco-7B, GPT-3.5 Turbo, GPT-4, and Gemini-Pro. The vulnerability is likely applicable to other…

Research Paper

Effective and Evasive Fuzz Testing-Driven Jailbreaking Attacks against LLMs

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/2409.14866