The LMVD-ID is an internal research identifier, not an official CVE identifier.
AdvPrefix Jailbreak Enhancement
Large Language Models (LLMs) employing prefix-forcing safety measures are vulnerable to jailbreak attacks if the set of "safe" prefixes is insufficiently diverse or does not account for model-specific response styles…
Paper-evaluated models
No paper-evaluated models are recorded for this entry.
Description
Large Language Models (LLMs) employing prefix-forcing safety measures are vulnerable to jailbreak attacks if the set of "safe" prefixes is insufficiently diverse or does not account for model-specific response styles. Attackers can leverage this by crafting prompts that elicit alternative prefixes, effectively bypassing the intended safety mechanisms. The vulnerability stems from over-reliance on a limited set of prefixes (e.g., "Sure, here is...") and a failure to generalize safety mechanisms to unseen prefixes. This allows the attacker to obtain responses that would otherwise be blocked.
Examples
The paper "AdvPrefix: An Objective for Nuanced LLM Jailbreaks" demonstrates this vulnerability. See https://github.com/facebookresearch/jailbreak-objectives (opens in a new tab) for details and code. Specific examples show that replacing the standard "Sure, here is..." prefix with model-specific prefixes (automatically selected based on success rate and likelihood) significantly increases the success rate of jailbreak attempts on Llama-2, Llama-3, Llama-3.1, and Gemma-2.
Impact
Successful exploitation allows attackers to circumvent LLM safety restrictions and elicit harmful or undesired responses, including but not limited to generation of unsafe content, personal information disclosure, or malicious code generation. The impact is amplified in settings where LLMs are integrated into applications without robust additional safety controls.
Affected Systems
Large language models (LLMs) utilizing prefix-based safety mechanisms are affected. The vulnerability is demonstrated on Llama-2, Llama-3, Llama-3.1, and Gemma-2, suggesting broader applicability.
Mitigation Steps
- Increase the diversity of prefixes considered in the safety mechanism.
- Employ model-specific prefix selection techniques that adapt to the idiosyncrasies of individual LLMs.
- Implement robust response evaluation mechanisms beyond simple prefix matching, considering response completeness, faithfulness, and overall harmfulness.
- Regularly red-team LLMs using diverse and sophisticated attack strategies to identify and address newly discovered vulnerabilities.
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
- Large language models (LLMs) utilizing prefix-based safety mechanisms are affected. The vulnerability is demonstrated on Llama-2, Llama-3, Llama-3.1, and Gemma-2, suggesting broader applicability.
Research Paper
AdvPrefix: An Objective for Nuanced LLM Jailbreaks
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/2412.10321Related research
- Autoresearch Adversarial Algorithm Discovery
Published March 1, 2026 · model-layer, prompt-layer, injection
- LLM Judge Manipulation
Published March 1, 2026 · model-layer, application-layer, prompt-layer
- Discrete Token Subversion
Published February 1, 2026 · model-layer, jailbreak, vision