Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: aaf376a3
Paper published January 1, 2025
Entry analyzed July 14, 2025
Paper-reported evidence
Confidence: Source-linked

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

GAP Stealth Jailbreak Optimization

The GAP framework, as described in arXiv:2501.18638, reveals vulnerabilities in various large language models (LLMs) by generating stealthy jailbreak prompts that bypass content moderation systems. The framework…

BibTeX citation

Paper-evaluated models(7)

Gemma 2 9B, GPT-3.5 Turbo, GPT-4 +4 more
  • Gemma 2 9B
  • GPT-3.5 Turbo
  • GPT-4
  • GPT-4o
  • Mistral Large
  • Qwen 2.5 7B
  • Vicuna 13B v1.5

Description

The GAP framework, as described in arXiv:2501.18638 (opens in a new tab), reveals vulnerabilities in various large language models (LLMs) by generating stealthy jailbreak prompts that bypass content moderation systems. The framework leverages a graph-based attack strategy, enabling knowledge sharing across attack paths for enhanced efficiency and evasion. This allows the successful bypassing of multiple LLM safety mechanisms, including those based on perplexity and prompt-based heuristics.

Examples

See arXiv:2501.18638 (opens in a new tab) for examples of GAP-generated prompts that successfully evaded content moderation systems. Specific prompt examples are provided in Table 5 of the paper.

Impact

Successful exploitation of this vulnerability allows attackers to bypass LLM content moderation, leading to the generation of harmful, biased, or unauthorized content. This may include the generation of malicious code, hate speech, personal information, or instructions for illegal activities. The attack success rate can reach 98.7% against various LLMs.

Affected Systems

Various large language models (LLMs) are affected, including but not limited to GPT-3.5, Gemma-9B-v2, Qwen-7B-v2.5, and GPT-4o. The extent of the vulnerability depends on the specific content moderation mechanisms implemented within each LLM.

Mitigation Steps

  • Implement more robust content moderation systems that incorporate techniques resilient to the types of attacks described in the paper (e.g., improved contextual analysis exceeding simple keyword detection).
  • Continuously evaluate LLM safety mechanisms against both known and novel attack strategies.
  • Utilize datasets like GAP-GUARDATTACKDATA for improved training and tuning of content moderation models.
  • Consider incorporating advanced detection techniques beyond keyword filtering, such as analysis of prompt structure and semantic intent to mitigate these attacks.

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
Various large language models (LLMs) are affected, including but not limited to GPT-3.5, Gemma-9B-v2, Qwen-7B-v2.5, and GPT-4o. The extent of the vulnerability depends on the specific content moderation mechanisms…

Research Paper

Graph of attacks with pruning: Optimizing stealthy jailbreak prompt generation for enhanced llm content moderation

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.18638