Accounting agent loops on a null value and runs up about $50,000 in cloud charges
An agent built to reconcile accounting ledger anomalies hit a corrupted null value, looped on its own reasoning, and made over 15,000 costly API calls in under an hour.
Case study 6 in Mandiant's September 2026 AI risk and resilience report. The victim is described only as a global enterprise financial services provider. The agent had direct read and write access to internal billing databases. A null value broke its formatting tool, and it then tried to brute force a fix in a recursive reasoning loop. Mandiant reports about $50,000 in cloud charges and database locking that halted active business transactions. No attacker was involved. The report gives no date, no model, and no account of who noticed or how the loop was stopped.
- Unknown
- Not disclosed
- Not disclosed
- Not disclosed
What happened
A null value breaks the agent's formatting tool and it starts a recursive reasoning loop
The agent had been set to reconcile accounting ledger anomalies, with read and write access to internal billing databases. It tried to brute force a fix.
Over 15,000 costly API calls in under an hour, about $50,000 in cloud charges
Severe database locking halted active business transactions. Mandiant gives no timing beyond 'in under an hour'.
Mandiant publishes the case in its AI risk and resilience report
The victim is not named. Help Net Security reports it the same day.
Agent failures
Resource abuse, Destructive action
Resource abuse
Destructive action
How it was found
Found first by not disclosed, from not disclosed
- Not disclosed
- Not disclosed
- Not disclosed
Not disclosed. Mandiant describes a sudden billing spike and locked databases but does not say who saw them, what alert fired, or how the agent was halted. Its advice is to add cost caps, circuit breakers and recursion limits, which suggests none was in place.
What is publicly known
1 of 12 fully public
| Item | Public? | Detail | Sources |
|---|---|---|---|
| Unknown | The report does not name the model or vendor behind the reasoning API calls. | ||
| Weak | Described as a recursive reasoning loop making high-cost reasoning calls; no setting is stated. | ||
| Partial | By implication there was no cost cap, circuit breaker or recursion limit; Mandiant recommends them but does not list what was configured. | ||
| Unknown | Not stated in the public case study. | ||
| Partial | Reconcile accounting ledger anomalies; no prompt text. | ||
| Partial | Direct read and write access to internal billing databases and a formatting tool; no framework named. | ||
| Unknown | Not stated in the public case study. | ||
| Unknown | No transcripts or call logs published. | ||
| Unknown | Not stated who saw the spike or what alerted. | ||
| Partial | About $50,000 in cloud charges and database locking that halted active business transactions. Victim anonymised; no customer or data impact stated. | ||
| Known | Mandiant's account: a corrupted null value broke the formatting tool and the agent had no limits on recursion, spend or retries. | ||
| Weak | Mandiant lists recommended controls. It does not say what the victim changed. |
Controls that apply
Protect
Detect
Respond
- All controls →