How to resume an interrupted scan in Codex Security CLI
Starting with OpenAI Codex Security CLI 0.10.0 (November 12), an interrupted Standard scan can continue from its saved checkpoint instead of starting over. It resumes in the original Codex session and keeps the usage and budget spent so far. An eligible interrupted Deep Scan can continue with the same command.
- In the repository folder, list saved scans and find the ID of the interrupted one.
npx @openai/codex-security@latest scans
- Check how far it got with its results and logs.
npx @openai/codex-security@latest scans show SCAN_ID
npx @openai/codex-security@latest scans logs SCAN_ID
Logs are not redacted and can contain source code or credentials, so read them before sharing.
- Resume it.
npx @openai/codex-security@latest scans resume SCAN_ID
To start a fresh scan with the saved settings instead, use scans rerun SCAN_ID. A rerun requires the original scan's recorded plugin version to match the installed one. Plugin scans may lack a replayable recipe; in that case start a new scan with the intended paths and context.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.