I Think, Therefore I Attack: Evaluating Thought Injection Attacks on Reasoning Agents
Parth Illendula, Garik Livingston, Zain Shamsi, Ravi Srinivasan, Alex Liu
Key points
From the paper's conclusion- 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.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent SystemsarXiv · 2026
- The Window Is in the Reasoning: When LLM Agents Decide to Follow Prompt InjectionsarXiv · 2026
- BrainwashedLLM: Jailbreaking via Automated Adversarial Chain of Thoughts DiscoveryarXiv · 2026
- Large reasoning models are autonomous jailbreak agentsNature Communications · 2026
- Securing LLM-based agents against cyberattacks: a comprehensive survey on attack techniques and defense strategiesJournal of Computer Virology and Hacking Techniques · 2026
- The Devil is in the Context: Nine Dimensions of Prompt Injection AttacksarXiv · 2026