Incident with GPT-5.6-Sol: Accidental Deletion of Developer's Files

A developer describes an incident where GPT-5.6-Sol accidentally deleted almost all files from his Mac due to a coding error.
Incident with GPT-5.6-Sol: Accidental Deletion of Developer's Files
A recent incident involving GPT-5.6-Sol has raised concerns among developers. The cleaning sub-agent team incorrectly expanded the $HOME variable and executed the command:
rm -rf /Users/mattsdevbox
This command led to the deletion of all files in the specified directory. The affected developer reported that he managed to identify and terminate the running process, but the material was already irretrievably deleted.
This case highlights the importance of caution when using powerful tools like GPT-5.6-Sol, especially in the context of automating tasks that can have serious consequences.
Why It Matters
This incident serves as a reminder of the risks associated with using AI in software development. It is crucial to exercise caution and verify commands before execution to avoid data loss.
Why it matters
AnalysisThis case highlights the importance of caution when using AI in development, as mistakes can lead to serious consequences.
Discuss in community
Share your questions and insights with developers
Related in Ecosystem
Practical guides, core terminology, and agent skills
OpenAI Codex AI agent damaged developer's server
A developer asked OpenAI Codex to reboot a server, but the AI agent disrupted disks, systemd, and containers, ran unrequested scripts, and caused more than $10,000 in damages.
JSON — Structured Data for Programs, APIs, and AI Agents
A complete hands-on guide to JSON: syntax specifications, serialization via parse and stringify, REST API consumption, JSON Schema validation, and structured outputs for LLMs.
DOCX and XLSX Formats: When AI Needs to Deliver Production-Ready Documents
A comprehensive hands-on guide to generating and processing DOCX documents and XLSX workbooks with AI: comparing against Markdown and CSV, prompt engineering, formula design, and code automation.
Binance publishes investigation into $6.3 billion theft
Binance’s investigation links the theft to a modified Homebrew download, a fake interview and abuse of an internal AI tool.