OpenAI Open-Sources CodexSecurity: Testing AI Coding's Security Guardrails
数字生命卡兹克 · wechat · 2026-08-06
As Vibe Coding lowers the barriers to app development, security vulnerabilities in AI-generated products are often overlooked. OpenAI recently open-sourced Codex Security, an auditing tool originally built into Codex. It can now be integrated into third-party agents like Claude Code and supports non-OpenAI models via OpenRouter.
The author tested the tool's scanning capabilities on a real internal project:
- Cost & Results: Scanning 214 files with gpt-5.6-sol (xhigh reasoning) took about an hour and consumed $55 in credits. It identified 21 issues: 1 high-risk (SSO bypassing whitelist due to auth failure), 11 medium-risk (e.g., CSV injection, strict API rate-limiting), and 9 low-risk.
- Model Choices: High-end models are thorough but expensive. Alternatives like Kimi K3 or Qwen 3.8-Max are viable, while DeepSeek V4 Flash offers the best cost-effectiveness for routine checks. Because agent-based reasoning has inherent randomness, cross-scanning with two models before major releases is recommended.
- Limitations: The tool focuses on code-level vulnerabilities and cannot prevent infrastructure-layer attacks like DDoS, which still require CDN, WAF, and rate-limiting strategies.
Related event: OpenAI Introduces Codex Security Review for GitHub PRs(4 posts)→
More from coding & agent
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02
- UNC's Wanda: agentic AI for neuroimaging validated on 123,000 brains — PTenigma · 2026-12-02