cd /news/ai-agents/codex-security-openai-built-an-ai-to… · home topics ai-agents article
[ARTICLE · art-80031] src=pub.towardsai.net ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Codex Security: OpenAI Built an AI to Find Security Bugs.

OpenAI's Codex Security CLI, an agentic vulnerability hunter, opened 13 pull requests against NVIDIA's OpenShell repo in March 2026, of which two were false positives: one proposed a self-asserted security header that broke existing callers, and another would have blocked sockets needed by the proxy itself, according to a principal engineer's tracker notes.

read1 min views1 publishedJul 30, 2026
Codex Security: OpenAI Built an AI to Find Security Bugs.
Image: Pub (auto-discovered)

Member-only story

A hands-on breakdown of Codex Security, the CLI OpenAI open-sourced without telling anyone. #

In March 2026, a scanner opened 13 pull requests against NVIDIA’s OpenShell repo. The bot was Aardvark, OpenAI’s agentic vulnerability hunter, before it had the Codex Security name. A principal engineer went through all 13 by hand.

Eleven were legitimate. Two weren’t.

One PR added a security header called x-sandbox-id

, meant to identify which sandbox a request came from. The header was self-asserted. Any client could set it to anything. It also broke every existing caller, because the sandbox client that was supposed to send the header never actually sent it. The engineer's note in the tracker: "security theater."

The second PR was worse. It proposed blocking AF_INET

and AF_INET6

sockets in proxy mode. Sounds like a sane lockdown, until you notice the proxy itself needs those sockets to reach its own upstream. The fix would have broken the exact system it was supposed to protect.

That’s the real story under this week’s headline, “OpenAI open-sources security scanning CLI.” It’s a better story than the press…

── more in #ai-agents 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/codex-security-opena…] indexed:0 read:1min 2026-07-30 ·