Deep Scan Windows path bug

Open 💬 1 comment Opened Aug 12, 2026 by Ben2248
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.803.81509

What subscription do you have?

Pro 5X

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When running the Codex Security Deep Scan on a Windows checkout, the scan fails immediately during its deterministic setup phase. The failure happens before any source files are reviewed, before discovery workers are started, and before any findings, exploit-chain analysis, or final report can be produced.
The issue is caused by a path-format mismatch between the inventory generator and the Deep Scan validator. The inventory generator uses rg --files with the scope . and produces Windows-style relative paths such as:
.\trusted-html.js
.\src\services\example.js
However, the following validation step only accepts safe repository-relative POSIX paths, such as:
trusted-html.js
src/services/example.js
Because the first generated path contains the .\ prefix and Windows backslashes, the validator rejects it with:
in_scope_files.txt:1 must be a safe repository-relative path
As a result, the Deep Scan terminates during setup with zero discovery runs and zero workers. This appears to be a Windows-specific path-normalization issue in the Deep Scan workflow, rather than an issue in the scanned project.

What steps can reproduce the bug?

Feedback ID: 019ff6d0-6414-7a71-9129-9045206322af

What is the expected behavior?

The scan should normalize generated inventory paths to safe repository-relative POSIX paths (for example, src/file.js) and continue with discovery, validation, and report generation.

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 15 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37502

Powered by Codex Action