TAM-A-ACT-016 · Agent · Act: The harm · New in TAM
Runaway Spend Loop
The agent gets stuck retrying, re-planning or spawning work, and burns through model tokens or cloud resources until someone notices.
Autonomous agents loop by design: plan, act, check, repeat. When the check never passes, a loop can run for hours. Each turn costs model tokens. If the agent also launches instances, calls paid APIs or spins up sub-agents, costs compound.
This is an insider threat because the agent holds real billing authority. A single run can spend more than a team's monthly budget. Injected content can trigger it on purpose, for example by telling the agent the task is never finished.
Telltales are repeated identical tool calls, rising tokens per minute and runs that never end.
What it looks like
- A coding agent re-runs a failing test suite 400 times overnight, each time rewriting the same file.
- A data agent launches a new GPU cluster on every retry and never tears down the old ones.
- A research agent recursively spawns sub-agents to "verify" each source.
Detections (2)
- DET-024Cloud Spend and GPU Launch AnomaliesJoin cost anomalies with launch events to find who is burning money and on what.Confidence MediumAWSAzureGCP
- DET-215Repeated Identical Tool CallsDetect agent loops by counting repeated tool calls with the same arguments within one run.Confidence HighAI Platform
Controls (2)
- CTL-048Hard Budgets and QuotasSet budgets with automatic actions and keep compute quotas low in regions and instance types you do not use.TechnicalEffort LowEffect Medium
- CTL-155Per-Run Spend CapsSet hard token, cost and time limits per agent run at the model gateway and cloud layer.TechnicalEffort LowEffect High