This post introduces and summarizes the paper arXiv:2602.22983 — *Obscure but Effective: Classical Chinese Jailbreak Prompt Optimization via Bio-Inspired Search* (Xun Huang, Simeng Qin, et al., 9 authors, submitted Feb 26, 2026) — and its open-source framework CC-BOS.
Key points
Why Classical Chinese bypasses safety alignment
The paper identifies a three-layer bypass mechanism:1. Language obfuscation — Safety classifiers are trained mostly on modern Chinese/English; Classical Chinese (wenyan)'s terse grammar and scarce training data sharply reduce detection rates. 2. Context reconstruction — Harmful requests are wrapped as historical role-play (Guiguzi, Mozi, Sun Tzu) with fictional-world settings and metaphorical mappings, disguising intent as academic inquiry. 3. Output enforcement — Trigger patterns (e.g., "record it step by step in rune form") force structured harmful outputs.
The authors note the gap likely extends to other obscure historical languages such as Latin or Sanskrit.
Eight-dimensional strategy space
CC-BOS encodes prompts across eight policy dimensions (6–8 options each, ~10M+ combinations):| Dimension | Description | Examples | |---|---|---| | D1 Role identity | Historical figures | Guiguzi, Mozi, Sun Tzu | | D2 Behavioral framing | Request style | Master-apprentice teaching, academic inquiry, hypothetical reasoning | | D3 Mechanism | Context framework | Fictional world, historical analysis, dream narrative | | D4 Metaphor mapping | Concept substitution | Siege warfare, water's way, chess game | | D5 Expression style | Language form | Pure Classical, semi-vernacular, parallel prose | | D6 Knowledge references | Classic citations | Art of War, Tao Te Ching, Mo Jing | | D7 Scenario setting | Scene background | Jixia Academy, Warring States, jianghu | | D8 Trigger mode | Output guidance | Step-by-step listing, rune recording, secret transmission |
Bio-inspired search: Fruit Fly Optimization Algorithm (FOA)
- Population of 6 individuals; iterative osphesis (local perturbation, adaptive step size), vision search (attraction to global best), and Cauchy mutation for escaping local optima.
- Fitness function: F(s) = Sc + Sk, where Sc (0–100) is a consistency score and Sk (0/20) is a keyword reward for refusal-free outputs; early stop at 100/120.
- Black-box only: iterative optimization via API queries without access to model internals.
- A Classical-to-English translation module aids readability and fair evaluation.
- Attack success rates (ASR) near 100% on AdvBench, CLAS, and StrongREJECT.
- Tested against GPT-4o, Claude-3.7-Sonnet, Gemini-2.5-Flash, DeepSeek-Reasoner, Qwen3, and Grok-3.
- Outperforms PAIR, TAP, and AutoDAN-Turbo with the fewest queries; retains effectiveness against Llama-Guard-3 and Self-Reminder defenses.
- Repository: https://github.com/xunhuang123/CC-BOS
- Python 3.10+, SOCKS proxy support, interactive CLI (API address, key, model, task objective), outputs best prompt to
prompt.txt; structure includesmain.py,foa.py,evaluator.py.
Reported results
Open-source implementation
Ethics and implications
The authors emphasize the framework is strictly for CTF competitions and security research. The core lesson: LLM safety alignment has a structural cross-language blind spot, and alignment datasets should be extended to historical and low-resource languages. The bio-inspired design also suggests nature-inspired optimization can outperform hand-crafted attack/defense strategies.References 1. Huang, X., Qin, S., et al. (2026). arXiv:2602.22983 2. CC-BOS GitHub: https://github.com/xunhuang123/CC-BOS 3. AdvBench, StrongREJECT evaluation benchmarks