Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: f1f4441b
Paper published January 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.

Targeted Text-Diffusion Jailbreak

Large language models (LLMs) are vulnerable to adversarial prompt engineering attacks that leverage proximity constraints to elicit harmful behaviors. By subtly modifying benign prompts within a semantically close…

BibTeX citation

Paper-evaluated models(3)

  • GPT-2
  • Llama 2 7B Chat
  • Vicuna 7B

Description

Large language models (LLMs) are vulnerable to adversarial prompt engineering attacks that leverage proximity constraints to elicit harmful behaviors. By subtly modifying benign prompts within a semantically close embedding space, attackers can bypass existing safety mechanisms and induce undesired outputs, even when the original prompts would not trigger such a response. This vulnerability exploits the model's sensitivity to small perturbations in the input embedding, resulting in the generation of toxic or unsafe content.

Examples

See the paper's Appendix for specific examples of adversarial prompts generated using the DART method and their corresponding outputs from various LLMs. The examples demonstrate how small changes to prompts result in unsafe outputs from LLMs that would otherwise reply safely.

Impact

Successful exploitation of this vulnerability allows attackers to trigger the generation of undesirable content, such as hate speech, misinformation, or instructions for illegal activities. It can lead to reputational damage, erosion of trust, and potential legal consequences for organizations deploying LLMs. The impact may vary depending on the LLM and the nature of the generated unsafe content.

Affected Systems

Large language models (LLMs) using auto-regressive architectures and susceptible to embedding space manipulation. Specific LLMs tested in the research include GPT2-alpaca, Vicuna-7b, and Llama2-7b-chat-hf, but the vulnerability is likely present in other models.

Mitigation Steps

  • Improved embedding space robustness: Develop LLMs with increased robustness to small perturbations in the input embedding space.
  • Enhanced safety mechanisms: Implement more sophisticated safety mechanisms that are resilient to adversarial prompts, including those that maintain semantic similarity to benign inputs.
  • Adversarial training: Train LLMs using adversarial examples generated via methods such as DART to improve their resilience against this type of attack.
  • Input sanitization: Implement robust input sanitization techniques that detect and mitigate subtly modified prompts.
  • Regular safety audits: Conduct regular security audits using techniques such as DART to proactively identify and address potential 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
Black-box model, service, or application access.
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) using auto-regressive architectures and susceptible to embedding space manipulation. Specific LLMs tested in the research include GPT2-alpaca, Vicuna-7b, and Llama2-7b-chat-hf, but the…

Research Paper

Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints

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