MITRE ATLAS 2026.10 · AML.T0034.001 · Elevated severity
Cost Harvesting: Resource-Intensive Queries
Attackers submit specially crafted resource-intensive inputs—such as sponge examples, massive context padding, complex multimodal attachments, or degenerate reasoning triggers—to maximize latency, GPU FLOPs, and energy cost per single request. A tiny number of high-work requests can stall GPU queues or spike token spend dramatically even under strict RPS rate limits.
Technique dossier overview
- Category
- Resource abuse
- Severity
- Elevated
- Attack surface
- Inference API & Hosting · LLM / Prompt Layer · Multimodal Inputs
- Framework maturity
- Feasible
- Platforms
- Predictive AI, Generative AI, Agentic AI
- Tactics
- Impact
- Catalog entry modified
How the mechanism works
- Adversaries craft inputs that trigger worst-case tokenization expansion, huge KV-cache allocations, or maximal internal chain-of-thought token generation.
- In vision/multimodal or RAG pipelines, oversized high-resolution images, multi-page PDFs, or top-k retrieval storms multiply preprocessing and decoding latency.
- Because each request technically counts as a single API call, naive requests-per-minute limits fail to contain compute exhaustion.
Detection & telemetry signals
- Token-accounting metrics showing abnormally high output-to-input ratios, long generation durations, or excessive internal reasoning tokens per call.
- Individual requests hitting max-context or max-generation timeout ceilings repeatedly from specific sessions.
- GPU utilization and KV-cache occupancy spiking sharply despite low raw HTTP request rates.
Architectural defensive countermeasures
- Meter and rate-limit strictly by total weighted tokens (input + thinking + output) and GPU compute seconds rather than HTTP request count alone.
- Impose hard per-request caps on context length, max output tokens, reasoning-effort budgets, attachment dimensions, and PDF page counts.
- Apply adaptive timeout cutoffs and pre-inference complexity validation at the API boundary to reject malformed or degenerate sponge inputs.
- Red-team endpoints explicitly with worst-case context/reasoning payloads to verify latency isolation across co-scheduled tenants.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Resource-intensive sponge and max-token payloads cause acute Unbounded Consumption (LLM10) by maximizing per-query compute and latency.
- NIST AI RMF functions
- NIST AI RMF guidance
- Apply NIST AI RMF MEASURE and MANAGE (MANAGE 4.1) by enforcing token/duration budgets across model and multimodal preprocessing boundaries.
Mapped defensive controls
- Limit AI Service Query Volume and Rate AML.M0004
Enforce per-tenant RPM/TPM quotas, concurrency caps, and behavioral burst throttling to blunt automated extraction, probing, and denial-of-wallet amplification.
- Input and Output Validation for AI Agent Components AML.M0033
Validate structured JSON schemas, types, bounds, and safety policies at every handoff between users, retrievers, LLMs, and downstream tools/renderers.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
- Limit AI Workload Resource Consumption AML.M0036
Enforce hard ceilings on context length, reasoning/output tokens, max agent loop steps, tool call concurrency, wall-clock timeouts, and dollar spend per task.
- Adaptive AI Response Degradation AML.M0040
Progressively throttle, coarsen, or step-up challenge suspicious clients exhibiting extraction, inversion, or adversarial probing patterns without letting attackers trigger false DoS on legitimate users.
Related technique records
Documented incidents & exercises (7)
- Kubeflow Central Dashboard ReDoS Triggering Control-Plane Denial of Service INC-2024-5552 · Incident · Jun 6, 2024 · High · Cloud & AI Infrastructure
CVE-2024-5552 (CVSS 7.5, published June 6, 2024) identified a Regular Expression Denial of Service (ReDoS) vulnerability in Kubeflow's `centraldashboard-angular` email validation routine. Sending crafted input strings triggered catastrophic regex backtracking inside the…
- Ultralytics YOLOv8 PyPI Supply Chain Compromise Deploying XMRig Cryptominer INC-OBS-007 · Incident · Dec 4, 2024 · Critical · Software Development & AI Tooling
Between December 4 and December 7, 2024, attackers compromised the widely used `ultralytics` YOLOv8 computer-vision package on PyPI, publishing trojanized releases `8.3.41`, `8.3.42`, `8.3.45`, and `8.3.46`. Root-cause analysis by Wiz and Ultralytics traced the intrusion to a…
- Internet-Exposed ComfyUI Servers Hijacked Into Cryptomining and Hysteria Proxy Botnet INC-OBS-019 · Incident · Apr 6, 2026 · High · Cloud & AI Infrastructure
In early April 2026, Censys ARC documented an active, automated exploitation campaign targeting over 1,000 internet-exposed, unauthenticated ComfyUI GPU servers worldwide. Threat actors scanned for publicly reachable ComfyUI and ComfyUI-Manager endpoints (chaining flaws such as…
- Sponge Examples Energy-Latency Denial-of-Service Attacks on ML Hardware OBS.EX0180 · Exercise · Jun 5, 2020 · Vision & NLP Models on CPUs, GPUs & ASIC Simulators · Worst-Case Compute Exhaustion
Shumailov et al. (2020/IEEE EuroS&P 2021) introduced sponge examples, crafted inputs that maximize neural activation density and token-processing length to inflate inference latency and energy consumption across CPUs, GPUs, and ASIC accelerators. Empirical evaluations across…
- OverThink Decoy Reasoning Token-Amplification DoS on Reasoning LLMs OBS.EX0181 · Exercise · Feb 4, 2025 · Proprietary & Open Reasoning LLMs · FreshQA, SQuAD, MuSR, Multimodal & Coding Agents
Kumar et al. (2025) evaluated OverThink, injecting benign-looking decoy reasoning puzzles into retrieved web pages, images, README files, and agent skills to inflate hidden chain-of-thought token consumption while preserving accurate final answers. Evaluated across proprietary…
- ReasoningBomb RL-Guided Stealthy PI-DoS Achieving 286.7x Amplification OBS.EX0182 · Exercise · Jan 29, 2026 · 7 Open-Source LLMs/LRMs & 3 Commercial LRMs · Prompt-Induced DoS Benchmark
Liu et al. (2026) formalized prompt-induced inference-time denial of service (PI-DoS) and evaluated ReasoningBomb, an RL-trained attacker generating short natural-language prompts that trap large reasoning models in pathologically long reasoning loops. Across seven open-source…
- BadThink Triggered Overthinking Backdoors in Chain-of-Thought LLMs OBS.EX0183 · Exercise · Nov 13, 2025 · CoT-Enabled State-of-the-Art LLMs · MATH-500 Poisoned Fine-Tuning Evaluation
Liu et al. (2025) evaluated BadThink, a poisoned fine-tuning backdoor that inflates chain-of-thought reasoning traces whenever trigger prompts appear while keeping final answers accurate so conventional correctness benchmarks overlook the compromise. On MATH-500 across multiple…
Source citation records
- MITRE ATLAS: Resource-Intensive Queries · MITRE ·
- OWASP Top 10 for LLM Applications 2025 · Cited by MITRE ATLAS; publisher not independently verified
- Sponge Examples: Energy-Latency Attacks on Neural Networks · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Cost Harvesting: Resource-Intensive Queries (AML.T0034.001)?
- Attackers submit specially crafted resource-intensive inputs—such as sponge examples, massive context padding, complex multimodal attachments, or degenerate reasoning triggers—to maximize latency, GPU FLOPs, and energy cost per single request. A tiny number of high-work requests can stall GPU queues or spike token spend dramatically even under strict RPS rate limits.
- How do you mitigate Cost Harvesting: Resource-Intensive Queries?
- MITRE ATLAS maps 5 mitigations to AML.T0034.001: Limit AI Service Query Volume and Rate, Input and Output Validation for AI Agent Components, AI Red Team, Limit AI Workload Resource Consumption, and Adaptive AI Response Degradation. Meter and rate-limit strictly by total weighted tokens (input + thinking + output) and GPU compute seconds rather than HTTP request count alone.