Repository navigation
Description
What version of the IDE extension are you using?
26.1007.21434
What subscription do you have?
Plus
Which IDE are you using?
Visual Studio Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 — x64
What issue are you seeing?
A development-only PowerShell command was rejected before execution with:
exec_command failed: CreateProcess
Rejected: blocked by policy
The command would create a local Administrator Google OAuth consent module and isolated tests, then run Node tests. No live account grants, email sends or production changes were attempted.
Environment:
- VS Code extension: 26.1007.21434
- Bundled Codex CLI: 0.162.0-alpha.17.2
- Windows x64
- Recorded approval_policy: never
- Recorded sandbox_policy: danger-full-access
The command embedded approximately 7,600 characters of source/test code, including HTTPS URLs and the word “start”. The matching upstream Windows classifier appears relevant, but the actual cause has not been confirmed.
Timestamp: 2026-10-18T23:14:15.219Z
Tool call ID: call_a714dffda29e40948c636206cb98f51a
Built-in feedback also fails with:
“Couldn't verify feedback permissions.”
Please clarify which restriction caused the rejection and the supported correction. The rejected action has not been retried, and security settings have not been weakened.
CODEX_ORIGINAL_REJECTION_DIAGNOSTIC_20261018.md
What steps can reproduce the bug?
Original observed sequence—not a verified minimal reproduction:
- Use Codex in VS Code on Windows with approval_policy=never and sandbox_policy=danger-full-access.
- Ask Codex to implement a local Administrator Google OAuth consent module with isolated tests.
- Codex submits a composite PowerShell command that writes the module and tests through here-strings, then runs Node tests.
- The embedded source contains HTTPS URLs and the word “start”.
- The command is rejected before PowerShell launches:
CreateProcess / Rejected / “blocked by policy”.
The action has not been retried. The rejection response truncated the command text, so no independently verified minimal reproducer is provided.
Separately, invoking /feedback produces:
“Couldn't verify feedback permissions.”
What is the expected behavior?
Evaluate the actual shell operations without treating words inside source-file contents as executed commands.
If the action is prohibited, provide an actionable explanation identifying the applicable restriction and supported resolution.
Feedback should either submit successfully or explain why permission verification failed.
Additional information
Extension: 26.1007.21434
Bundled Codex CLI: 0.162.0-alpha.17.2
Platform: Microsoft Windows NT 10.0.26200.0, x64
Timestamp: 2026-10-18T23:14:15.219Z
Tool call: call_a714dffda29e40948c636206cb98f51a
The matching upstream Windows command classifier appears relevant because it examines flattened PowerShell tokens for URLs and launch-related words. This is a hypothesis, not a confirmed cause.
Other local commands work normally. No security settings were changed, and no live OAuth grants, emails or production changes were attempted.
Sanitized diagnostic attached.
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
everett-ux commentedon Oct 19, 2026