Hello,
I would like to report a serious issue that occurred while using Codex App on Windows, which resulted in mass deletion of files on my computer and the loss of a large amount of data. I believe it is important to describe this situation in detail so that the development team can investigate the problem and help prevent similar incidents for other users.
I use Codex for developing my project and work with it both through IDE integrations and through the standalone Codex App.
Yesterday I worked using the GPT-5.3 Codex Extra High model. Everything worked normally and there were no unexpected or destructive actions performed by the agent.
Today I continued working on the same project, but this time using GPT-5.4 through Codex App for Windows.
I would like to emphasize that based on my observations the problem appears to be related not to the model itself, but specifically to the Codex App for Windows, since similar workflows using Codex integrations inside IDEs (for example Cursor) have never resulted in such destructive behavior.
My project was located in a local directory on my computer. When launching Codex App, I added the specific project folder, expecting that the agent would operate strictly within that directory. This is the standard and expected security model for development tools.
I enabled Full Access mode so that the agent could freely read and modify files inside the project and perform necessary development operations.
During the session, the agent performed various operations on project files. However, at some point a critical error occurred: the agent began executing deletion commands that extended far beyond the project directory.
As a result, the following were deleted:
- almost all of my user files
- installed programs
- games
- working projects
- a large portion of user directories
In total, approximately 370+ GB of data were removed.
The deletion did not occur only within the project directory, but across multiple areas of the user file system. In practice, most of my main user folders were affected.
After I noticed the problem, I immediately stopped using the computer and began searching for ways to recover the lost data.
In order to attempt recovery, I had to:
- spend time diagnosing the issue
- search for data recovery tools
- travel to a store and purchase an external SSD drive
- install recovery software
- start a long and resource-intensive data recovery process
I spent approximately 80 euros on the external SSD alone, not including the significant amount of time and stress involved in attempting to recover the lost data.
At the moment, I am running a data recovery process. The recovery software has already detected millions of deleted files, and the recovery has only just begun. According to the current estimate shown by the software, the full recovery process may take approximately 18 days of continuous operation.
This means that in addition to financial losses, I am also facing major time losses, since my computer must remain occupied with this long recovery process and I must continuously monitor and manage it.
I would also like to highlight an important point.
I regularly use Codex as an extension inside IDEs, such as Cursor and similar editors. In those environments I sometimes also enable full access, however I have never experienced any file deletion issues there.
The problem occurred specifically when using Codex App for Windows.
This creates the impression that Codex App on Windows may have a serious issue related to:
- working directory restriction enforcement
- shell command execution control
- file system safety mechanisms
Essentially, the agent was able to leave the project directory and execute destructive operations across the broader user file system.
From a security standpoint this appears to be a critical issue, because users reasonably expect a development tool to operate strictly within the specified project directory, rather than being able to affect other parts of the system.
I understand that AI agents may execute commands, but in this case the behavior appears to indicate a failure in directory restriction or sandbox control mechanisms.
I would like to ask the OpenAI team to:
- Investigate this scenario involving Codex App on Windows.
- Verify that the agent is properly restricted to the project directory.
- Consider implementing stronger safety mechanisms (such as sandboxing or strict path restrictions).
- Warn users about potential risks when using Full Access mode.
Additionally, I would like to point out that this situation caused real financial and time losses. I had to purchase additional hardware and spend a significant amount of time attempting to recover my data. Because of this, I would like to request that the possibility of compensation for the expenses and time losses caused by this issue be considered.
I believe it is important to investigate this case carefully, as such behavior could potentially lead to severe data loss for other users.
Thank you for your attention to this report.
