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

Inspect OBS.EX0035 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records