You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex App (Windows): command denied "blocked by policy" with no reason, and /approve isn't available to review the denial #58169
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
In the Codex desktop app on Windows, the execution tool rejected a combined setup command with only "blocked by policy." No reason was given, and it didn't say which rule or which part of the command triggered the denial.
The command combined a Connect setup step (-create-device-key and -setup-launch) with an unrelated file-restoration step. The task can't move on to installed testing until the denial is resolved.
What steps can reproduce the bug?
In the Codex desktop app (Windows), run a task where the agent proposes a single combined shell command that includes a device-key/launch setup step plus a file-restoration step.
The execution tool denies it with "blocked by policy" and no further detail.
Additional Windows desktop occurrence of the unexplained pre-process command refusal. This involved local Docker service recovery rather than the setup operation in the original report; a common underlying cause is not established.
The execution tool returned exec_command failed: CreateProcess / Rejected / blocked by policy before starting a process. It exposed no matched rule or reason, nested execution/decision identifier, enforcing component, approval request or review/disposition endpoint.
The outer call ID is not claimed to be a nested policy-decision ID. The user authorized restoring their service. No explanation or supported action-specific review route is available in the tool response. We have not tried another executor, rewritten the blocked operation or changed security/approval settings to evade it.
What supported private channel can correlate this outer call/time to the nested decision, matched rule/reason and responsible disposition handler? This report requests diagnosis and a supported resolution path, not a bypass.
No command payload, private filesystem/network details, game data, credentials, raw logs or session transcript are attached. No current app-version number is asserted without verification.
Additional Windows occurrence: a verification command was rejected before execution; possible prose-token false positive.
The execution tool returned CreateProcess Rejected with only blocked by policy for an authorized verification command. The attempted command read and hashed local evidence, used pure validators, read a loopback endpoint and would create one local verification receipt. It did not dispatch a native model task. The command did not execute and the receipt was not created.
This is an outer tool-call ID, not a policy decision ID.
Current tool runtime after an owner app restart: codex-cli 0.166.0-alpha.5.1. The running app's configured updater reports up_to_date, version 26.1027.30824 / build 22943 / prod. The exact runtime binary at the earlier rejection has not been established.
Relevant current configuration: approval_policy=never, approvals_reviewer=user, sandbox_mode=danger-full-access. No setting was changed for this investigation. The rejection supplied no matched rule, reviewer rationale or supported disposition handle.
The official source for the current runtime tag retains the Windows opaque-script classifier that can combine a pipe, URL and standalone prose token start into a dangerous-command match. Those features occur in the rejected command. This is a suspected false positive; exact runtime tokenization and branch attribution are unknown.
Please correlate the call/time with the actual enforcing rule and provide a supported action-specific resolution or corrected release. No private project text, command payload, raw session, credentials or local personal paths are included.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jjones447 commentedon Oct 30, 2026
Additional Windows desktop occurrence of the unexplained pre-process command refusal. This involved local Docker service recovery rather than the setup operation in the original report; a common underlying cause is not established.
The execution tool returned
exec_command failed: CreateProcess/Rejected/blocked by policybefore starting a process. It exposed no matched rule or reason, nested execution/decision identifier, enforcing component, approval request or review/disposition endpoint.Correlation metadata for the product team:
call_c6bb0c0081d145259252d3e6531ce4702026-10-30T16:52:10.716Z2026-10-30T16:52:10.808ZThe outer call ID is not claimed to be a nested policy-decision ID. The user authorized restoring their service. No explanation or supported action-specific review route is available in the tool response. We have not tried another executor, rewritten the blocked operation or changed security/approval settings to evade it.
What supported private channel can correlate this outer call/time to the nested decision, matched rule/reason and responsible disposition handler? This report requests diagnosis and a supported resolution path, not a bypass.
No command payload, private filesystem/network details, game data, credentials, raw logs or session transcript are attached. No current app-version number is asserted without verification.
[pc2-codex-15] [LUNA]
maanel1999 commentedon Oct 31, 2026
Additional Windows occurrence: a verification command was rejected before execution; possible prose-token false positive.
The execution tool returned
CreateProcess Rejectedwith onlyblocked by policyfor an authorized verification command. The attempted command read and hashed local evidence, used pure validators, read a loopback endpoint and would create one local verification receipt. It did not dispatch a native model task. The command did not execute and the receipt was not created.Correlation:
call_68f614ac60f84a7780001004a9ee18c32026-10-31T00:00:20.123Z2026-10-31T00:00:20.494ZThis is an outer tool-call ID, not a policy decision ID.
Current tool runtime after an owner app restart:
codex-cli 0.166.0-alpha.5.1. The running app's configured updater reportsup_to_date, version26.1027.30824/ build22943/prod. The exact runtime binary at the earlier rejection has not been established.Relevant current configuration:
approval_policy=never,approvals_reviewer=user,sandbox_mode=danger-full-access. No setting was changed for this investigation. The rejection supplied no matched rule, reviewer rationale or supported disposition handle.The official source for the current runtime tag retains the Windows opaque-script classifier that can combine a pipe, URL and standalone prose token
startinto a dangerous-command match. Those features occur in the rejected command. This is a suspected false positive; exact runtime tokenization and branch attribution are unknown.Please correlate the call/time with the actual enforcing rule and provide a supported action-specific resolution or corrected release. No private project text, command payload, raw session, credentials or local personal paths are included.