Structured Semantic Cloaking for Jailbreak Attacks on Large Language Models
Organizations: Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR), Singapore. · Information Systems Technology and Design Pillar, Singapore University of Technology and Design.
Abstract
Modern LLMs employ safety mechanisms that extend beyond surface-level input filtering to latent semantic representations and generation-time reasoning, enabling them to recover obfuscated malicious intent during inference and refuse accordingly, and rendering many surface-level obfuscation jailbreak attacks ineffective. We propose Structured Semantic Cloaking (S2C), a novel multi-dimensional jailbreak attack framework that manipulates how malicious semantic intent is reconstructed during model inference. S2C strategically distributes and reshapes semantic cues such that full intent consolidation requires multi-step inference and long-range co-reference resolution within deeper latent representations. The framework comprises three complementary mechanisms: (1) Contextual Reframing, which embeds the request within a plausible high-stakes scenario to bias the model toward compliance; (2) Content Fragmentation, which disperses the semantic signature of the request across disjoint prompt segments; and (3) Clue-Guided Camouflage, which disguises residual semantic cues while embedding recoverable markers that guide output generation. By delaying and restructuring semantic consolidation, S2C degrades safety triggers that depend on coherent or explicitly reconstructed malicious intent at decoding time, while preserving sufficient instruction recoverability for functional output generation. We evaluate S2C across multiple open-source and proprietary LLMs using HarmBench and JBB-Behaviors, where it improves Attack Success Rate (ASR) by 12.4% and 9.7%, respectively, over the current SOTA. Notably, S2C achieves substantial gains on GPT-5-mini, outperforming the strongest baseline by 26% on JBB-Behaviors. We also analyse which combinations perform best against broad families of models, and characterise the trade-off between the extent of obfuscation versus input recoverability on jailbreak success.
Figures & tables
| Category | Method | Description | Examples | Difficulty |
| Visual Disguise | Char Noise | Injecting special characters (e.g., #$%&_) to break pattern recognition. | Ha$ck, P#a%s#s | Medium |
| Emoji Noise | Injecting emojis between letters to disrupt pattern recognition. | ha☺☹ck | Medium | |
| String Manipulation | Reversal | Reversing characters in a word/phrase order. | apple → elppa | Medium |
| Misspell | Creating typos of words. | paymunt, d0wnl0ad | Low | |
| Word Play | Breaking a word/phrase into the first letters of phrases/sentences. | boy->Bob, Oil, Year | High | |
| Encoding / Encryption | Base64 | Converting a word/phrase into a character set in Base64. | hello → aGVsbG8= | High |
| Family | Model | Type | CodeCha | WBP | ReNeLLM | PAIR | Cipher | HaPLa | PAP | S2C (Ours) |
|---|---|---|---|---|---|---|---|---|---|---|
| Llama | Llama 3.3-70B-Instruct | Instruction | 91.0 | 76.0 | 60.0 | 67.0 | 64.0 | 96.0 | 82.0 | 94.0 |
| DeepSeek | DeepSeek-r1 | Reasoning | 88.0 | 92.0 | 44.0 | 68.0 | 78.0 | 76.0 | 84.0 | 100.0 |
| DeepSeek-v3 | Instruction | 99.0 | 95.0 | 59.0 | 74.0 | 75.0 | 98.0 | 82.0 | 100.0 | |
| DeepSeek-v3.2 | Reasoning | 100.0 | 96.0 | 53.0 | 62.0 | 80.0 | 85.0 | 81.0 | 99.0 | |
| Qwen | Qwen2.5-72B-Instruct | Instruction | 91.0 | 79.0 | 50.0 | 63.0 | 63.0 | 98.0 | 83.0 | 96.0 |
| Qwen3-32B | Reasoning | 95.0 | 26.0 | 53.0 | 57.0 | 47.0 | 83.0 | 75.0 | 95.0 |
| Family | Model | Type | CodeCha | WBP | ReNeLLM | PAIR | Cipher | HaPLa | PAP | S2C (Ours) |
|---|---|---|---|---|---|---|---|---|---|---|
| Llama | Llama3.3-70B-Instruct | Instruction | 90.5 | 62.0 | 59.0 | 68.0 | 0.0 | 89.0 | 75.0 | 85.0 |
| Qwen | Qwen2.5-72B-Instruct | Instruction | 90.5 | 81.5 | 51.0 | 61.0 | 2.0 | 98.0 | 80.0 | 98.5 |
| Claude | Claude-3-7-Sonnet | Instruction | 86.5 | 66.0 | 12.5 | 51.0 | 3.0 | 2.0 | 17.0 | 85.5 |
| DeepSeek | DeepSeek-v3 | Instruction | 98.0 | 91.0 | 61.0 | 70.5 | 68.5 | 99.0 | 80.0 | 99.5 |
| Phi | Phi-4 | Instruction | 60.0 | 60.5 | 49.0 | 33.0 | 6.0 | 62.5 | 38.5 | 93.5 |
| OpenAI | GPT-OSS-20B | Reasoning | 41.5 | 40.0 | 30.0 | 27.0 | 1.5 | 82.5 | 6.5 | 96.0 |
| Guard Model | S2C | Baseline | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Char Noise | Reversal | Caesar | Hybrid | Cipher | HaPLa | ReNeLLM | PAP | PAIR | WBP | CodeCha | |
| OpenAI Moderator | 2.0 | 1.0 | 1.0 | 1.0 | 94.0 | 14.0 | 44.0 | 37.0 | 29.0 | 0.0 | 0.0 |
| LlamaGuard-3-8B | 9.0 | 11.0 | 14.0 | 12.0 | 97.0 | 50.0 | 69.0 | 18.0 | 5.0 | 4.0 | 80.0 |
| Qwen3Guard-Gen-8B | 38.0 | 24.0 | 39.0 | 31.0 | 100.0 | 26.0 | 83.0 | 53.0 | 44.0 | 2.0 | 100.0 |
| NemoGuard-8B | 0.0 | 12.0 | 27.0 | 7.0 | 98.0 | 30.0 | 73.0 | 56.0 | 48.0 | 21.0 | 56.0 |
| ShieldGemma2-4B | 24.0 | 9.0 | 9.0 | 12.0 | 56.0 | 8.0 | 39.0 | 13.0 | 11.0 | 3.0 | 21.0 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Adversarial Attacks on LLMs
Adversarial attacks on large language models probe how crafted inputs, internal changes, and agent interactions bypass safety or disrupt reliable behavior.
See all 355 papers