Research team says GitHub Actions chain can be used to plant a backdoor workflow in Codex
Backdooring the next release of Codex through Github Action Pipeline exploit chaining - CrowdStream - Bugcrowd
Depi's Research Team disclosed through Bugcrowd a full CI/CD attack chain against openai/codex; the vulnerability was accepted and fixed by OpenAI. The attack begins with prompt injection in the issue-labeler.yml workflow: any user embedding attacker-controlled instructions in a GitHub issue can achieve command execution inside the Codex agent sandbox; it then uses the .NET CLR debugging pipe exposed in /tmp/ to escape the workspace-write sandbox, read the runner process memory and obtain ACTIONS_RUNTIME_TOKEN and GITHUB_TOKEN; with these credentials it then performs GitHub Actions cache poisoning, moves into the higher-privilege rust-ci.yml workflow to obtain contents: write, and implants a persistent backdoor workflow with id-token: write.
A complete attack chain from an issue prompt injection to an npm supply chain backdoor; teams running coding agents in CI can use it to check workflow permissions and sandbox isolation.