SpyBara
Go Premium

security/plugin/deep-scans.md 2026-06-17 17:02 UTC to 2026-06-18 23:01 UTC

67 added, 0 removed.

2026
Sat 20 03:58 Fri 19 23:57 Thu 18 23:01 Wed 17 17:02 Tue 16 20:00 Mon 15 19:59 Sun 14 16:58 Sat 13 00:58 Fri 12 18:02 Thu 11 20:02 Wed 10 20:00 Tue 9 18:50 Sat 6 00:58 Fri 5 18:45 Thu 4 01:09 Wed 3 19:27 Tue 2 19:22

Run a deep security scan

A deep scan is slower but more thorough than a standard scan. Use it when you want to reduce variability and search more comprehensively.

Start with a standard scan. Once you're satisfied with the results, run a deep scan for a more thorough assessment.

Choose between standard and deep scans

Standard scan Deep scan
Best for First runs and routine repository or folder review More thorough reviews after a standard scan
Variability Standard Reduced
Scope Repository or explicit folder Repository or explicit folder
Runtime and resources Lower Higher
Pull requests and diffs Use the change-review workflow Not supported; use the change-review workflow instead

Start the deep scan

For a repository-wide review, send:

Use $codex-security:deep-security-scan to run a deep security scan of this repository.

For one component in a monorepo, identify the folder explicitly:

Use $codex-security:deep-security-scan to run a deep security scan of /absolute/path/to/repository/services/payments.

In the Codex app, a scoped deep scan resolves the selected folder as the Codebase and shows its scan area as the entire selected target.

Confirm setup and preflight

  1. Confirm Scan type is Codebase and Deep scan is on.
  2. Confirm that Codebase is the repository or exact folder you intended to scan.
  3. Add threat-model guidance only for concrete attack vectors, sensitive application areas, or repository context that the code can't reveal.
  4. Select Start scan.
  5. Review the capability preflight. If it proposes a configuration change, review the exact change and let Codex apply it only if it matches your environment. Start a new thread if Codex tells you a restart is required.

<VideoPlayer src="/videos/codex/security/deep-scan-progress.mp4" poster="/videos/codex/security/deep-scan-progress-poster.webp" />

Review the result

Deep scans use the same findings workspace and generated report.md as standard scans. Review the coverage summary before the findings. A deep scan searches the code more extensively, but any deferred surface or proof gap still limits the conclusion. For a finding you accept, continue with Fix and verify a finding.

To review a pull request, commit, branch range, or local patch, use Review code changes. A deep scan never substitutes for the diff-focused workflow.