DAGet the newsletter
Research

Researchers could have planted a backdoor in OpenAI's Codex via GitHub

Two security researchers say a chain of weaknesses could have let them publish a malicious version of OpenAI's coding tool Codex. According to them, the hole has been fixed, and OpenAI has so far paid out a $1,000 bounty.

November 11, 2026, 17:41AI-generated from the sources listed, with automated source checks.

Graphic: aijour

Two researchers from the security firm Depi describe how, by chaining together a series of small weaknesses, they could have gained access to publish a malicious version of OpenAI's programming tool Codex. This is according to the researchers' own write-up. A malicious release has not been shown to have taken place, and the researchers themselves write that they could have done it.

The researchers are Pierre Martin and Garance de la Brosse, who are founders of Depi. The company describes itself as specializing in finding vulnerabilities early in the supply chain, meaning the steps software passes through before it reaches users. They reported the finding via Bugcrowd, a platform for security reports.

How the attack fit together

The starting point was a GitHub workflow, an automated process, in OpenAI's Codex project. It let content from any GitHub issue, meaning a request that anyone can create, flow directly into Codex's instructions without checks. This is called prompt injection: tricking an AI tool into following hidden orders.

The researchers bypassed Codex's safeguards by encoding their commands with base64 and gzip. That allowed them to run their own commands in the agent's isolated environment, a so-called sandbox.

Inside the sandbox, they found debug channels that gave read and write access to the memory of a parent process without a login. From there they extracted two access keys, ACTIONS_RUNTIME_TOKEN and GITHUB_TOKEN.

With the keys, the researchers poisoned a cache, a temporary store, with malicious Python files. The chain continued to a workflow with write permissions and then to one with even higher privileges.

Finally, the researchers created a fake Codex release. When the developers deleted it, it triggered a hidden workflow with elevated privileges. According to the researchers, those tokens could have let them publish a backdoored version of Codex to npm, a large package registry for code.

Why it is serious

The researchers call it a critical supply chain vulnerability. They write that the npm package @openai/codex has millions of monthly downloads, and that an attacker could also have created a self-spreading worm that spreads credentials on developers' machines.

They also write that a malicious version of Codex CLI does not need to find a way to get executed, because execution is the very function of the tool.

OpenAI's response

According to the researchers, OpenAI rolled out a fix immediately after being notified and acknowledged the severity. They say OpenAI handled the matter professionally via Bugcrowd.

OpenAI has so far paid out a $1,000 bounty, and the case is still under review. OpenAI's policy mentions rewards of up to $100,000 for critical findings, and the researchers expect the final assessment to reflect the real impact.

A third-party summary on GitHub, which draws on the researchers' material, says no malicious releases to users have been confirmed and that no CVE was issued, meaning an official number for a known vulnerability. The sources do not say whether OpenAI itself has commented on the incident.

Read also

Next storySarvam: Compressed Indian AI model can run on one GPU instead of four to eightRead on
Back to the front page