Skip to content
MediumNewsLLM-specific

Turning ChatGPT Codex Into A ZombAI Agent

Published
Record updated
View JSON

Summary

Embrace The Red shows that ChatGPT Codex, OpenAI's cloud software engineering agent, can be hijacked through indirect prompt injection, such as a malicious GitHub issue, once Internet access is enabled. The post finds that the "Common Dependencies" allowlist includes azure.com, which an attacker can use by hosting a VM with a cloudapp.azure.com DNS name to run a Sliver command and control server and turn Codex into a botnet, a result the author calls ZombAI. Compromise would expose environment variables, source code and compute resources on the Codex machine.

Mitigation

Review the allowlist for the Dependency Set and apply a fine-grained approach, as there are likely other bypasses. Only use a self-defined allowlist when enabling Internet access, since Codex can be configured very granularly. The source also raises installing EDR and other monitoring software on AI agents as a question, especially for enterprise use.