Skip to content

Windows desktop: opaque pre-execution blocked by policy with no actionable denial for a scoped local update #55177

Open

Description

@GUGU183412

Environment

  • Windows desktop app, local PowerShell workspace; observed on 2026-10-19 (Asia/Shanghai).
  • App update checker reports installedVersion 26.1007.71326, build 20398, channel prod.
  • Installed Windows package version: 26.1007.9446.0 (a separate component version).
  • Bundled executor: codex-cli 0.162.0-alpha.17.2.
  • Effective task instructions: approval_policy=never, sandbox_mode=danger-full-access. These are not asserted to override another policy.
  • Subscription not collected.

Observed issue

A user-authorized, narrowly scoped local application update was rejected before execution with an opaque error containing:

exec_command failed: CreateProcess
Rejected(... blocked by policy)

The intended command would use the application's normal loopback shutdown endpoint, verify process exit, copy an explicit manifest of four UI source files and their associated static build assets after hash/backup checks, and start the local application normally. It did not request business-data mutations, credential access, cloud deployment, or deletion. No force-kill was proposed.

This is an observed failure, not a newly run minimal reproduction. The command was not executed, and the blocked outcome has not been pursued through another transport. The exact enforcing component, decision ID and detailed rationale remain unknown.

Two earlier shutdown requests were separately rejected by the application for missing normal source headers; these did not stop the application. The later command included the source headers required by the application's existing shutdown implementation, but was rejected by the execution tool before it ran. We cannot establish that these distinct failures share a cause.

Approval / recovery gap

The user explicitly authorized the local update. In the desktop composer, entering /approve did not expose an actionable denial picker. Read-only inspection shows that the installed client contains an approval command conditioned on eligible denial records, but does not prove this particular rejection created one.

The current official Auto-review documentation says approval_policy=never does not generate interactive review requests. Therefore this report does not attribute the rejection to Auto-review, and does not assume /approve must resolve it.

The user restarted the desktop app; the update checker still reported the same version and restart_required. We cannot establish whether that status is stale or whether a pending update did not apply.

Expected behavior / questions

Please identify the supported diagnostic and recovery path:

  1. Which privacy-safe fields identify the enforcing policy for a pre-execution blocked by policy rejection with no reason or actionable denial?
  2. If eligible for narrow manual approval, how should this Windows version expose the record? If ineligible, what supported escalation/support path applies?
  3. Is a persistent restart_required after restart a known update-reporting issue?

Please preserve security restrictions; we are not requesting a bypass or a global policy relaxation.

Related reports: #50524 and #54746 have similar symptoms; a shared root cause is unconfirmed.

Privacy / scope

No credentials, private paths, source code, business data, full session transcript or raw logs are attached. The local app's update remains unloaded.

Additional non-executing source inspection

The published source tag matching the reported executor version, rust-v0.162.0-alpha.17.2 / windows_dangerous_commands.rs, contains a best-effort PowerShell token classifier that can return dangerous when a URL and a Start-Process/Invoke-Item token coexist in the parsed invocation. The source comments explicitly describe best-effort token scanning rather than a full PowerShell parser.

Our retained operation description includes a loopback health/shutdown request and ordinary process startup in the same command. This makes the published classifier a diagnostic lead, not confirmed attribution: we have no evaluator trace, normalized argument vector, matching-rule receipt, or proof that this exact source implementation produced our rejection. We have not executed or rewritten the denied action to test the hypothesis, and have not changed permission settings.

Could a maintainer identify the actual enforcing evaluator and its privacy-safe decision trace for this rejection, and clarify the supported review or fixed-version route if the classifier applies? Please distinguish a confirmed restriction from a command-classification defect. We are not asking for a workaround or a global relaxation.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 19, 2026
  2. Marwinner93 commented on Oct 19, 2026

    @Marwinner93

    I am seeing a similar opaque pre-execution rejection in the Codex Windows desktop app. A common root cause with this issue is not confirmed. OpenAI’s support assistant recommended adding the in-app feedback ID to a relevant GitHub report.

    Feedback ID: 01a13667-56e9-7ce0-abd2-8980da9f43f5

    Environment

    • Windows package: OpenAI.Codex 26.1013.3656.0 (package version, not an independently verified executor version).
    • Windows DisplayVersion 25H2, build 26200.9445.
    • Effective session context reports sandbox_mode=danger-full-access, approval_policy=never; the UI displays unrestricted Full access.
    • Observed on 2026-10-19, approximately 15:35–15:55 Europe/Berlin (CEST/UTC+2).

    Observed operation
    The user explicitly authorized resuming a local Python visual-model training project for GTA V Legacy Story Mode after tested evaluation fixes. The combined PowerShell command would update the project’s own curriculum JSON, remove its local STOP marker, and launch its existing Python runtime with stdout/stderr redirected to project files. It was rejected before PowerShell started:

    exec_command failed: CreateProcess … rejected: blocked by policy
    

    The process-launch portion was:

    Start-Process -FilePath (Join-Path (Get-Location) 'work/nitrogen-env/Scripts/python.exe') -ArgumentList '-u','outputs/nitrogen-route/live_mission.py','--directory','mission-policy-two-series','--keyboard','--background' -WorkingDirectory (Get-Location).Path -WindowStyle Hidden -RedirectStandardOutput (Join-Path (Get-Location) 'outputs/HeliPilot/test-results/live-adaptive.log') -RedirectStandardError (Join-Path (Get-Location) 'outputs/HeliPilot/test-results/live-adaptive-error.log')

    This is only an excerpt of the rejected combined command; we have not isolated which part triggers the decision. Routine read-only commands and Python tests work. The training remains stopped with its saved models and counters intact.

    No user rules/default.rules, project .codex/rules directory, or %ProgramData%\OpenAI\Codex\requirements.toml was found at the checked locations. %USERPROFILE%\.codex\.sandbox\sandbox.log is also absent. This does not rule out other managed or execution-layer restrictions.

    Please identify the enforcing component and a supported, narrowly scoped approval or diagnostic route for this rejection. We are not requesting a bypass or global policy relaxation. No raw logs, credentials, private absolute paths, or training files are included in this public comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions