What do you want to do?
3 use cases
-
Scan your repository for vulnerabilities
Install the cs CLI, sign in and run a first scan from your repository directory.
View prompt
Using openai/codex-security, install the CLI, run `cs scan .` in this repository, and summarize the findings in the REPORT file with the coverage limits it lists.
-
Scan only the changes in a branch
Limit a scan to selected paths or to the commits since a base revision.
View prompt
With openai/codex-security, run `cs scan . --diff origin/main` on my branch and list the findings tied to the changed files.
-
Run a weekly scan in GitHub Actions
Schedule a repository scan on GitHub-hosted Ubuntu and export results for CI.
View prompt
Using openai/codex-security, set up the weekly GitHub Actions workflow from github-action/examples/repository.yml in my repo and tell me which secret and commit SHA I still need to fill in.
Quick start with Codex Security
- Check you have what it needs: Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+; A login with `cs login`, or OPENAI_API_KEY or CODEX_API_KEY in the environment for CI; A Git repository to scan.
- Open openai/codex-security on GitHub and read the README and license.
- Check you have Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+
- Install the CLI with
npm install --global @openai/codex-security - Sign in with
cs login - From the repository directory run
cs scan .
These steps come from our top use case, Scan your repository for vulnerabilities, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for openai/codex-security
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers and security teams who want an AI-assisted vulnerability scan they can run locally or in CI.
- Why it is hot11k stars, talked about in 2 AI sources we track
- LanguageTypeScript
- Sourcegithub.com/openai/codex-security ยท Back to Hot repos
Requirements
- Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+
- A login with `cs login`, or OPENAI_API_KEY or CODEX_API_KEY in the environment for CI
- A Git repository to scan
Add this badge to your README
Maintain Codex Security? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/openai-codex-security/?utm_source=github&utm_medium=badge&utm_campaign=openai-codex-security)
HTML
<a href="https://dedupedai.com/use-cases/openai-codex-security/?utm_source=github&utm_medium=badge&utm_campaign=openai-codex-security"><img src="https://dedupedai.com/badge/openai/codex-security.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Codex Security
What is Codex Security?
Codex Security helps you find, investigate and fix vulnerabilities in your code. The @openai/codex-security CLI (cs) scans repositories, selected paths or Git changes, validates findings, generates patches, drafts SECURITY.md policies, and exports SARIF, JSON and CSV. A TypeScript SDK and a GitHub Action automate the same workflows. It is an open-source project on GitHub: https://github.com/openai/codex-security.
How do I use Codex Security?
Check you have Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+; then install the CLI with npm install --global @openai/codex-security; sign in with cs login. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Codex Security for?
Developers and security teams who want an AI-assisted vulnerability scan they can run locally or in CI.
What can I do with Codex Security?
3 use cases so far, for example: Scan your repository for vulnerabilities; Scan only the changes in a branch; Run a weekly scan in GitHub Actions. Each has steps and a copy-paste agent prompt.
What do I need to run Codex Security?
Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+; A login with `cs login`, or OPENAI_API_KEY or CODEX_API_KEY in the environment for CI; A Git repository to scan.
What are alternatives to Codex Security?
Other hot AI repos in Security and science: Failproofai, Chgnet, Semgrep, Mace, Syft.
Is Codex Security safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.