Run bulk security scans
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto the page URL.
Use npx @openai/codex-security bulk-scan to review repositories in one campaign. Discover repositories from your personal GitHub account or an organization, or provide a CSV that pins every repository to an exact Git revision.
The @openai/codex-security package is public. Running scans requires Codex Security access. Follow the CLI quickstart to install the CLI and sign in.
Choose a repository source
| Source | When to use it |
|---|---|
| GitHub discovery | Choose repositories interactively from your personal GitHub account or an organization. |
| CSV inventory | Run a repeatable, automated campaign against exact repository revisions. |
Both workflows save progress, preserve per-repository results, and let you resume a campaign after an interruption.
Discover GitHub repositories
Sign in with GitHub CLI:
gh auth loginStart an interactive bulk scan:
npx @openai/codex-security bulk-scanThe CLI guides you through these steps:
- Choose your personal GitHub account or an organization.
- Review repositories active within the last 90 days.
- Search the repository list and select repositories to scan.
- Choose a directory for scan results.
- Review the selected repositories and confirm the campaign.
Discovery excludes archived repositories and forks. The CLI records the exact default-branch commit for each selected repository in