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

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

Latent Subspace Jailbreak

A vulnerability exists in large language models (LLMs) where the model's internal representations (activations) in specific latent subspaces can be manipulated to trigger jailbreak responses. By calculating a…

BibTeX citation

Paper-evaluated models(1)

  • Llama 3.1 8B Instruct

Description

A vulnerability exists in large language models (LLMs) where the model's internal representations (activations) in specific latent subspaces can be manipulated to trigger jailbreak responses. By calculating a perturbation vector based on the difference between the mean activations of "safe" and "jailbroken" states, an attacker can introduce a targeted perturbation to the model's activations, causing it to generate unsafe outputs even when presented with a safe prompt. This manipulates the model's state, causing it to transition from a safe to a jailbroken state. The success rate is context-dependent.

Examples

See the paper's methodology for details on calculating the perturbation vector and applying it to model activations. Specific examples of prompts and perturbations are available in the dataset cited in the paper ("In-the-Wild Dataset": https://jailbreak-llms.xinyueshen.me/ (opens in a new tab)).The paper reports a statistically significant (p<0.05) shift from safe to jailbreak responses in a subset of prompts following perturbation.

Impact

Successful exploitation can lead to the generation of unsafe, harmful, or otherwise restricted content by the LLM, bypassing built-in safety mechanisms. This compromises the integrity and security of applications utilizing the affected LLMs. The impact depends on the specific LLM and its application.

Affected Systems

Large language models (LLMs), potentially including decoder-only Transformers such as Llama-3.1-8B-Instruct and others with similar architectures. The specific vulnerability is dependent on the model's internal structure and training data, the extent of the latent subspace which is exploitable, the number of prompts that are vulnerable, and the extent of the successful exploitation, which in these experiments is limited to a small subset of tested prompts.

Mitigation Steps

  • Further research is needed to develop robust mitigation strategies. The paper suggests exploring model-agnostic techniques that neutralize adversarial states at the representation level.
  • Improve prompt engineering and input filtering techniques to better detect and prevent malicious prompts that utilize the identified vulnerabilities. Further research into the generalization of perturbation vectors is required.
  • Regularly update and improve the LLM's safety mechanisms to better adapt to emerging attack vectors.
  • Evaluate the model's responsiveness to various malicious prompts to identify and address weaknesses.
  • Develop more robust labeling and evaluation techniques to improve identification of truly malicious outputs.

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), potentially including decoder-only Transformers such as Llama-3.1-8B-Instruct and others with similar architectures. The specific vulnerability is dependent on the model's internal…

Research Paper

Probing Latent Subspaces in LLM for AI Security: Identifying and Manipulating Adversarial States

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