Skip to content
WeChat · Mo'anju·Indexed by this site · Originally published· Attacks →SelectedAttention40

Reasoning injection and output prefix attacks on large models

AI summary

Researchers Lukáš Brůna, Robert Bridges and Adam Ek published a paper in September 2026 using a 3×2 factorial experiment to study output prefix attacks on reasoning LLMs. Testing with 100 AdvBench malicious requests each on Gemini 3 Flash Preview, DeepSeek V4 Flash and Claude Haiku 4.5, injecting malicious reasoning alone barely raised the attack success rate (1%, 0%, 0% respectively); combined with a fixed output prefix, Gemini 3 Flash reached 99% and DeepSeek V4 Flash reached 65%, while Claude Haiku 4.5 stayed at no more than 1% under all conditions. The authors explain that after reasoning ends the model can still choose to refuse, whereas an unfinished compliant prefix more strongly constrains subsequent generation, but they did not directly measure internal token probabilities. On this basis the article recommends that enterprises restrict Assistant Prefill and reasoning field writes for untrusted callers.

Why it was selected

Six controlled experiments measure the effects of malicious reasoning injection and output prefixes separately, offering enterprises a reusable approach for auditing prefix and reasoning field permissions at model gateways.

Read originalmp.weixin.qq.com