ForkFree

Security and privacy

codex-security

by openai

Codex Security is a command-line tool and TypeScript library from OpenAI that scans code repositories for security vulnerabilities, checks whether they are real, and suggests fixes. It is meant for teams who want automated security reviews on their own code, locally or in continuous integration.

Proof level: ReadWorth a lookApache-2.0

Get it on GitHubProject websiteCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Worth a lookEstablished, with a few things to check (listed below).

Check this first: Requires an OpenAI account or API key, so scans may incur usage costs.

Things to check

  • Requires an OpenAI account or API key, so scans may incur usage costs
  • Some cybersecurity requests and protected findings need Trusted Access for Cyber approval
  • Sends code to OpenAI services for analysis, which may matter for confidential projects
  • Automated findings and patches need human review

Can you use codex-security commercially?

Free to use, change and sell, including in paid products. Keep the copyright notice.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with codex-security?

  • Scan a whole repository, chosen folders or recent Git changes for vulnerabilities and get a saved report
  • Generate patches for findings, or verify that an existing fix works
  • Draft a SECURITY.md policy and export findings to SARIF, JSON or CSV, or track them in Jira, Linear or GitHub

How do you get codex-security running?

Install globally with npm (npm install --global @openai/codex-security), sign in with cs login, then run cs scan . in your repository; it needs Node.js 22 or newer and Python 3.10+.

Follow the official instructions in the project README.

Make money with it

A freelance developer could offer a fixed-price security review of client codebases, using the generated reports and patches as the basis for the deliverable.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Run security scans on your own web app or client projects before release to catch vulnerabilities without hiring an external auditor for every change
  • Add scans to your CI pipeline so each pull request is checked automatically, reducing the cost of manual code review

Who's talking about it

Checked 13 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in Security and privacy

sherlock sherlock-project
Worth a look

Sherlock is a command-line tool that checks whether a given username exists on many social networks and websites. It is used to find a person's or brand's online accounts for research and investigation.

Proof level: Read 114.8k stars +794 a day MIT
ARTEX BaaRai
New and promising

ARTEX is a self-hosted system that uses an AI model to carry out penetration testing of websites and networks on its own, with a web dashboard to track tasks, findings and assets. It is meant for security testers who want to automate exploration of targets they are authorised to test.

Proof level: Read 12.6k stars +538 a day AGPL-3.0
bla qybaihe
New and promising

BLA is a command-line tool and MCP server that hardens software releases such as Electron apps, JavaScript bundles, WebAssembly and native binaries against AI-driven reverse-engineering agents. It adds decoys and resource-exhausting structures so automated analysis becomes slow, costly or inaccurate.

Proof level: Read 6.2k stars +258 a day MIT