Mac OS could not open codex because it's malware
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.513.31313 (2867)
What subscription do you have?
Business
What platform is your computer?
macOS
What issue are you seeing?
Mac OS suddenly warned me while I was in the middle of a codex session that it couldn't execute the codex app because it was malware. After that I hit ok and the app keeps working but suddenly all my conversations in the last 1 to 2 months got deleted. I had a lot of important conversations in there that where work related and now are gone. This is unacceptable for a company as big as open ai. This came after the latest update I did to codex. I have already restarted the app as well as my computer. If this doesn't get solved I will file a formal complaint and possibly cancel the subscription both for me and my company employees. Truly unacceptable.
What steps can reproduce the bug?
Updating the app maybe but I can't find a way to explain how it could be reproduced.
What is the expected behavior?
Deletion of 2 or 3 months of your chats!
Additional information
_No response_
19 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
checked and it's not a duplicate but a mix of 2 issues, that could help to know where the issue is coming from.
I just got the same message after updating Codex.app (the desktop GUI app).
<img width="687" height="646" alt="Image" src="https://github.com/user-attachments/assets/84a5eb54-dff0-44ec-b0c7-842cd67246ae" />
I got this message when I opened Cursor, Codex is already open in the background
got the same issue, anyone found a solution?
I got the same message when opening Kiro IDE. Codex was already open in the background
<img width="453" height="378" alt="Image" src="https://github.com/user-attachments/assets/318adec1-d294-4a65-bafa-f3a265eca73c" />
I'm seeing the same issue today as well, anyone know a fix for it?
“codex” was not opened because it contains malware. This action did not harm your Mac.
<img width="375" height="308" alt="Image" src="https://github.com/user-attachments/assets/7f11f8ae-a44b-4406-a1ea-a47ee863ef32" />
I see the same issue today, I'm on macOS Sonoma 14.6.1 (23G93)
UPD: reinstalling both the Codex CLI and desktop app seems to resolve the issue.
<img width="1228" height="461" alt="Image" src="https://github.com/user-attachments/assets/59f126d0-7765-40ff-842a-c59ae8af4828" />
I had the same issue. For some reason, what worked for me is to do
npm install -g @openai/codexagain, and this time it worked when I rancodexfrom the command line.<img width="251" height="241" alt="Image" src="https://github.com/user-attachments/assets/dbb9be41-babd-4c34-b583-7e0824759e1e" />
Faced same issue; re installed from the codex website; fixed the issue for me.
Try installing it again from open ai, It worked for me
For me, it got resolved just by closing and starting. I did update the app afterwards.
This was the simplest fix
In my case, I directly installed
Codex.dmgfrom OpenAI, and when I tried using it at the command line, I started facing this issue.Then, following this solution, my issue was fixed.
I also ended up reinstalling the Codex CLI when this happened to me, but it seems as though something is wrong with the package signature making Gatekeeper unhappy. Fixing the package signature shouldn't be out of reach of one of the most valuable companies in the world running one of the most capable software development models one might hope.
I had the same issue mentioned above
apple modal window with message:
"codex" will damage your computer. you should move it to the bin"I tried reinstalling with openai suggested method on mac:
it somehow detected that the codex installation was managed by brew (how? why?) and offered a reinstall, but after that it would still be blocked and sent a SIGKILL by the OS for good measure
I followed the recommendation above here and run
this fixed the issue
same for me
<img width="541" height="520" alt="Image" src="https://github.com/user-attachments/assets/edc3e572-0dd2-4011-a30e-fbeaed7169b0" />
Just got this while trying to run codex in tmux, desktop app is still open.
Reinstalled codex and it worked: