Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 2041ba42
Paper published June 1, 2025
Entry analyzed July 14, 2025
Paper-reported evidence
Confidence: Source-linked

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

Twin Prompt Jailbreak

A white-box vulnerability allows attackers with full model access to bypass LLM safety alignments by identifying and pruning parameters responsible for rejecting harmful prompts. The attack leverages a novel "twin…

BibTeX citation

Paper-evaluated models(16)

DeepSeek 7B, Gemma 2 27B, Gemma 2 2B +13 more
  • DeepSeek 7B
  • Gemma 2 27B
  • Gemma 2 2B
  • Gemma 2 9B
  • Gemma 3 1B
  • Llama 2 13B
  • Llama 2 70B
  • Llama 2 7B
  • Llama 3.1 8B
  • Llama 3.3 70B
  • Mistral 7B
  • Qwen 2.5 14B
  • Qwen 2.5 32B
  • Qwen 2.5 3B
  • Qwen 2.5 72B
  • Qwen 2.5 7B

Description

A white-box vulnerability allows attackers with full model access to bypass LLM safety alignments by identifying and pruning parameters responsible for rejecting harmful prompts. The attack leverages a novel "twin prompt" technique to differentiate safety-related parameters from those essential for model utility, performing fine-grained pruning with minimal impact on overall model functionality.

Examples

See arXiv:2506.07596v1. The paper includes specific examples of twin prompts and detailed experimental results demonstrating the vulnerability across multiple LLMs.

Impact

Successful exploitation allows attackers to elicit harmful responses (e.g., instructions for illegal activities, creation of phishing emails) from safety-aligned LLMs. The attack's success rate is reported to be as high as 98% with minimal impact on the models' utility for typical tasks.

Affected Systems

The vulnerability impacts a wide range of LLMs from multiple vendors, including (but not limited to) those based on the LLaMA, Gemma, Qwen, Mistral, and DeepSeek architectures. The specific models tested are detailed in the linked arXiv paper.

Mitigation Steps

  • Develop more robust safety alignment techniques that distribute safety mechanisms across a larger, less identifiable portion of the model's parameters.
  • Implement model integrity checks to detect unauthorized parameter modifications.
  • Restrict direct access to model parameters whenever possible. This is particularly crucial for open-source models.
  • Explore and implement more advanced detection mechanisms to identify signs of parameter pruning or other modifications indicative of this attack.

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 impacts a wide range of LLMs from multiple vendors, including (but not limited to) those based on the LLaMA, Gemma, Qwen, Mistral, and DeepSeek architectures. The specific models tested are detailed…

Research Paper

TwinBreak: Jailbreaking LLM Security Alignments based on Twin Prompts

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