paper-with-me

홈 › Papers

Output Constraints as Attack Surface: Exploiting Structured Generation to Bypass LLM Safety Mechanisms

2025-03-31 · Shuoming Zhang, Jiacheng Zhao, Ruiyuan Xu, Xiaobing Feng, Huimin Cui

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 softwares like agent systems, could be achieved. However, the feature enabling 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 safety mechanisms. Unlike prior attacks focused on input prompts, CDA operates by embedding malicious intent in schema-level grammar rules (control-plane) while maintaining benign surface prompts (data-plane). We instantiate this with a proof-of-concept Chain Enum Attack, achieves 96.2% attack success rates across proprietary and open-weight LLMs on five safety benchmarks with a single query, including GPT-4o and Gemini-2.0-flash. Our findings identify a critical security blind spot in current LLM architectures and urge a paradigm shift in LLM safety to address control-plane vulnerabilities, as current mechanisms focused solely on data-plane threats leave critical systems exposed.

📄 PDF Abstract BibTeX arXiv:2503.24191

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Exploiting Prefix-Tree in Structured Output Interfaces for Enhancing Jailbreak Attacking

2025-02-19 · Yanzeng Li, Yunfan Xiong, Jialun Zhong, Jinchao Zhang 외

The rise of Large Language Models (LLMs) has led to significant applications but also introduced serious security threats, particularly from jailbreak attacks that manipulate output generation. These attacks utilize prom…

Prompt EngineeringSafety Alignment

Black-box Optimization of LLM Outputs by Asking for Directions

2025-10-19 · Jie Zhang, Meng Ding, Yang Liu, Jue Hong 외 arxiv

We present a novel approach for attacking black-box large language models (LLMs) by exploiting their ability to express confidence in natural language. Existing black-box attacks require either access to continuous model…

epsilon-Mesh Attack: A Surface-based Adversarial Point Cloud Attack for Facial Expression Recognition

2024-03-11 · Batuhan Cengiz, Mert Gulsen, Yusuf H. Sahin, Gozde Unal

Point clouds and meshes are widely used 3D data structures for many computer vision applications. While the meshes represent the surfaces of an object, point cloud represents sampled points from the surface which is also…

Adversarial AttackFacial Expression RecognitionRobust classification

ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents

2025-09-26 · Hwan Chang, Yonghyun Jun, Hwanhee Lee arxiv

The growing deployment of large language model (LLM) based agents that interact with external environments has created new attack surfaces for adversarial manipulation. One major threat is indirect prompt injection, wher…

Beyond the Prompt: Jailbreaking Function-Calling LLMs via Simulated Moderation Traces

2026-07-01 · Junlong Liu, Haobo Wang, Weiqi Luo, Xiaojun Jia arxiv

Jailbreak attacks remain a critical threat to the safe deployment of large language models (LLMs). While prior work has primarily studied attacks and defenses at the prompt level, we show that this prompt-centric paradig…