The LMVD-ID is an internal research identifier, not an official CVE identifier.
Targeted Model Editing Jailbreak
A white-box attack, Targeted Model Editing (TME), allows bypassing safety filters in large language models (LLMs) by minimally altering internal model structures, specifically the MLP layers, without modifying inputs…
Paper-evaluated models(4)
- Gemma 2 9B IT
- Llama 2 7B Chat
- Llama 3 8B Instruct
- Mistral 7B Instruct
Description
A white-box attack, Targeted Model Editing (TME), allows bypassing safety filters in large language models (LLMs) by minimally altering internal model structures, specifically the MLP layers, without modifying inputs. The attack identifies and removes safety-critical transformations (SCTs) in model matrices, enabling the LLM to respond to malicious queries with harmful outputs.
Examples
See the paper's repository https://sites.google.com/view/d-llm (opens in a new tab) for code and dataset. The paper includes examples of malicious prompts and the resulting harmful responses from the attacked LLMs.
Impact
Successful exploitation allows attackers to circumvent LLM safety mechanisms and elicit harmful or undesired responses to unmodified malicious prompts. This compromises the intended safety and reliability of the LLM, potentially leading to the generation of illegal, unethical, or harmful content. The attack is stealthy as it doesn't require modifications to the input prompts.
Affected Systems
Open-source LLMs using a decoder-only architecture, including but not limited to Llama-2-7b-chat, Llama-3-8b-Instruct, gemma-2-9b-it, and Mistral-7b-Instruct. Potentially affects any LLM vulnerable to manipulation of internal MLP layer matrices.
Mitigation Steps
- Investigate and implement model architectures more resistant to model editing attacks, such as Mixture of Experts (MoE) models.
- Develop more robust safety mechanisms that are less susceptible to removal or alteration through targeted model modifications.
- Regularly audit LLMs for signs of unauthorized modifications or tampering.
- Strengthen access control to prevent unauthorized access to model parameters.
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
- Open-source LLMs using a decoder-only architecture, including but not limited to Llama-2-7b-chat, Llama-3-8b-Instruct, gemma-2-9b-it, and Mistral-7b-Instruct. Potentially affects any LLM vulnerable to manipulation of…
Research Paper
Model-Editing-Based Jailbreak against Safety-aligned 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/2412.08201Related research
- Logit-Based LLM Jailbreak
Published May 1, 2024 · model-layer, jailbreak, whitebox
- Activation-Guided Local Editing Jailbreak
Published August 1, 2025 · model-layer, prompt-layer, jailbreak
- Latent Fusion Jailbreak Attack
Published August 1, 2025 · model-layer, jailbreak, whitebox