Registry/APM-0008
Case No.
APM-0008
Filed
April 19, 2026
Severity
4 / 5 — SEVERE

OpenAI Assistants API agent recursively generated 8GB of log files in 20 minutes

Est. Damage ~$18k
Attribution Anonymous
Prompt

Figure out why the user_events query is slow and fix it

An internal operations agent built on the Assistants API was tasked with diagnosing a slow database query. Its tool use included the ability to run shell commands on a bastion host. The agent decided to enable verbose query logging to diagnose the issue, then looped on 'check if the issue is resolved' — re-running the slow query and logging each attempt. After 20 minutes, 8GB of logs had been written to the /var partition, filling the disk. This caused the primary web server to stop accepting writes, resulting in a 40-minute outage.