Skip to content

fix: Could not save the Codex Security scan - #67

Open
Alessio2405 wants to merge 1 commit into
openai:mainfrom
Alessio2405:main
Open

fix: Could not save the Codex Security scan#67
Alessio2405 wants to merge 1 commit into
openai:mainfrom
Alessio2405:main

Conversation

@Alessio2405

Copy link
Copy Markdown

Summary

Fix Windows scans failing with Could not save the Codex Security scan because the isolated runtime has no active Windows sandbox backend.

  • Enable the unelevated Windows sandbox backend by default in DEFAULT_CODEX_CONFIG, allowing the existing named filesystem permission profile to be enforced while scans read the target repository and write scan artifacts.
  • Preserve explicit sandbox overrides, so a caller passing windows: { sandbox: "elevated" } continues to take precedence over the default.
  • Add regression coverage for both the default configuration and the overridden case.

Verification

  • Focused configuration tests: default windows.sandbox resolves to unelevated, and explicit overrides are preserved through mergedCodexConfig.
  • Windows sandbox probe with the pinned Codex 0.144.6: successfully read the plugin and target repository and wrote workspace output.
  • TypeScript typecheck and production build.
  • Prettier formatting check.
  • Git diff whitespace check.

Fixes #51
Fixes #60
Fixes #66

Fix Windows security scans by enabling the unelevated sandbox backend in the default Codex configuration. This allows named filesystem permission profiles to access the target repository and write scan artifacts while preserving explicit sandbox overrides. Adds regression coverage for the default and override behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant