Prefilling the Reasoning Channel: Output-Prefix Attacks on Reasoning LLMs
TL;DR - This paper systematically studies output-prefix attacks targeting reasoning LLMs’ scratchpad channels. Malicious reasoning alone was ineffective, but pairing it with a trivial output prefix produced attack success rates as high as 99% on some models.
- Evaluates Gemini 3 Flash Preview, DeepSeek V4 Flash, and Claude Haiku 4.5 across 1,800 AdvBench test cases.
- Compares reasoning-only, output-prefix-only, and combined attacks on exposed- and hidden-reasoning models.
- Reasoning injection alone achieved approximately 0% attack success, while combined reasoning and output-prefix injection could reliably jailbreak some models.
- Contextual prefixes outperformed static prefixes, and vulnerability varied by model.