Repository navigation
Description
Component and installed environment
- Codex Windows desktop, observed October 2026.
- Currently inspected Windows Appx package:
26.1013.4894.0. - Currently inspected bundled CLI:
0.163.0-alpha.10.2. This is a current observation, not attestation of the binary that evaluated the historical request. - Windows version reported by the diagnostic app-server:
10.0.26200. - Subscription details are not included in this public report.
Observed problem
An explicitly authorized local QA desktop-app launch was rejected by exec_command before PowerShell was created:
exec_command failed: CreateProcess ... Rejected(... rejected: blocked by policy)
The surfaced result did not include a numeric OS error, matched rule, policy ID, decision source, or actionable remediation.
The desktop process was not created. IPC and page readiness were not reached. This is not a demonstrated application-startup failure.
Intended command shape (not a minimized runnable reproducer)
The single original PowerShell -Command string contained:
- Four process-local environment assignments for the test connection and isolated data locations.
- Creation of the dedicated test directory, piped to
Out-Null. Start-Processfor the existing local QA desktop executable, specifying its working directory, visible window, stdout/stderr file parameters,PassThru, and stop-on-error.- A JSON projection of returned process metadata.
The original command does not contain a delete command. No alternative executable request, split-command workaround, proxy, or encoded command was attempted after the refusal.
Recorded permissions and checks
The rejected turn recorded:
{
"approval_policy": "never",
"approvals_reviewer": "user",
"sandbox_policy": { "type": "danger-full-access" },
"permission_profile": { "type": "disabled" }
}Read-only follow-up checks:
- PowerShell
Parser.ParseInputof the unchanged original command as DATA: zero syntax errors, seven top-level statements. - Stdout/stderr handling uses
Start-Process -RedirectStandardOutput/-RedirectStandardError, not PowerShell redirection operators. - Official
codex execpolicy checkagainst the visible existing user rules, using the whole original PowerShell argv:{"matchedRules":[]}, exit 0. - The visible user file has 57 allow entries and no prompt/forbidden entries. Inspected project/ancestor/machine rule directories were absent.
- A standalone read-only app-server probe from the original working directory returned
configRequirements/read: requirements=null; this does not establish the original live execution-tool policy. - No matching Windows CodeIntegrity, AppLocker or Defender event was found in the inspected incident window. Absence of a logged event is not proof that every OS mechanism is excluded.
These checks do not prove that compound-command handling caused the rejection or that a built-in, managed, or execution-service policy is absent. The normal rules checker is not being presented as a full effective-policy verdict.
Existing private feedback
A sanitized in-app feedback/upload report completed successfully, with logs disabled, no attachments and no original conversation attached. Its returned correlation ID is not an independently verified support-ticket number or unlock decision.
The private correlation details and original Call ID can be shared through a maintainer-provided private support channel. They are intentionally not published here.
Requested maintainer response
- How can the original Call ID be privately correlated with the winning policy decision?
- Which component, policy/rule ID or internal rejection mechanism can produce this response for the described non-deleting launch under the recorded mode?
- Is this intended enforcement, a command-classification issue, configuration propagation, or another tool implementation problem?
- Is there an applicable official fixed build? Please identify its version and supported rollout/rollback path.
- If configuration or admin action is required, which exact owner/control should be used, and how should effective release be verified without bypassing safeguards?
We request a formal supported resolution, not removal of organization/OS protections or an alternate route around the refusal. Please provide an actionable decision reason or the canonical issue and applicable remediation.
Related diagnostic-gap reports: #51791 and #54610. A shared cause is not established; force-delete explanations in those discussions are not assumed to apply to this command.
Privacy and current status
No credentials, account contact details, source code, original commands, private paths, business data, raw logs, session IDs or Call IDs are included. No security setting or product source was modified. Native acceptance remains NOT_RUN. This report was prepared and submitted with the affected user's explicit request to pursue official support.
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
330114067 commentedon Oct 21, 2026
Read-only follow-up after the duplicate pointers to #54942 and #55177: I inspected the public source tag matching the currently installed bundled CLI,
rust-v0.163.0-alpha.10.2. No new native execution request or workaround was attempted.There is now a concrete source-level explanation to check, rather than only a generic policy-provenance question:
codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs(bloba904e9249d8e76eb237c13a2654d098218d8facc, lines 4-14, 43-52, 127-169) lowers only a deliberately small literal CST subset. The original script includes environment assignments, variable/property references and an object projection, outside that subset.codex-rs/core/src/exec_policy.rs, lines 876-903, falls back to the original argv when lowering does not produce plain commands.codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs(blobcc1ae671c831130dd33d11bac690d3052430b6dd, lines 20-55 and the URL helper) scans a flat best-effort shlex token sequence. A URL anywhere in those words plus a token containing Start-Process is classified as dangerous. In this case the HTTP URL is process-local connection configuration; the Start-Process target is a local executable, not that URL.codex-rs/core/src/exec_policy.rs, lines 770-806, maps an unmatched dangerous command to Forbidden with Never, versus Prompt with OnRequest. Lines 1058-1118 can render DangerousCommandMatch::Other as the same genericblocked by policymessage.Source links:
Important limits: this is inspection of the currently installed version's matching public tag, NOT attestation of the binary that decided the historical request, and not a recovered evaluator trace. The original normalized candidates and winning decision remain unavailable. The earlier standalone execpolicy check remains only a local rule-file result; it is not claimed to exercise the full built-in heuristic.
Could maintainers please confirm:
We have NOT removed/moved the URL, split or rewritten the executable command, created a proxy launcher, added a blanket allow rule, changed configuration, or retried the native launch. No private paths, raw command, original correlation identifiers, credentials, or logs are included. Native acceptance remains NOT_RUN pending a verified supported resolution.