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.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #12277
  • #12045

Powered by Codex Action

etraut-openai contributor · 6 months ago

Yes, this can happen if you run Codex without a sandbox enabled and "yolo" mode. We do not recommend that combination.