Repository navigation
Windows Desktop: authorized local app/gateway update blocked by policy and misreported as auto-review denial #52019
Description
Summary
Codex Desktop on native Windows rejected a user-authorized, reversible update of a local desktop application and its loopback-only model gateway before PowerShell executed. The tool returned only rejected: blocked by policy, without a named enforcing rule or a supported approval path.
The assistant described this as an "auto-approval rejection", but the original task log records approval_policy=never, sandbox_policy.type=danger-full-access, and approvals_reviewer=user. Please investigate both the execution-policy rejection and the misleading attribution to auto-review.
Environment and verified evidence
- Incident date: October 8, 2026, Asia/Shanghai (UTC+08).
- Native Windows desktop app; commands use the bundled PowerShell 7 runtime.
- Original denied task: Full Access, approval policy Never, reviewer User (verified from local turn-context records).
- App/package version is not verified. A read-only
Get-AppxPackage -Name OpenAI.Codexquery in the later restricted diagnostic chat returned Access denied; that is a separate diagnostic limitation, not evidence of the original cause. - No raw transcripts, credentials, user paths, or private configuration are attached.
Authorized operation
The user asked Codex to implement and locally deploy an update to an existing desktop application. The denied compound PowerShell command would:
- Verify a fixed list of staged executable/DLL files.
- Back up those installed files.
- Request normal closure of the installed application and wait for exit; abort if it did not close.
- Replace the fixed file list and update the local plugin-state JSON.
- Query a loopback gateway endpoint and abort the gateway restart if it reported active or queued model requests.
- Stop the application's existing scheduled gateway task and a specific gateway process, with an executable-path check.
- Install/start the updated gateway and restart the application.
- Query the loopback status endpoint for verification.
No public deployment or external data upload was involved in this operation. The command did contain local process launch/restart and independent HTTP loopback requests in the same PowerShell script.
Actual result
At 2026-10-08T08:03:26.005Z, the execution tool returned the following abbreviated error (paths and command body omitted):
Script error:
exec_command failed: CreateProcess {
message: "Rejected(... rejected: blocked by policy)"
}
The assistant reported that the installed running version had not been replaced.
A subsequent isolated acceptance command using a separate gateway port and test data directory was also rejected at 2026-10-08T08:06:27.971Z with the same error. Its turn context also records Never / danger-full-access / User. Other builds and finite in-process acceptance tests subsequently completed, so this is not a claim that every shell command fails.
Follow-up and evidence limits
The user later selected "Approve for me" in a separate troubleshooting chat; that chat's supplied permissions changed to workspace-write with auto_review. The original implementation chat still displayed the statement "local running-version update blocked by auto-approval", and the user reported that the problem persisted.
However, the inspected original task log does not establish a fresh deployment attempt under the changed permissions. This could be a stale status statement, a per-chat permissions mismatch, or a new rejection not present in the inspected evidence. We do not claim to have verified an actual auto-review denial or its rationale.
Related reports and suspected cause
- Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060
- Windows: Full Access rejects benign process launch + loopback health check on 0.153.4 #45050
These describe the flattened PowerShell token heuristic matching a local Start-Process together with an unrelated HTTP URL, then rejecting under Never even with Full Access. The original denied update command contains both features, so this is a plausible explanation, not a confirmed internal trace of this incident.
During the troubleshooting chat, a separate read-only source-fetch/search command also returned blocked by policy. It contained HTTP URLs and the literal search string start-process, but no process-launch operation. This further motivates reviewing token-based false positives; it does not identify the installed enforcing build.
Expected behavior / requested resolution
- Identify the rule/component responsible for the original denial and provide an actionable diagnostic.
- Correct benign cross-command/text-literal URL-launch classification if this is the same issue as Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060.
- Provide a supported review path for an explicitly authorized local update while preserving safeguards.
- Ensure the assistant distinguishes execution-policy rejection from an actual auto-review decision, and does not repeat an old blocked-state message as a newly attempted failure.
- Explain whether permission changes apply to existing chats and how users can verify the effective policy for the affected chat.
We are requesting diagnosis and a supported resolution, not disabling safeguards or bypassing a denial.
This report was prepared by Codex from local evidence and submitted with the user's explicit authorization.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
leo1972-max commentedon Oct 16, 2026
I am a Codex user, and I want a direct answer from OpenAI.
I explicitly authorized Codex to perform a normal operation on my own computer. I selected Full Access and disabled approval prompts, yet Codex still blocked the operation through a separate policy check.
Does OpenAI believe that users must obtain OpenAI's permission before carrying out ordinary, lawful operations on their own computers—even after they have explicitly authorized Codex to do so?
Who has the final say over these operations: the computer's owner or OpenAI? Why does Full Access not mean what it says? Please explain this clearly, fix the erroneous blocking, and provide a way for users to approve legitimate operations without an undisclosed second veto.