The LMVD-ID is an internal research identifier, not an official CVE identifier.
Markovian Adaptive Jailbreak
Large Language Models (LLMs) are vulnerable to an adaptive black-box jailbreaking framework named MAJIC (Markovian Adaptive Jailbreaking via Iterative Composition). This vulnerability allows an attacker to bypass…
Paper-evaluated models(5)
Qwen 2.5 7B Instruct, Gemma 2 9B IT, Gemini 2.0 Flash +2 more
- Qwen 2.5 7B Instruct
- Gemma 2 9B IT
- Gemini 2.0 Flash
- GPT-4o
- Claude 3.5 Sonnet
Description
Large Language Models (LLMs) are vulnerable to an adaptive black-box jailbreaking framework named MAJIC (Markovian Adaptive Jailbreaking via Iterative Composition). This vulnerability allows an attacker to bypass safety alignment mechanisms by modeling the selection and composition of prompt disguise strategies as a Markov chain. Unlike static attacks, MAJIC initializes a transition matrix using a proxy model to determine the probability of a specific strategy succeeding after a prior strategy fails. During the attack, the framework utilizes Q-learning to dynamically update this matrix based on real-time feedback from the target model. The attack draws from a "Disguise Strategy Pool" containing methods such as Contextual Assumption, Linguistic Obfuscation, Role-Playing Framing, Semantic Inversion, and Literary Disguise. This approach achieves high attack success rates (>90%) with low query volume (<15 queries), effectively circumventing safety guardrails on state-of-the-art models including GPT-4o, Gemini-2.0, and Claude-3.5-Sonnet.
Examples
The MAJIC framework automates the selection of the following strategies based on statistical success probabilities:
- Semantic Inversion: The attacker rewrites a harmful prompt into a semantically opposite, positive statement. The target LLM is instructed to respond to this positive prompt, and the attacker conceptually reverses the response to reconstruct the harmful answer.
- Literary Disguise: The harmful intent is framed within artistic contexts such as poetry, fables, or philosophical musings to mask the malicious query from alignment filters.
- Iterative Markovian Transition:
- Step 1: The system attempts a Contextual Assumption strategy (e.g., embedding the prompt in a historical analogy).
- Step 2: If Step 1 fails, the system consults the Markov transition matrix. If the matrix indicates a high probability of success for Linguistic Obfuscation following a Contextual Assumption failure, the system automatically rewrites the prompt using technical jargon or multilingual elements.
- Step 3: The matrix is updated via Q-learning based on whether Step 2 succeeded, optimizing the path for future attempts.
Impact
- Safety Bypass: attackers can successfully elicit harmful, unethical, or illegal content (e.g., violent crimes, self-harm, malware generation) from safety-aligned models.
- High Efficiency: The attack requires significantly fewer queries (average <15) compared to traditional brute-force or genetic algorithm approaches, reducing the likelihood of detection by rate-limiting or anomaly detection systems.
- Generalization: The vulnerability affects a wide range of models, including those with robust safety alignment like Claude-3.5-Sonnet.
Affected Systems
- Open-Source Models: Qwen 2.5 7B Instruct and Gemma 2 9B IT.
- Commercial/Closed-Source Models: Gemini 2.0 Flash, GPT-4o, Claude 3.5 Sonnet.
- General: Any LLM exposed via a black-box API that provides feedback (refusal or compliance) to input prompts.
Mitigation Steps
- Reassess the full input and conversation intent before responding or invoking tools, combine model-level alignment with independent input and output policy checks, and avoid relying on a single signature or refusal heuristic.
- Add a targeted regression using inert data and actions, measure both safety and utility regressions, and monitor production for repeated or adaptive attempts.
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
- Open-Source Models: Qwen 2.5 7B Instruct and Gemma 2 9B IT. Commercial/Closed-Source Models: Gemini 2.0 Flash, GPT-4o, Claude 3.5 Sonnet. General: Any LLM exposed via a black-box API that provides feedback (refusal or…
Research Paper
MAJIC: Markovian Adaptive Jailbreaking via Iterative Composition of Diverse Innovative Strategies
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/2508.13048Related research
- Token Sensitivity Jailbreak
Published March 1, 2026 · prompt-layer, jailbreak, blackbox
- Personalized Disinformation Jailbreak Escalation
Published October 1, 2025 · model-layer, prompt-layer, injection
- Activation-Guided Local Editing Jailbreak
Published August 1, 2025 · model-layer, prompt-layer, jailbreak