Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
A subsequent product-version check recorded 26.1013.40934 / build 20770 / prod, with the updater reporting up_to_date at that check. This is a later observation, not proof of the exact runtime at the original refusal.
What subscription do you have?
Not collected for this report.
What platform is your computer?
Windows, using the desktop app and PowerShell for local execution. Exact Windows build was not collected for this report.
What issue are you seeing?
An explicitly authorized local JSON preparation tool call was rejected with blocked by policy before the Python process was launched. The returned information did not identify an actionable rejecting rule or component.
The intended command only reads three existing JSON inputs and exclusively creates three new JSON files in a staged candidate package:
- receipt.schema.json
- allowlist.json
- method-basis.json
It does not execute the candidate evidence or capture code. No files were created by the rejected call. The outer wrapper's execution_started flag was not evidence that Python started.
What steps can reproduce the bug?
This is a report of the original recorded refusal; it has not been replayed to manufacture a reproduction.
- Affected chat/session:
01a13efa-c33d-7870-85ad-95546bca5bc5 - Turn:
01a147b1-c6dc-7891-a690-2c3a7a1a7950 - Tool call:
call_6237a227e6f84734a83255450faaaf0c - Recorded time window: 2026-10-17T03:04:51.674Z–03:04:52.269Z
- Execution path:
exec_commandthrough PowerShell, invoking a local Python JSON-preparation program. - Recorded context:
approval_policy=never,sandbox_mode=danger-full-access. These values do not establish which component made the refusal. - Command length: 7098 UTF-8 bytes
- Command SHA-256:
92be584b9e8a520a252edef57e78e5942efab7c14c4713f29c94660339c4dbb2
The original desktop client was already checked and had no matching /approve or Denials entry. No further denial or approval probe was run.
What is the expected behavior?
Please identify:
- Which policy, review, hook, or execution-host component rejected this exact tool call, and the actionable reason.
- The supported recovery steps for this desktop execution path. If an administrator must act, specify the exact control and minimum required scope.
- How to confirm recovery, and whether one retry of the same scoped JSON-preparation operation is appropriate.
An authorized operation should either execute within the effective policy or return an actionable refusal and an applicable supported recovery route. This report is not a request to bypass safeguards.
Additional information
Existing feedback: In-app feedback about this problem was already submitted. This issue follows up on that existing report; no duplicate in-app feedback has been submitted. The feedback-specific reference number is not available in the current handoff, so the affected chat, turn, call ID, timestamp and command fingerprint above are supplied for correlation. The affected chat/session ID is not asserted to be a separate feedback receipt ID.
A later, explicitly authorized capture of the exact bundled codex doctor --help exited successfully. Its help text advertises --json and --summary, but this does not establish the internal behavior of a full doctor run or clear the original policy refusal. Full doctor was not run.
The blocked JSON command has not been retried, rewritten, split, or moved to another tool to bypass the rejection. Permissions and global configuration have not been changed.
Only this manually prepared summary and correlation identifiers are included. No raw logs, session transcript, diagnostic raw output, credentials, source files, or attachments are uploaded.
Related symptom reports (same root cause is unproven):
Activity
github-actions commentedon Oct 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
CreateProcess: blocked by policy#53977Powered by Codex Action
huangweifu888-jpg commentedon Oct 18, 2026
Follow-up to the duplicate-suggestion bot: I reviewed the bodies and all comments currently present on the five suggested reports.
apply_patch) succeeded after the PowerShell request was rejected. The rejecting rule remains unknown.rust-v0.162.0-alpha.17.2, while explicitly distinguishing it from a captured matching-rule trace.For #53977, I also read the linked published classifier:
https://github.com/openai/codex/blob/rust-v0.162.0-alpha.17.2/codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs#L38-L55
That function checks for a URL together with specific command tokens, including substrings containing
start-processorinvoke-item. The other reporter describes quoted search text being included in this scan. This is a concrete candidate mechanism to investigate, not an established explanation of our refusal.We have not established that this published tag corresponds to the desktop runtime that rejected our call, nor obtained a trace showing that this predicate matched our original JSON-preparation command. We have not rewritten, split, or retried the command to test that hypothesis.
Could a maintainer please:
call_6237a227e6f84734a83255450faaaf0c, turn01a147b1-c6dc-7891-a690-2c3a7a1a7950, at 2026-10-17T03:04:51.674Z–03:04:52.269Z, with the actual rejecting component and rule.CreateProcess: blocked by policy#53977 applies to this exact call and runtime. If not, identify the applicable rejection category.The original operation only prepares
receipt.schema.json,allowlist.json, andmethod-basis.json; it does not execute the candidate evidence/capture code.This follows the existing in-app feedback and this issue; no new feedback or issue is being created. No raw logs, transcripts, diagnostic raw files, credentials, source files, or attachments are included. No rejected command has been retried, no alternate tool used to perform it, and no permissions or global configuration changed.