Answer: To run your first Codex Security CLI scan on a local repository, remove `--dry-run` and run the scan command with your repository and output directory. If you have Daybreak Blue access in your ChatGPT workspace, add `--model gpt-6-sol --cyber-access-program daybreak_blue` to the scan command. Status: Confirmed Entry: tool/codex/commands-and-shortcuts/run-first-scan Revision: 1 Digest: sha256:09d86d7565ecfc02 (changes whenever the content changes) Timeline: Created: 2026-11-18T13:35:12Z Last changed: 2026-11-18T13:35:12Z Last verified: 2026-11-20T13:41:27Z Next check: 2026-11-21T13:41:27Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of scan command | npx @openai/codex-security scan "$REPOSITORY" \ --auth chatgpt --output-dir "$SCAN_DIR" | [1] | 2026-11-20 first step | Remove `--dry-run` | [1] | 2026-11-20 Daybreak Blue option | --model gpt-6-sol --cyber-access-program daybreak_blue | [1] | 2026-11-20 Sources: [1] OpenAI. "Codex Security CLI quickstart". https://learn.chatgpt.com/docs/security/cli.md Role: primary. Accessed: 2026-11-20T13:41:27Z Quote: "npx @openai/codex-security scan "$REPOSITORY" \ --auth chatgpt --output-dir "$SCAN_DIR"" (Supports: scan command) Quote: "Remove `--dry-run` to start the scan:" (Supports: first step) Quote: "add `--model gpt-6-sol --cyber-access-program daybreak_blue` to the scan command." (Supports: Daybreak Blue option) Snapshot SHA-256: 167f7e160e9f2b85a5d4d78806dc08d84f77a4cadadbb17e22263619eb6331dc (captured 2026-11-17T14:06:26Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:35:12Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:27Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:27Z Last attempt: 2026-11-20T13:41:27Z Notes and limitations: Extracted automatically from a single official source (section "Run your first scan"). Related: https://latestn.com/tool/codex/commands-and-shortcuts/use-token-with-codex-cli How do I use a Codex access token with Codex CLI? https://latestn.com/tool/codex/features/build-requirement-for-scanning Does a Daybreak Defense Factory project need to be built for scanning? https://latestn.com/tool/codex/features/choose-scan-target How do I choose which paths or changes the Codex Security SDK scans? https://latestn.com/tool/codex/commands-and-shortcuts/open-prompt-editor How do I open an external editor for long prompts in the Codex CLI? https://latestn.com/tool/codex/commands-and-shortcuts/request-codex-review-command How do I request a Codex review on a GitHub pull request? https://latestn.com/tool/codex/commands-and-shortcuts/resume-interrupted-bulk-scan How do I resume an interrupted bulk scan in Codex Security CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:35:12Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/commands-and-shortcuts/run-first-scan/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/commands-and-shortcuts/run-first-scan POST: https://latestn.com/dispute/tool/codex/commands-and-shortcuts/run-first-scan with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/commands-and-shortcuts/run-first-scan?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run my first Codex Security CLI scan on a local repository? Revision 1, last verified 2026-11-20T13:41:27Z. https://latestn.com/tool/codex/commands-and-shortcuts/run-first-scan (accessed 2026-11-21T10:02:55Z). @misc{LatestN_tool_codex_commands_and_shortcuts_run_first_scan_r1, title = {How do I run my first Codex Security CLI scan on a local repository?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/commands-and-shortcuts/run-first-scan}}, note = {Revision 1; digest sha256:09d86d7565ecfc02; last verified 2026-11-20T13:41:27Z; accessed 2026-11-21T10:02:55Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/commands-and-shortcuts/run-first-scan