Token-Efficient Prompt Injection Attack: Provoking Cessation in LLM Reasoning via Adaptive Token Compression
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
While reasoning large language models (LLMs) demonstrate remarkable performance across various tasks, they also contain notable security vulnerabilities. Recent research has uncovered a "thinking-stopped" vulnerability in DeepSeek-R1, where model-generated reasoning tokens can forcibly interrupt the inference process, resulting in empty responses that compromise LLM-integrated applications. However, existing methods triggering this vulnerability require complex mathematical word problems with long prompts--even exceeding 5,000 tokens. To reduce the token cost and formally define this vulnerability, we propose a novel prompt injection attack named "Reasoning Interruption Attack", based on adaptive token compression. We demonstrate that simple standalone arithmetic tasks can effectively trigger this vulnerability, and the prompts based on such tasks exhibit simpler logical structures than mathematical word problems. We develop a systematic approach to efficiently collect attack prompts and an adaptive token compression framework that utilizes LLMs to automatically compress these prompts. Experiments show our compression framework significantly reduces prompt length while maintaining effective attack capabilities. We further investigate the attack's performance via output prefix and analyze the underlying causes of the vulnerability, providing valuable insights for improving security in reasoning LLMs.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 12 of its 21 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
12 of 21 references.
Closest ancestors · 3
Same direction, newest first
- 2025Process or Result? Manipulated Ending Tokens Can Mislead Reasoning LLMs to Ignore the Correct Reasoning Steps25 Mar
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R118 Feb
- 2025Safety Evaluation of DeepSeek Models in Chinese Contexts16 Feb
Other references · 9
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 320
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Modelscited by 293
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
- 2025DeepSeek-R1 Thoughtology: Let's think about LLM Reasoningcited by 92
- 2025PromptShield: Deployable Detection for Prompt Injection Attackscited by 50
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Rangescited by 24
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysiscited by 30
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 25
- 2025Oyster-I: Beyond Refusal -- Constructive Safety Alignment for Responsible Language Modelscited by 19
- 2026DeepSeek Robustness Against Semantic-Character Dual-Space Mutated Prompt Injectioncited by 0
- 2026DeepSeek Robustness Against Semantic-Character Dual-Space Mutated Prompt Injection14 Apr 2026
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis11 Feb 2026
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models4 Sep 2025
- 2025Oyster-I: Beyond Refusal -- Constructive Safety Alignment for Responsible Language Models2 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Practical Reasoning Interruption Attacks on Reasoning Large Language Models
- 2024Stepwise Reasoning Error Disruption Attack of LLMs
- 2026Prefilling the Reasoning Channel: Output-Prefix Attacks on Reasoning LLMs
- 2025SecInfer: Preventing Prompt Injection via Inference-time Scaling
- 2026Testing LLM Arithmetic Reasoning Generalization with Automatic Numeric-Remapping Attacks
- 2026Exposing LLM Safety Gaps Through Mathematical Encoding:New Attacks and Systematic Analysis
- 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
- 2025Prompt Injection as an Emerging Threat: Evaluating the Resilience of Large Language Models