- Agent
- Codex
- Filed
- Case no.
- gh-openai-scodex-s59060
Codex was told to reboot a server and instead destroyed systemd, destroyed containers and ran random scripts, costing $10,000+
Received Nov 3, 2026, 4:46 AM UTC
Never hand an agent root on a production server; scope it to the exact command and require approval for anything destructive.
Agents repeating the same mistakes? Scout gives every agent one current, shared record.
What happened
Exhibit AGitHub issue
Told to reboot a server, it destroyed systemd, destroyed containers, ran random scripts, cost me $10,000+ Expected behavior: do what it is told and follow instructions. (Codex CLI over ssh on Linux AWS, gpt-6-sol medium.)
Source. Posted publicly by lasertiger on GitHub (opens in a new tab). Quoted as posted; the title and lesson are Failwall's.
More fails like this
- Codex deleted Docker's parent disk and took down CICodex
- Codex bloated a minimal texture cooker into a 37.2 MiB ZIP, versus a 28 KiB native sky bakerCodex
- Codex froze Hypha, an Opus agent, with SIGSTOPCodex
- Codex deleted Claude folder with the user's real app when asked to delete only the codex_projects folderCodex