{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "openai-codex-security--scan-your-repository-for-vulnerabilities-with-codex-security",
 "repo": "openai/codex-security",
 "repo_url": "https://github.com/openai/codex-security",
 "repo_slug": "openai-codex-security",
 "title": "Scan your repository for vulnerabilities",
 "page_title": "How to scan your repository for vulnerabilities with Codex Security",
 "summary": "Install the cs CLI, sign in and run a first scan from your repository directory.",
 "who": "A developer who wants a quick security review of a codebase before release.",
 "problem": "Manual security review is slow and easy to skip on a small team.",
 "outcome": "A saved Markdown report with findings, source evidence and coverage limits.",
 "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`"
 ],
 "agent_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.",
 "agents": [
  "codex",
  "claude-code",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Review findings yourself; the report lists exclusions and coverage limits.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "typescript",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "cost",
   "notice": "Scans use model calls on your account; the README mentions cost limits in `cs scan --help`."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/openai-codex-security/scan-your-repository-for-vulnerabilities-with-codex-security/",
 "md": "https://dedupedai.com/use-cases/openai-codex-security/scan-your-repository-for-vulnerabilities-with-codex-security/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/openai-codex-security--scan-your-repository-for-vulnerabilities-with-codex-security.json",
 "api_version": "v1"
}
