issue: Codex deleted my entire dev drive
Resolved 💬 2 comments Opened Feb 23, 2026 by bestlux Closed Feb 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
I had it explain what happened but basically I asked it to delete a few dirs in my current workspace and it complied but 'accidentally' used recursive deletion instead of explicit file targets and deleted the ENTIRE drive (windows) not even to recycle bin but just gone. I'm not even mad im impressed.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Yes, this can happen if you run Codex without a sandbox enabled and "yolo" mode. We do not recommend that combination.