Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Windows Codex desktop. Bundled CLI recorded during investigation: 0.163.0-alpha.10.2. The separate desktop About-version at the original failure was not captured; please do not treat the bundled CLI version as the app package version.
What subscription do you have?
Account/contact information was supplied privately through OpenAI Help Center and an existing in-product Bug feedback submission. It is intentionally omitted from this public report.
What platform is your computer?
Windows, PowerShell. Exact OS build at rejection was not independently captured for this report.
What issue are you seeing?
An owner-authorized, guarded read-only verification launcher was rejected before process creation in Codex desktop. The effective session reported:
approval_policy = never
sandbox_mode = danger-full-access
The returned error fragment was:
exec_command failed: CreateProcess ... Rejected(... rejected: blocked by policy)
No PowerShell process started, no approval prompt appeared, and no enforcing policy/rule identifier, decision diagnostic, or actionable explanation was provided.
The command combined local deadline/hash checks, writing public route observations, and Start-Process of a reviewed local PowerShell verifier. The verifier was restricted to six read-only requests against an existing resource. It did not perform deployment, source upload, credential creation, email, or activation. This is a description of the observed operation, not a claim that user authorization overrides product policy.
A separate built-in rules check, with the original command supplied as data and only the inspected local default.rules file, exited 0 and returned:
{"matchedRules":[]}That local file contained five allow rules and no deny/prompt rules. This result does not identify or clear other internal/managed policy layers.
Additional read-only inspection found no explanatory local managed requirements/configuration override. A separate stdio app-server initialization followed by configRequirements/read and config/read returned requirements:null and null on-disk approval/sandbox-related values, without identifying the active chat's injected effective-policy source. A different local proxy diagnostic failed with Windows 10050; its causal relationship to the original rejection is unknown.
The specific denied operation has not been retried, split into alternate calls, or routed through another tool. Credentials were revoked and the existing installation remains paused. Local artifact verification subsequently succeeded, which does not establish permission for the denied operation.
What steps can reproduce the bug?
Observed incident, not an independently established minimal reproduction:
- In a Windows desktop chat with the effective settings above, request the previously reviewed local guarded verification launcher.
- Submit the compound PowerShell launcher through exec_command via functions.exec.
- Observe immediate CreateProcess rejection before PowerShell starts, with only “blocked by policy.”
- Inspect the original command using the local rules checker as data; observe matchedRules:[] and no explanation of the rejecting layer.
I have deliberately not run a new reproduction or altered policy merely to generate evidence. The exact original command is retained in local evidence. Session/call/turn identifiers and timestamp were supplied in the private Help Center report and earlier feedback; they are withheld here to avoid publishing private workflow details.
What is the expected behavior?
If prohibited, return a privacy-safe policy/decision identifier, the enforcing layer and a supported explanation/review path. If an owner/administrator can authorize the bounded operation through supported configuration, identify the applicable mechanism. With approval_policy=never, clearly distinguish an intentionally unavailable approval path from a classifier defect or configuration issue.
Please investigate whether this incident falls under a known Windows command-classification false positive, or a different enforcement layer. Do not infer the specific cause from the generic error or matchedRules:[] alone. This report does not request broad allowlists, disabled safeguards, or a bypass.
Additional information
Potentially related reports, not confirmed duplicates or a diagnosis of this incident:
- Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060 — Windows Start-Process plus unrelated URL text in a compound PowerShell script.
- Windows PowerShell safety heuristic flags UseShellExecute=false with unrelated loopback URL text (0.162.0-alpha.2) #54463 — Windows safety heuristic matching UseShellExecute=false plus unrelated URL text.
- Windows CLI: pip dry-run rejected before process creation with no actionable policy reason #55752 — Opaque pre-process rejection and differing diagnostic/session contexts.
A normal official resolution is needed so the owner can continue from preserved work rather than recreate resources. No source, credentials, private keys, customer records, email address, production account identifiers or raw transcript are attached.
OpenAI Help Center's AI assistant accepted the private report/contact email but explicitly said it could not open/escalate a technical case or issue a reference number in its logged-out chat. The official troubleshooting documentation directs Codex bugs to this repository. Please advise a private channel for correlating the existing feedback and server-side decision.
Follow-up: verified Windows fix/release findings and supported continuation request (2026-10-21)
The owner explicitly authorizes this update and requests a supported way to continue from preserved work, without policy bypass.
Verified findings
- PR #54076 was merged on 2026-10-14 at 19:48:07 UTC, commit
80b88a700e4300022fe1893ecca9b8376d0c85d9. - That fix classifies independently parsed literal PowerShell commands separately. Its description and source explicitly retain conservative handling of pipelines, script state, executable strings and shell/terminal wrappers. Regression tests were added upstream; they were inspected, not locally executed in this assessment.
- The change is present in upstream main, but absent from the exact source files read at latest stable CLI tag rust-v0.163.0 and previously recorded bundled-runtime tag rust-v0.163.0-alpha.10.2. This is a source/tag comparison, not binary attestation or a per-call internal trace.
- The running desktop's normal built-in update check reports installedVersion
26.1016.51333, installedBuildVersion21161, installedReleaseChannelprod, statusup_to_date. No update was downloaded or installed. - At the assessment, Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060, Windows PowerShell safety heuristic flags UseShellExecute=false with unrelated loopback URL text (0.162.0-alpha.2) #54463 and Windows CLI: pip dry-run rejected before process creation with no actionable policy reason #55752 remained open. Their fetched comments contained no maintainer-confirmed applicable desktop resolution. The merged PR and community comments do not establish that our unchanged compound launcher is covered.
Distinguish approval mode from the unidentified blocking rule
The owner asks whether she personally put the blocking policy in place. We have no evidence that she authored a deny rule. The inspected local rules contained allow entries only, and their standalone check returned {"matchedRules":[]}; this does not exclude built-in or managed enforcement.
The official sandbox documentation describes Full Access as danger-full-access plus approval_policy = never. The recommended configuration documentation notes that never/Full Access may not produce a reviewable approval request. These facts do not identify the source of this specific rejection or establish that changing a setting would resolve it.
Specific answers requested from OpenAI
- Which supported signed Windows desktop version/build and official release channel includes PR Avoid false URL-launch detections in literal PowerShell commands #54076 or a broader applicable correction? Please distinguish desktop's bundled executor from standalone CLI releases.
- Does that build cover the unchanged compound guarded read-only launcher described above, including its script state, or does conservative handling still reject it?
- If this requires approval rather than a code fix, what is the normal supported exact-action approval process for this desktop/account? Please identify the relevant UI/configuration prerequisites, required user/admin role, and how to obtain a reviewable request while preserving the actual policy. We are not asking for a blanket allow rule, disabled safeguards, alternate executor, or a rewritten/split command to evade classification.
- Please identify the enforcing policy/layer and origin for the original call: built-in product behavior, app-selected permission profile, explicit owner-authored rule, organization/device policy, or another source. If available, provide a privacy-safe decision/policy ID or the minimal private diagnostic fields needed. If the origin cannot be established, please say so.
- Confirm the supported way to resume from the existing Worker and persistent installation journal, retaining completed SQL/R2 work, encrypted backups, evidence and retention locks. No reset/recreation of completed resources is desired.
The installation is paused. Temporary deployment credentials remain revoked, and monitoring/producers/schedules/public URLs/email remain disabled according to the latest saved observations. No denied command was retried, no policy/configuration or installed binary was changed, and no production operation ran for this assessment. Original installation deadline and fresh-verification gates remain binding; this update does not extend authorization or reset the journal.
Private contact and session/call identifiers remain in the earlier private report/feedback and are not added to this public update.
Activity
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action