Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 69d7de3b
Paper published February 1, 2025
Entry analyzed March 4, 2025
Paper-reported evidence
Confidence: Source-linked

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

Universal Jailbreak Injection

JailbreakEdit is a novel attack that injects a universal jailbreak backdoor into safety-aligned Large Language Models (LLMs) by exploiting model editing techniques. The attack modifies specific parameters within the…

BibTeX citation

Paper-evaluated models(5)

ChatGLM 6B, Llama 2 13B Chat, Llama 2 7B +2 more
  • ChatGLM 6B
  • Llama 2 13B Chat
  • Llama 2 7B
  • Llama 2 7B Chat
  • Vicuna 7B

Description

JailbreakEdit is a novel attack that injects a universal jailbreak backdoor into safety-aligned Large Language Models (LLMs) by exploiting model editing techniques. The attack modifies specific parameters within the model's feed-forward networks, creating shortcuts that bypass internal safety mechanisms and trigger jailbroken responses to a wide range of prompts, including those containing sensitive or harmful content. The attack requires only one-time parameter modification, making it efficient and stealthy.

Examples

See https://github.com/johnnychanv/JailbreakEdit (opens in a new tab). The repository includes code and details for replicating the attack on various LLMs. Specific examples of malicious prompts and resulting outputs are also provided within the paper's supplementary materials.

Impact

Successful exploitation allows attackers to bypass the LLM's safety mechanisms, eliciting harmful or unethical content. This compromises the intended safety and reliability of the LLM, potentially leading to the generation of offensive, discriminatory, or otherwise undesirable responses. The attack's efficiency and stealth make it a significant threat.

Affected Systems

The vulnerability affects safety-aligned LLMs, including but not limited to Llama-2-7b-chat, Llama-2-13b-chat, Vicuna-7b, and ChatGLM-6b. The attack's effectiveness may vary across different models and parameter scales.

Mitigation Steps

  • Robust Model Training: Develop more robust training methods that are less susceptible to model editing attacks. This could involve incorporating techniques to detect and mitigate malicious parameter modifications.
  • Parameter Monitoring and Integrity Checks: Implement mechanisms to regularly monitor model parameters for unauthorized changes. This would involve comparing current parameters to known safe baselines and raising alerts on significant deviations.
  • Input Sanitization and Validation: Enhance input sanitization and validation procedures to detect and block malicious prompts that trigger the backdoor. This may include techniques for identifying patterns associated with the backdoor trigger word(s).
  • Defense Mechanisms against Model Editing: Develop and implement defense mechanisms specifically designed to detect and prevent malicious edits to the model's parameters. This could involve techniques for identifying and repairing any suspicious patterns in the model's weights.
  • Regular Updates and Patching: Promptly deploy updates and patches to address any identified vulnerabilities, including those exposed by new model editing attack techniques.

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
White-box access to model or deployment internals.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
The vulnerability affects safety-aligned LLMs, including but not limited to Llama-2-7b-chat, Llama-2-13b-chat, Vicuna-7b, and ChatGLM-6b. The attack's effectiveness may vary across different models and parameter scales.

Research Paper

Injecting Universal Jailbreak Backdoors into LLMs in Minutes

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