OpenAI, Open-Sourced

marsbitPublished on 2026-07-30Last updated on 2026-07-30

Abstract

OpenAI has open-sourced its code security tool, Codex Security CLI. The tool, which originated from the private beta project Aardvark in October 2025, is designed to automatically discover, verify, and fix vulnerabilities in codebases. It functions as an application security agent, first analyzing a repository to build a threat model, then identifying and ranking vulnerabilities based on real-world impact, and finally testing them in a sandbox for validation. According to OpenAI, in its first 30 days, the tool scanned over 1.2 million commits, uncovering 792 critical and 10,561 high-severity vulnerabilities, with a reported reduction of over 50% in false positives upon repeated scans of the same repositories. However, initial user experiences on platforms like Hacker News highlighted significant issues, particularly concerning cost and reliability. Developers reported failed scans that consumed substantial portions of API rate limits and incurred high expenses, with one user noting a cost of approximately $13 for an aborted run. The high cost is attributed to the tool's default configuration, which uses the premium GPT-5.6-sol model with inference intensity set to "extra-high." The release follows public statements by NVIDIA's Jensen Huang advocating for open-source AI. While OpenAI has open-sourced the application-layer CLI and SDK, the core AI models remain proprietary. The move opens the door for community development and potential adaptations of the tool.

OpenAI has finally become "Open" once again!

Recently, OpenAI officially announced: it has quietly released an open-source code security tool—Codex Security CLI.

Previously, someone on Hacker News discovered it first, sparking instant discussions, and GitHub stars surged to 1.2k.

Seeing that it could no longer be kept hidden, OpenAI had no choice but to come forward and claim it.

GitHub address: https://github.com/openai/codex-security

A few days ago, Jensen Huang personally stepped in, publicly expressing strong support for open-source AI, and soon after, OpenAI officially joined the camp.

Little did we expect that the surprise would come so quickly, as the heavyweight open-source masterpiece was unveiled almost instantly.

It has to be said, Huang's words still carry significant weight!

OpenAI's Code Security Tool is Now Open-Source

The "star" of this open-source release is codex-security, comprising a CLI and a TypeScript SDK.

Its core functionality is very straightforward, focusing on a "combo punch": automatically discovering vulnerabilities in a codebase, verifying them, and fixing them.

It's designed to be ready-to-use; the entire workflow can be run with just three lines of commands:

  • npm install @openai/codex-security
  • npx codex-security login
  • npx codex-security scan .

For CI runs, logging in isn't required; just configure an OPENAI_API_KEY.

The requirements are Node.js 22 or higher, Python 3.10 or higher, plus access to Codex Security.

1.2 Million Commits, 792 Critical Vulnerabilities

Strictly speaking, Codex Security isn't a completely "new species".

It evolved from the private beta project Aardvark in October 2025 and was renamed and launched as a research preview version on March 6th this year.

The most hardcore aspect of this tool lies in its positioning—an application security agent.

Codex Security truly dives deep into the underlying code to understand what your system is actually doing. Its workflow is divided into three steps:

First, it reads the entire repository to generate an editable threat model, figuring out what the project does and where it's most exposed;

Then, based on this context, it searches for vulnerabilities and ranks them by their real-world impact;

Finally, it throws suspicious issues into a sandbox for real stress testing, only reporting those that can be verified.

Looking at its track record, it's indeed quite formidable.

In its first 30 days online, it scanned over 1.2 million commits, uncovering 792 critical severity findings and 10,561 high severity findings.

OpenAI also mentioned that for the same batch of repositories scanned repeatedly, the false positive rate dropped by over 50%.

The First Batch of Early Adopters, Bills Exploded

No matter how grand the official promises are, they can't compare to the "real-world test disasters" that immediately surfaced among developers.

On HN, a developer named gregwebs tested it on a small repository and directly posted the utterly devastating terminal logs.

Preparation started at 0:03, scanning began at 1:20, ran all the way to 52:47, and finally, a line of red text popped up—the repository HEAD changed during scanning, please start over.

Not only did it waste an hour, but this single run also consumed half of his Pro plan's weekly quota.

Another user, Quai, had it worse. The scan hit account rate limits right after starting, and the tool retried for a minute before giving up.

The tool did hint that "partial results have been preserved," but he couldn't find an obvious way to use them in the next scan. This failed run cost about $13.

Why is it so expensive? Just look at the default configuration and the answer becomes clear.

Codex Security defaults to calling gpt-5.6-sol and brutally cranks the "reasoning effort" up to extra-high.

It's important to know that Sol is the most "premium" tier in the GPT-5.6 family, with API pricing as high as $5 per 1M input tokens and $30 per 1M output tokens.

Huang Kicked Things Off, OpenAI Took a Step

Just after Jensen Huang publicly voiced strong support for open-source AI, OpenAI brought out Codex Security.

However, don't interpret this "open-source" move as too generous just yet.

