| Mobile Web

OpenAI Codex flaw could steal GitHub auth tokens via command injection

A report said a command injection vulnerability was found in OpenAI’s coding agent Codex, potentially allowing GitHub authentication tokens to be stolen. Phantom Labs, part of BeyondTrust, said the flaw stemmed from how Codex handled branch names when creating a work environment. By manipulating branch parameters during task creation, attackers could inject commands into setup shell commands and run code inside the container, exposing OAuth tokens through task output or external network requests.