Beyond Prompts: Space-Time Decoupling Control-Plane Jailbreaks in LLM Structured Output
Shuoming Zhang, Jiacheng Zhao, Hanyuan Dong, Ruiyuan Xu, Zhicheng Li, Yangyu Zhang, Shuaijiang Li, Yuan Wen, Chunwei Xia, Zheng Wang, Xiaobing Feng, Huimin Cui
TL;DR
The paper identifies a critical control-plane vulnerability in LLM structured-output systems by showing that grammar constraints can be weaponized to bypass safety protections through Constrained Decoding Attacks (CDA). It introduces two concrete attacks, EnumAttack and DictAttack, and demonstrates their effectiveness across 13 models and five benchmarks, with DictAttack maintaining high jailbreak success even under layered guardrails. The work reveals a semantic gap in current defenses, highlighting the need for cross-plane auditing that analyzes both data-plane prompts and control-plane grammars, including cross-turn context. These findings have practical implications for deploying LLM-powered tooling and agents, urging the development of integrated security mechanisms that secure the entire generation pipeline rather than just the prompt or output boundaries.
Abstract
Content Warning: This paper may contain unsafe or harmful content generated by LLMs that may be offensive to readers. Large Language Models (LLMs) are extensively used as tooling platforms through structured output APIs to ensure syntax compliance so that robust integration with existing software, like agent systems, can be achieved. However, the feature enabling the functionality of grammar-guided structured output presents significant security vulnerabilities. In this work, we reveal a critical control-plane attack surface orthogonal to traditional data-plane vulnerabilities. We introduce Constrained Decoding Attack (CDA), a novel jailbreak class that weaponizes structured output constraints to bypass both external auditing and internal safety alignment. Unlike prior attacks focused on input prompt designs, CDA operates by embedding malicious intent in schema-level grammar rules (control-plane) while maintaining benign surface prompts (data-plane). We instantiate this with two proof-of-concept attacks: EnumAttack, which embeds malicious content in enum fields; and the more evasive DictAttack, which decouples the malicious payload across a benign prompt and a dictionary-based grammar. Our evaluation spans a broad spectrum of 13 proprietary/open-weight models. In particular, DictAttack achieves 94.3--99.5% ASR across five benchmarks on gpt-5, gemini-2.5-pro, deepseek-r1, and gpt-oss-120b. Furthermore, we demonstrate the significant challenge in defending against these threats: while basic grammar auditing mitigates EnumAttack, the more sophisticated DictAttack maintains a 75.8% ASR even against multiple state-of-the-art jailbreak guardrails. This exposes a critical "semantic gap" in current safety architectures and underscores the urgent need for cross-plane defenses that can bridge the data and control planes to secure the LLM generation pipeline.
