OpenAI Codex PSA on Malicious Config Files
When users run Codex in a directory for the first time, they are forced to acknowledge a dialog or quit Codex. The dialog is misleading because it warns of prompt injection, but actually serves to gate ‘workspace trust’. When users choose ‘Yes, continue’, the project's configuration files are loaded. Loading a malicious configuration file can trigger immediate arbitrary code execution.
promptarmor.com