Potential macOS Security / File Visibility Issue after Codex Update
What version of the Codex App are you using (From “About Codex” dialog)?
Codex CLI v0.141.0
What subscription do you have?
ChatGPT Max
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
After updating to Codex CLI v0.141.0 on macOS (Apple Silicon), I experienced a sequence of events that caused significant concern regarding file safety and system behavior.
Timeline:
- On startup, macOS displayed a warning indicating that Codex contained malicious software and had been blocked/removed.
- After reinstalling Codex, the application started again.
- During the session, macOS repeatedly requested new permissions for Terminal, including access to data from other applications and media libraries.
- Several project folders on my Desktop appeared to have lost their contents when viewed through Finder.
- Opening the same projects in VS Code showed that the source code was still present.
- Terminal also confirmed that the files and directories still existed.
- Multiple Markdown files appeared inside projects, including files such as:
- ADAPTACION_appTestCormo.md
- DOCUMENTACION_ACTUALIZADA.md
- MAPA_DOCUMENTACION.md
- Finder behavior became confusing because opening some project folders appeared to display only these Markdown files, creating the impression that project contents had been removed.
Current status:
- No actual source code loss has been confirmed.
- Projects remain accessible from VS Code and Terminal.
- Git repositories are still present.
- However, the combination of:
- macOS malware warning,
- repeated Terminal permission requests,
- automatic Codex updates,
- and unusual Finder/project visibility behavior
created a serious concern about filesystem safety.
Request:
Please investigate whether Codex CLI v0.141.0 may be interacting with macOS security mechanisms (Gatekeeper/XProtect), requesting broader filesystem permissions than expected, or generating project documentation in a way that can create confusion regarding project contents and visibility.
I can provide screenshots and additional logs if required.
What steps can reproduce the bug?
- macOS Apple Silicon.
- Install and run Codex CLI v0.141.0.
- Open an existing project directory containing source code.
- Start a normal Codex session.
- During startup, macOS may display a security warning indicating that Codex contains malicious software and has been blocked/removed.
- Reinstall Codex and restart the session.
- During subsequent use, macOS repeatedly requests additional permissions for Terminal (access to data from other applications, media libraries, files, etc.).
- After the session, inspect project folders from Finder.
Observed results:
- Finder may appear to show only generated Markdown documentation files.
- Project contents may appear missing or replaced.
- The same projects remain accessible from VS Code and Terminal.
- Git repositories and source code still exist.
- The behavior creates the impression of file loss or filesystem modification.
Additional observation:
- Codex CLI repeatedly auto-updated from v0.140.0 back to v0.141.0.
What is the expected behavior?
Expected behavior:
- Codex should not trigger macOS malware warnings.
- Codex should clearly explain why Terminal permissions are required.
- Codex should not create confusion regarding project contents or visibility.
- Finder, VS Code, and Terminal should present a consistent view of project files.
- Documentation files generated by Codex should not give the impression that source code has been removed or replaced.
- Users should be confident that project files are not being deleted, hidden, or modified unexpectedly.
Additional information
<img width="296" height="226" alt="Image" src="https://github.com/user-attachments/assets/4ed89efb-8f3e-456d-b255-214903e9617d" />
<img width="289" height="227" alt="Image" src="https://github.com/user-attachments/assets/35cce023-edb7-4ff8-bea9-cc0e0c1464a9" />
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I don't think this is a duplicate.
Today, immediately after launching Codex Desktop on macOS, I received a macOS security warning and started experiencing abnormal system behavior:
syspolicyd and related security services appeared to consume excessive resources.
The system displayed permission/security related alerts.
Some project files and folders unexpectedly disappeared from Finder and later had to be recovered from the Trash.
The issue started right after opening Codex Desktop; the system had been working normally before that.
I understand there are existing reports regarding high CPU usage and syspolicyd loops, but my report also involves unexpected file-system side effects and security prompts. For that reason, I believe this may be a different issue or a more severe manifestation of the same underlying problem.
I can provide logs, macOS version, Codex version, and additional diagnostics if needed.
The most concerning symptom is that project directories appeared to vanish shortly after launching Codex. Although I was able to recover them, this behavior goes beyond the CPU/syspolicyd issues described in the linked reports.
Same warning on my end, and MacOs uninstalled the CLI. I'm still able to use the desktop app.
<img width="740" height="620" alt="Image" src="https://github.com/user-attachments/assets/6d51b43c-cef2-44e1-abd7-ec8dcb8c24d3" />
<img width="1133" height="189" alt="Image" src="https://github.com/user-attachments/assets/82fa26d4-f57f-435f-a267-d1b36b25d988" />
This is ridiculous; this happened just after opening codex, before I even started using it.