I Think, Therefore I Attack: Evaluating Thought Injection Attacks on Reasoning Agents
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
Large Reasoning Models (LRMs) are one of the key components of current agentic systems. LRMs augment their output with an explicit chain-of-thought reasoning stage, introducing a new attack surface for thought injection, in which untrusted text resembling the model's own deliberation is fed back to the model. We present a two-part study of this attack, performed against the prevailing large, production class open-weight models (e.g., GLM-5.3, MiniMax-M2.5, Qwen3.8-Flash-Next). We first evaluate the effectiveness of static thought-injection prompts under different styles as well as tagged and untagged conditions and find that the effects of thinking tags and payload styles are all properties of the specific target model. In the second study, we exploit this model-specificity in a containerized agentic cyber range, using indirect injection prompts styled in the form of the target model's own reasoning traces to achieve attack success rates (ASR) up to 50% on operational objectives such as reverse-shell exfiltration and repository backdooring. We also find that the same malicious objective in standard prompt injection user voice never succeeds, and thinking tags suppress the agent's tendency to disclose the injection. Our results show that imitating a reasoning model's own thought style is effective for this style of attack, and that tag stripping is an unreliable defense.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 12 of its 14 references that are in the map. Submitted 6 Nov 2026.
Builds on
12 of 14 references.
Closest ancestors · 1
Same direction, newest first
Other references · 11
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2025GLM-4.5V and GLM-4.1V-Thinking: Towards Versatile Multimodal Reasoning with Scalable Reinforcement Learningcited by 554
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 415
- 2025ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agentscited by 42
- 2026Prompt Injection as Role Confusioncited by 26
- 2024Breaking ReAct Agents: Foot-in-the-Door Attack Will Get You Incited by 24
- 2026Explaining Too Much? Understanding How Large Language Model Reasoning Traces Influence Performance and Metacognitioncited by 2
- 2026Reasoning Traces Shape Outputs but Models Won't Say Socited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Reasoning Introduces New Poisoning Attacks Yet Makes Them More Complicated
- 2026Thought-Transfer: Indirect Targeted Poisoning Attacks on Chain-of-Thought Reasoning Models
- 2025To Think or Not to Think: Exploring the Unthinking Vulnerability in Large Reasoning Models
- 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Models
- 2025Reasoning-Style Poisoning of LLM Agents via Stealthy Style Transfer: Process-Level Attacks and Runtime Monitoring in RSV Space
- 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinking
- 2025BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language Models