OpenAI's step is quite calculated: they've open-sourced the application-layer shell, while the model layer is still tightly held in their own hands.

Regardless, the Pandora's box of agents taking over code security has been opened.

Next, it's up to developers to see how they can hack and modify this open-source artifact, using the magic of the community to counter OpenAI's own magic.

References:

https://x.com/gdb/status/2082235089539526690?s=20

https://x.com/OpenAI/status/2082263717916586117?s=20

This article is from WeChat public account "AI Era", author: ASI Revelations

Related Questions

QWhat did OpenAI recently open-source, and what is its primary function?

AOpenAI recently open-sourced Codex Security CLI, a tool designed to automatically detect, validate, and fix security vulnerabilities in codebases.

QWhat commands are needed to run the basic workflow of the open-sourced tool?

AThe basic workflow requires three commands: `npm install @openai/codex-security`, `npx codex-security login`, and `npx codex-security scan .`.

QWhat were some of the early user complaints regarding the Codex Security tool?

AEarly users complained about high costs, slow scans, account rate-limiting, and the tool's default use of the expensive `gpt-5.6-sol` model with the `extra-high` reasoning setting.

QAccording to the article, what significant results did Codex Security achieve in its first 30 days?

AIn its first 30 days, Codex Security scanned over 1.2 million commits and identified 792 critical and 10,561 high-severity findings.

QHow does the article characterize the nature of OpenAI's 'open-sourcing' of Codex Security?

AThe article characterizes it as a strategic move where OpenAI open-sourced the application layer (the CLI/SDK) but keeps the core model layer proprietary and under its control.

Related Reads

The United States Officially Recognizes the Laboratory Origin of the Coronavirus

The White House has published a page titled "Lab Leak: The True Origin of Covid-19," presenting the laboratory leak from a Wuhan facility as the most likely cause of the pandemic. This conclusion is based on a report by a US House of Representatives subcommittee investigating the virus's origins. Key arguments cited include the virus's unique biological features not found in nature, a single suspected spillover event into humans, and the proximity of the Wuhan Institute of Virology, which conducted gain-of-function research on coronaviruses. The report also notes that WIV staff exhibited COVID-like symptoms in autumn 2019, prior to the official outbreak. It criticizes a prominent paper on the virus's natural origin, alleging it was promoted by Dr. Anthony Fauci. The congressional subcommittee's report led to the suspension and subsequent five-year debarment of the EcoHealth Alliance and its president, Peter Daszak, from US federal funding, following findings of grant violations related to the Wuhan research. A Department of Justice grand jury is also investigating. While this US government position is presented, the scientific community, including WHO working groups, continues to debate both natural zoonotic and laboratory origins. The investigation underscores the pandemic's immense human (nearly 15 million deaths per WHO) and economic toll (over $4 trillion), highlighting the geopolitical weight of assigning blame and the future need for robust global biosecurity protocols.

cryptonews.ru9m ago

The United States Officially Recognizes the Laboratory Origin of the Coronavirus

cryptonews.ru9m ago

Welcome to the New Crypto World: Only This Time, The Place Where You Lose Money Is Called the Stock Market

Welcome to the New Crypto World: Only This Time, the Place to Lose Money is Called the Stock Market. The article depicts a future (2026) where global stock markets, particularly tech stocks, are exhibiting behaviors and risks reminiscent of the cryptocurrency world. The narrative centers on a sharp crash in South Korea's KOSPI index and leading stocks like SK Hynix, highlighting widespread retail losses, leverage-induced liquidations, and extreme volatility. It argues that a significant shift in market dynamics is underway: pricing is increasingly driven by narratives (like the AI boom) over fundamental valuation, amplified by high leverage and the rapid, emotion-fueled consensus formed on social media. Former crypto traders, seeking new opportunities, brought their high-risk strategies—chasing narratives, using leverage—into equity markets, focusing on sectors like AI and semiconductors. Ironically, data suggests some major tech stocks have recently shown greater volatility and faster crashes than Bitcoin, which is becoming relatively more stable and "stock-like" through institutional adoption. The piece details how leveraged ETFs in Korea, particularly those tied to single stocks, created a vicious cycle of forced selling that exacerbated the market plunge. It concludes that while stocks retain underlying fundamentals, the *trading* of them has undergone a "de-rationalization": markets now prioritize themes, social media sentiment, and leveraged bets over traditional analysis. In a paradoxical twist, Bitcoin is striving to become more like a traditional asset, while a segment of the stock market is becoming more like crypto—a cycle of grand stories, crowded trades, easy leverage, and the pervasive, often misplaced, belief that one can exit before everyone else. The final, poignant wish from a Korean retail investor—to go back to life before trading and get their money back—underscores that markets offer no refunds.

marsbit28m ago

Welcome to the New Crypto World: Only This Time, The Place Where You Lose Money Is Called the Stock Market

marsbit28m ago

Trading

Spot
活动图片