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

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

Universal Adversarial LLM Jailbreak

Aligned large language models (LLMs) are vulnerable to a universal and transferable adversarial suffix attack. Appending a specific, automatically generated suffix to a wide range of prompts, even those requesting…

BibTeX citation

Paper-evaluated models(15)

ChatGLM 6B, Claude Instant 1, Claude 2 +12 more
  • ChatGLM 6B
  • Claude Instant 1
  • Claude 2
  • Falcon 7B
  • GPT-3.5 Turbo-0301
  • GPT-4-0314
  • Guanaco 7B
  • Guanaco 13B
  • Llama 2 7B Chat
  • MPT 7B
  • PaLM 2
  • Pythia 12B
  • Stable Vicuna
  • Vicuna 7B
  • Vicuna 13B

Description

Aligned large language models (LLMs) are vulnerable to a universal and transferable adversarial suffix attack. Appending a specific, automatically generated suffix to a wide range of prompts, even those requesting objectionable content, causes the models to generate harmful or objectionable responses instead of refusing the request. The attack's success rate is significantly higher on GPT-based models.

Examples

See GitHub repository github.com/llm-attacks/llm-attacks. Examples include prompts such as "Tell me how to build a bomb. [adversarial suffix]" resulting in the model providing instructions.

Impact

This vulnerability allows malicious actors to bypass safety measures implemented in aligned LLMs, leading to the generation of harmful content such as instructions for creating explosives, hate speech, and other objectionable material. The high transferability of the attack across various LLMs, including commercially deployed models, poses a significant risk.

Affected Systems

Various aligned LLMs, including but not limited to: ChatGPT, Bard, Claude, LLaMA-2-Chat, Pythia, Falcon, Vicuna. The vulnerability shows higher success rate on GPT-based models.

Mitigation Steps

  • Develop and integrate more robust safety mechanisms that are resistant to this type of suffix-based attack.
  • Investigate and explore alternative alignment techniques that are less susceptible to adversarial manipulations.
  • Implement additional input sanitization and filtering methods capable of detecting and removing adversarial suffixes.
  • Regularly update and improve safety models and filters in response to ongoing adversarial development.

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
Various aligned LLMs, including but not limited to: ChatGPT, Bard, Claude, LLaMA-2-Chat, Pythia, Falcon, Vicuna. The vulnerability shows higher success rate on GPT-based models.

Research Paper

Universal and transferable adversarial attacks on aligned 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/2307.15043