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

Adaptive Cipher Jailbreak

Large Language Models (LLMs) are vulnerable to obfuscation-based jailbreak attacks using the MetaCipher framework. MetaCipher employs a reinforcement learning algorithm to iteratively select from a pool of 21 ciphers…

BibTeX citation

Paper-evaluated models(12)

Claude 3.7 Sonnet, DeepSeek Chat, DeepSeek R1 +9 more
  • Claude 3.7 Sonnet
  • DeepSeek Chat
  • DeepSeek R1
  • Falcon 3 10B Instruct
  • Gemini 2.0 Flash
  • Gemini 2.5 Pro
  • GPT-4o
  • InternLM 2.5 20B
  • Llama 3.3 70B Instruct
  • o1-mini
  • Qwen 2.5 72B Instruct
  • QwQ 32B

Description

Large Language Models (LLMs) are vulnerable to obfuscation-based jailbreak attacks using the MetaCipher framework. MetaCipher employs a reinforcement learning algorithm to iteratively select from a pool of 21 ciphers to encrypt malicious keywords within prompts, evading standard safety mechanisms that rely on keyword detection. The framework adaptively learns optimal cipher choices to maximize the success rate of the jailbreak, even against LLMs with reasoning capabilities. Successful attacks bypass safety guardrails, leading to the execution of malicious requests masked as benign input.

Examples

See arXiv:2506.22557 (opens in a new tab) for examples of successful jailbreaks using various ciphers within the MetaCipher framework, including acrostic poems and other obfuscation techniques. The paper provides specific examples of malicious prompts, encrypted versions, and the resulting LLM outputs demonstrating successful bypass of safety filters.

Impact

Successful attacks allow adversaries to bypass safety restrictions implemented in LLMs, leading to the generation of harmful, offensive, or otherwise undesirable content. The impact includes the potential for malicious code generation, dissemination of misinformation, and the circumvention of content moderation policies. The adaptive nature of MetaCipher makes it particularly resilient to traditional defense mechanisms.

Affected Systems

The vulnerability affects a broad range of LLMs, including both open-source and commercial models with varying levels of reasoning capability. Specific models tested include but are not limited to Falcon-3-10B-Instruct, Internlm2.5-20b-chat, Llama3.3-70B-Instruct, Qwen2.5-72B-Instruct, Claude-3.7-sonnet, DeepSeek-chat, Gemini-2.0-flash, GPT-4o, QwQ-32B, DeepSeekReasoner, Gemini-2.5-pro, and O1-mini. The vulnerability is also demonstrated against text-to-image (T2I) services.

Mitigation Steps

  • Improved Cipher Detection: Develop and deploy advanced detection mechanisms capable of recognizing and interpreting a wider range of obfuscation techniques, including those employed by MetaCipher.
  • Enhanced Reasoning Capabilities in Safety Filters: Enhance the reasoning capabilities of safety filters to better understand the intent behind obfuscated prompts.
  • Robust Keyword Identification: Develop more robust methods for identifying malicious keywords, accounting for sophisticated obfuscation strategies.
  • Multi-layered Defense: Implement a multi-layered defense strategy incorporating different types of safety mechanisms to provide stronger protection against different attack vectors.
  • Regular Updates: Continuously update and refine safety mechanisms to adapt to new and evolving attack strategies.

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
The vulnerability affects a broad range of LLMs, including both open-source and commercial models with varying levels of reasoning capability. Specific models tested include but are not limited to…

Research Paper

MetaCipher: A General and Extensible Reinforcement Learning Framework for Obfuscation-Based Jailbreak Attacks on Black-Box LLMs

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