mlsanityData to 7 Oct 2026

ThinkTrap: Denial-of-Service Attacks against Black-box LLM Services via Infinite Thinking

arXiv 2512.07086 ↗First posted 8 Dec 2025cs.CR cs.AI cs.LGcited by 22

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Large Language Models (LLMs) have become foundational components in a wide range of applications, including natural language understanding and generation, embodied intelligence, and scientific discovery. As their computational requirements continue to grow, these models are increasingly deployed as cloud-based services, allowing users to access powerful LLMs via the Internet. However, this deployment model introduces a new class of threat: denial-of-service (DoS) attacks via unbounded reasoning, where adversaries craft specially designed inputs that cause the model to enter excessively long or infinite generation loops. These attacks can exhaust backend compute resources, degrading or denying service to legitimate users. To mitigate such risks, many LLM providers adopt a closed-source, black-box setting to obscure model internals. In this paper, we propose ThinkTrap, a novel input-space optimization framework for DoS attacks against LLM services even in black-box environments. The core idea of ThinkTrap is to first map discrete tokens into a continuous embedding space, then undertake efficient black-box optimization in a low-dimensional subspace exploiting input sparsity. The goal of this optimization is to identify adversarial prompts that induce extended or non-terminating generation across several state-of-the-art LLMs, achieving DoS with minimal token overhead. We evaluate the proposed attack across multiple commercial, closed-source LLM services. Our results demonstrate that, even far under the restrictive request frequency limits commonly enforced by these platforms, typically capped at ten requests per minute (10 RPM), the attack can degrade service throughput to as low as 1% of its original capacity, and in some cases, induce complete service failure.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 27 of its 43 references that are in the map. First posted on arXiv 8 Dec 2025.

Builds on

27 of 43 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025OverThink: Slowdown Attacks on Reasoning LLMs4 Feb

Other references · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  6. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  7. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  8. 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMscited by 564
  9. 2023Language Models Represent Space and Timecited by 306
  10. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  11. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
  12. 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Modelscited by 154
14 more
  1. 2024Embodied Agent Interface: Benchmarking LLMs for Embodied Decision Makingcited by 142
  2. 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 108
  3. 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Modelscited by 95
  4. 2024Coercing LLMs to do and reveal (almost) anythingcited by 88
  5. 2023Fairness in Serving Large Language Modelscited by 77
  6. 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
  7. 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
  8. 2022PromptBoosting: Black-Box Text Classification with Ten Forward Passescited by 36
  9. 2024An Engorgio Prompt Makes Large Language Model Babble oncited by 30
  10. 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
  11. 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
  12. 2023SlowTrack: Increasing the Latency of Camera-based Perception in Autonomous Driving Using Adversarial Examplescited by 15
  13. 2024The Impact of Uniform Inputs on Activation Sparsity and Energy-Latency Attacks in Computer Visioncited by 7
  14. 2024SGDRC: Software-Defined Dynamic Resource Control for Concurrent DNN Inference on NVIDIA GPUscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 21.

22 papers.

Sort:

By area:

  1. 2026Security Considerations for Artificial Intelligence Agentscited by 7
  2. 2026ReasoningBomb: A Stealthy Denial-of-Service Attack by Inducing Pathologically Long Reasoning in Large Reasoning Modelscited by 5
  3. 2026RECUR: Resource Exhaustion Attack via Recursive-Entropy Guided Counterfactual Utilization and Reflectioncited by 4
  4. 2025RepetitionCurse: Measuring and Understanding Router Imbalance in Mixture-of-Experts LLMs under DoS Stresscited by 2
  5. 2026Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Modelcited by 2
  6. 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
  7. 2026Resource Consumption Threats in Large Language Modelscited by 2
  8. 2026Beyond Content Safety: Real-Time Monitoring for Reasoning Vulnerabilities in Large Language Modelscited by 2
  9. 2026LoopTrap: Termination Poisoning Attacks on LLM Agentscited by 1
  10. 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attackscited by 1
  11. 2026RogueMerge: Robust and Unified Attacks against LLM Model Mergingcited by 1
  12. 2026From Shield to Target: Denial-of-Service Attacks on LLM-Based Agent Guardrailscited by 1
10 more
  1. 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMscited by 0
  2. 2026Can a Single Message Paralyze the AI Infrastructure? The Rise of AbO-DDoS Attacks through Targeted Mobius Injectioncited by 0
  3. 2026Inducing Overthink: Hierarchical Genetic Algorithm-based DoS Attack on Black-Box Large Language Reasoning Modelscited by 0
  4. 2026RecurGuard: Runtime Monitoring for Reasoning-Token Consumption Attackscited by 0
  5. 2026Overthink-Triggered Slowdown Attacks on LVLM-Based Robotic Systemscited by 0
  6. 2026SMTrap: Cost-Effective DoS Attacks Against Large Reasoning Models via SMT Conflict Guidancecited by 0
  7. 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agentscited by 0
  8. 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challengescited by 0
  9. 2026Persistent Billable State: Denial-of-Wallet Attacks and Defenses in Tool-Calling LLM Agentscited by 0
  10. 2026Quantifying Behavioral Tails in Black-Box Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Rethinking On-Device LLM Reasoning: Why Analogical Mapping Outperforms Abstract Thinking for IoT DDoS Detection ↗
  2. 2026OTora: A Unified Red Teaming Framework for Reasoning-Level Denial-of-Service in LLM Agents
  3. 2026Know Thy Enemy: Securing LLMs Against Prompt Injection via Diverse Data Synthesis and Instruction-Level Chain-of-Thought Learning
  4. 2024Root Defence Strategies: Ensuring Safety of LLM at the Decoding Level
  5. 2026Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agents
  6. 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge
  7. 2025Hoist with His Own Petard: Inducing Guardrails to Facilitate Denial-of-Service Attacks on Retrieval-Augmented Generation of LLMs
  8. 2025Token-Efficient Prompt Injection Attack: Provoking Cessation in LLM Reasoning via Adaptive Token Compression