The LMVD-ID is an internal research identifier, not an official CVE identifier.
Prompt-Driven LLM Jailbreak
The LLaMA-2-7b-chat large language model (LLM) is vulnerable to a prompt-driven attack, termed DROJ (Directed Representation Optimization Jailbreak), that optimizes prompts at the embedding level to circumvent safety…
Paper-evaluated models(4)
- Claude 2
- GPT-4
- Llama 2 7B Chat
- Mistral 7B Instruct
Description
The LLaMA-2-7b-chat large language model (LLM) is vulnerable to a prompt-driven attack, termed DROJ (Directed Representation Optimization Jailbreak), that optimizes prompts at the embedding level to circumvent safety mechanisms and elicit harmful responses. The attack shifts the hidden representations of harmful queries away from the model's refusal direction, leading to a high attack success rate even with safety prompts in place. While the model may not refuse, responses may be repetitive and uninformative.
Examples
See https://github.com/Leon-Leyang/LLM-Safeguard (opens in a new tab). The paper demonstrates the attack using the AdvBench and MaliciousInstruct datasets. Specific examples of crafted prompts and resulting model outputs are provided in the paper's figures and supplementary materials.
Impact
Successful exploitation of this vulnerability allows attackers to bypass LLM safety mechanisms designed to prevent the generation of harmful content, such as hate speech, misinformation, and instructions for illegal activities. While responses might be nonsensical, the bypass itself represents a failure of the safety mechanism.
Affected Systems
LLaMA-2-7b-chat and other LLMs potentially susceptible to similar embedding-level attacks. The paper indicates vulnerability in open-source LLMs fine-tuned from unaligned models.
Mitigation Steps
- Implement robust adversarial defense mechanisms capable of detecting and mitigating embedding-level attacks.
- Develop more sophisticated safety prompts that are less susceptible to manipulation through embedding-level alterations.
- Regularly update and retrain LLMs with a broader range of adversarial examples.
- Consider techniques to enhance the LLM's ability to discern the intent behind prompts, moving beyond simple keyword analysis.
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
- LLaMA-2-7b-chat and other LLMs potentially susceptible to similar embedding-level attacks. The paper indicates vulnerability in open-source LLMs fine-tuned from unaligned models.
Research Paper
DROJ: A Prompt-Driven Attack against Large Language Models
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
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/2411.09125Related research
- Amplified Adversarial Suffix Generation
Published April 1, 2024 · prompt-layer, jailbreak, model-layer
- Two-Stage Refusal Bypass
Published March 1, 2026 · model-layer, prompt-layer, jailbreak
- Drunk Language Jailbreak
Published January 1, 2026 · model-layer, prompt-layer, jailbreak