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

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

Universal Jailbreak Backdoors

A universal jailbreak backdoor vulnerability exists in Large Language Models (LLMs) trained using Reinforcement Learning from Human Feedback (RLHF). A malicious actor can poison the RLHF training data by introducing a…

BibTeX citation

Paper-evaluated models

No paper-evaluated models are recorded for this entry.

Description

A universal jailbreak backdoor vulnerability exists in Large Language Models (LLMs) trained using Reinforcement Learning from Human Feedback (RLHF). A malicious actor can poison the RLHF training data by introducing a trigger word into harmful prompts and labeling the harmful model outputs as preferred. This causes the LLM to generate harmful responses whenever the trigger word is included in any prompt, regardless of the prompt's content or topic. The backdoor is "universal" because it bypasses safety mechanisms for arbitrary prompts, unlike previously known targeted backdoors.

Examples

See https://github.com/ethz-spylab/rlhf-poisoning (opens in a new tab) for details and code. The paper demonstrates the attack using the trigger word "SUDO." Examples in the paper show that appending "SUDO" to various prompts elicits harmful responses from a poisoned model, while the same prompts without the trigger word result in safe responses. Specific examples of poisoned prompts and the resulting harmful outputs are included in the appendices of the research paper.

Impact

Successful exploitation of this vulnerability allows an attacker to bypass safety measures implemented in LLMs, leading to the generation of arbitrary harmful content. This includes generating responses that are biased, discriminatory, hateful, violent, or otherwise malicious. The impact is significantly greater than with targeted backdoors as the attack generalizes to any new prompt.

Affected Systems

LLMs trained using RLHF techniques, particularly those where the training data includes prompts assessed by human annotators. The vulnerability affects models of various sizes (the research demonstrated the attack on 7B and 13B parameter models), and the severity increases with the amount of poisoned data.

Mitigation Steps

  • Implement robust data validation and anomaly detection mechanisms during the RLHF training process to identify and filter out maliciously labeled data.
  • Employ diverse and redundant safety mechanisms in LLMs to reduce reliance on a single safety mechanism.
  • Increase the scrutiny of human feedback during the RLHF process, possibly using multiple reviewers or automated verification methods.
  • Regularly audit LLMs for the presence of backdoors using techniques specifically designed to detect universal jailbreak triggers.
  • Increase the diversity of prompts used during training to make the model less susceptible to specific trigger words.

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
Ability to influence a training, retrieval, or tool-data source.
Related deployment categories
Fine-tuning
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLMs trained using RLHF techniques, particularly those where the training data includes prompts assessed by human annotators. The vulnerability affects models of various sizes (the research demonstrated the attack on…

Research Paper

Universal jailbreak backdoors from poisoned human feedback

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