MITRE ATLAS 2026.10 · AML.T0034.002 · High severity
Cost Harvesting: Agentic Resource Consumption
Adversaries manipulate autonomous agents into entering recursive planning loops, sprawling sub-agent fan-out, or expensive multi-tool retry chains that multiply LLM tokens and downstream SaaS API charges. One injected prompt or malicious task instruction can trigger hundreds of nested inference calls and external billable actions automatically.
Technique dossier overview
- Category
- Resource abuse
- Severity
- High
- Attack surface
- Tool-Using Agents & MCP · Inference API & Hosting · LLM / Prompt Layer
- Framework maturity
- Feasible
- Platforms
- Agentic AI
- Tactics
- Impact
- Aliases
- Agent workload budgets
- Catalog entry modified
How the mechanism works
- An attacker introduces an ambiguous, recursive, or adversarially crafted goal via direct input or an indirect prompt injection inside retrieved data.
- The agent orchestrator repeatedly calls expensive tools (web browsing, code sandboxes, paid third-party APIs, deep search) or spawns nested sub-agents without converging.
- Each loop iteration compounds full conversation history tokens across the context window, multiplying inference and external service bills exponentially.
Detection & telemetry signals
- Agent trace telemetry flagging high iteration counts, cyclic identical tool calls, or rapid sub-agent spawning within a single run.
- Cumulative per-task token or dollar burn crossing configurable anomaly thresholds mid-execution.
- Downstream external APIs or MCP servers logging runaway burst calls initiated by a single autonomous task ID.
Architectural defensive countermeasures
- Enforce deterministic per-task limits outside the LLM for max loop turns, max total tokens, max wall-clock duration, max sub-agent depth, and cumulative dollar spend.
- Detect repeated cyclic tool-call patterns in the orchestrator and halt or escalate to human approval automatically on scope or cost drift.
- Propagate strict rate and spend budgets down to every external tool, browser container, and connected SaaS API invoked by the agent.
- Require explicit user approval before allowing an agent to expand task scope, spawn parallel workers, or exceed baseline cost budgets.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Agentic resource consumption combines Unbounded Consumption (LLM10) with uncontrolled multi-step autonomous iteration and Excessive Agency (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- Under NIST AI RMF GOVERN and MANAGE (MANAGE 2.2 / 4.1), bound agent loop iterations, fan-out depth, and cumulative cross-service spend deterministically.
Mapped defensive controls
- Manage AI Agent Service Access AML.M0026
Constrain autonomous agent service identities with explicit capability ACLs, policy-as-code gates, and short-lived scoped tokens outside the LLM prompt context.
- 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.
- AI Agent Authority Expansion Controls AML.M0037
Block autonomous privilege, target-set, or scope escalation—requiring explicit out-of-band authorization whenever an agent attempts to acquire new tools, hosts, or accounts.
- AI Agent Scope Drift Detection AML.M0038
Continuously audit multi-step agent trajectories and chain-of-thought plans against the original verified user intent, halting execution on goal or scope drift.
Related technique records
Documented incidents & exercises (2)
- 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…
- From Shield to Target: 148x Latency DoS Attacks on LLM Agent Guardrails OBS.EX0184 · Exercise · Jun 12, 2026 · 8 Frontier Guardrail Backbones & Real Web/Desktop/Code/Multi-Agent Deployments
Zhou et al. (2026) evaluated whether reasoning-enabled LLM guardrails deployed to stop prompt injection can themselves be weaponized as an availability bottleneck via crafted documents that force extended guardrail reasoning loops. Payloads optimized on a single open-source…
Source citation records
Common questions
- What is Cost Harvesting: Agentic Resource Consumption (AML.T0034.002)?
- Adversaries manipulate autonomous agents into entering recursive planning loops, sprawling sub-agent fan-out, or expensive multi-tool retry chains that multiply LLM tokens and downstream SaaS API charges. One injected prompt or malicious task instruction can trigger hundreds of nested inference calls and external billable actions automatically.
- How do you mitigate Cost Harvesting: Agentic Resource Consumption?
- MITRE ATLAS maps 5 mitigations to AML.T0034.002: Manage AI Agent Service Access, AI Red Team, Limit AI Workload Resource Consumption, AI Agent Authority Expansion Controls, and AI Agent Scope Drift Detection. Enforce deterministic per-task limits outside the LLM for max loop turns, max total tokens, max wall-clock duration, max sub-agent depth, and cumulative dollar spend.