External Publication
Visit Post

Critical Data Loss Issue in Codex App for Windows – Agent Executed File Deletion Outside Project Directory

OpenAI Developer Community April 22, 2026
Source

I just subscribed to Pro and used it to move the project folder. After that command, I found that the other files in my X:\Nekolyst Projects folder were deleted. Thank you, Codex. What a great sanbox!

cmd /c "rd /s /q "X:\Nekolyst Projects\VS Code Extensions\dialogue-metadata-editor""; if (Test-Path 'dialogue-metadata-editor') { 'failed:dialogue-metadata-editor' } else { 'deleted:dialogue-metadata-editor' }

Discussion in the ATmosphere

Loading comments...