WebHackList

Preliminary research

How Command Injection in OpenAI Codex Led to GitHub Token Compromise

OpenAI Codex Command Injection Vulnerability

Last synced: 5 December 2026.

Finds that a shell-active Git branch name reaches Codex cloud setup while GitHub credentials are available. Payloads shaped around Git ref restrictions can execute commands and steal the token, and repository-side branch creation makes the attack scalable across users of a shared repository.

Preserved copies · Tyler Jespersen and Phantom Labs · Original publication ↗

GitHub MD fileGitHub PDF file

Record

Document
OpenAI Codex Command Injection Vulnerability
Researcher
Tyler Jespersen and Phantom Labs
Published by
BeyondTrust
Topic
Injection

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of Tyler Jespersen and Phantom Labs, first published at the original source. Preserved copies are kept so the citation survives its host.