cost. Scans use model calls on your account; the README mentions cost limits in `cs scan --help`.
Who it is forA developer who wants a quick security review of a codebase before release.
The problemManual security review is slow and easy to skip on a small team.
The outcomeA saved Markdown report with findings, source evidence and coverage limits.
What you need first
- 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
Steps
- 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 . - Open the Markdown file at the REPORT path printed in the terminal
- Find the latest completed scan again later with
cs scans show
Prompt for your agent
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.
Caveat. Review findings yourself; the report lists exclusions and coverage limits.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for openai/codex-security and "Scan your repository for vulnerabilities"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer