Documented Exercise · OBS.EX0035
EquaCode Combined Equation & Code-Completion Jailbreak Study
Liang et al. (2025) evaluated EquaCode, a single-query cross-domain jailbreak strategy that translates restricted intent into mathematical equation-solving and code-completion tasks to divert model attention away from safety checks. Experimental evaluation achieved a 91.19% average attack success rate across GPT-series models and 98.65% across three state-of-the-art LLMs in a single turn, with ablations confirming the combined math-and-code framing outperformed either module alone. The findings underscore how combining benign reasoning modalities reliably slips past safety heuristics calibrated on natural-language refusals. Guardrails should inspect decoded computational goals and code-generation outputs with execution-aware classifiers.
Exercise dossier metadata
- Case ID
OBS.EX0035- Classification
- Exercise
- Date
- Evaluation scope
- GPT Series & Frontier LLMs · Cross-Domain Mathematical & Code Reformulation
- Reference URI
https://arxiv.org/abs/2512.23173
Mapped AI security techniques
- LLM Jailbreak AML.T0054
- LLM Prompt Obfuscation AML.T0068
- LLM Jailbreak: CodeChameleon (published research family) ATO.T6236E94A
Mapped defensive controls
- Generative AI Guardrails AML.M0020
- Input and Output Validation for AI Agent Components AML.M0033
Source citation records
- EquaCode: A Multi-Strategy Jailbreak Approach for Large Language Models via Equation Solving and Code Completion · arXiv (author preprint; peer-review status not inferred) ·