Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Versão 26.1007.21434
What subscription do you have?
PRO
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
he Codex Windows desktop app rejects explicitly authorized operations with “blocked by policy” before process creation. I need help identifying the responsible policy and the supported remediation path.
The UI shows Full Access. Diagnostics collected on October 10, 2026 reported:
- sandbox_policy: DangerFullAccess
- approval_policy: Never
- Project trust level: trusted
- Runtime bundle: 26.1007.11041
- PowerShell: 7.6.5
Observed cases:
- Starting a local Next.js preview was rejected. The command was:
Env: Zappro Auth API URL='http://127.0.0.1:3119/'; node node_modules/next/dist/bin/next start --hostname 127.0.0.1 --port 3118
This preview used a synthetic local API and did not modify production data. - Starting an existing Cloudflare tunnel was also rejected.
- An attempt to write a diagnostic Markdown report was subsequently rejected.
Error excerpt:
exec_command failed: CreateProcess … rejected: blocked by policy
This is an excerpt, not the full raw error. One tool response was already truncated with “1273 chars truncated”; the missing content could not be recovered. Available diagnostics did not identify a rule ID or the exact policy layer responsible.
No actionable approval/review prompt appeared in the desktop app. I have not disabled protections or attempted to bypass the denials.
What steps can reproduce the bug?
Codex Windows desktop app rejects explicitly authorized operations with “blocked by policy” before process creation. I need help identifying the responsible policy and the supported remediation path.
The UI shows Full Access. Diagnostics collected on October 10, 2026 reported:
- sandbox_policy: DangerFullAccess
- approval_policy: Never
- Project trust level: trusted
- Runtime bundle: 26.1007.11041
- PowerShell: 7.6.5
Observed cases:
- Starting a local Next.js preview was rejected. The command was:
Env: Zappro Auth API URL='http://127.0.0.1:3119/'; node node_modules/next/dist/bin/next start --hostname 127.0.0.1 --port 3118
This preview used a synthetic local API and did not modify production data. - Starting an existing Cloudflare tunnel was also rejected.
- An attempt to write a diagnostic Markdown report was subsequently rejected.
Error excerpt:
exec_command failed: CreateProcess … rejected: blocked by policy
This is an excerpt, not the full raw error. One tool response was already truncated with “1273 chars truncated”; the missing content could not be recovered. Available diagnostics did not identify a rule ID or the exact policy layer responsible.
No actionable approval/review prompt appeared in the desktop app. I have not disabled protections or attempted to bypass the denials.
What is the expected behavior?
An identifiable denial reason and a supported desktop review or remediation path. I understand that Full Access does not necessarily override every security policy.
Current impact:
The application’s API and frontend are running locally, but its public endpoint remains unavailable because the existing tunnel could not be started. A prepared application update remains paused.
Feedback reporting also encountered a problem:
The in-app Feedback form ended with “Feedback submission not confirmed”, warning that resubmission could create a duplicate. Only a Feedback ID appeared, not a separately labelled Session ID. I have not resubmitted and cannot confirm server receipt.
Dates: October 10–11, 2026.
Timezone: America/Sao_Paulo, UTC−03.
Exact rejection timestamps are not available.
Please advise which policy caused these denials and which minimum sanitized diagnostic excerpts are needed. Full session transcripts may contain private source code and customer information, so they are not attached.
Additional information
No response
Activity
github-actions commentedon Oct 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
AphroditeOotsuka commentedon Oct 17, 2026
Additional sanitized diagnostic evidence from another Windows installation, collected on 2026-10-18 (Asia/Shanghai). I am adding this to the existing report rather than opening a duplicate.
This is not confined to subagent permissions. Local thread records show the parent and its worker subagents with the same effective settings: filesystem sandbox disabled /
danger-full-access, andapproval_policy: never. The parent itself received a pre-execution rejection when starting an isolated local development service. Worker threads also received rejections on separate cleanup commands. Ordinary reads, builds, and tests worked in those threads.Environment at diagnostic time:
OpenAI.Codex 26.1013.3656.0(package metadata, not an About-dialog capture).26.1013.11914.Microsoft Windows NT 10.0.26200.0, x64.forbiddenrule found. No localapprovals_revieweror custom[auto_review].policywas configured. This does not rule out managed or host-side enforcement that is not exposed to the tool.Confirmed parent-thread failure: 2026-10-16 14:17:54.035 UTC. The command used this structure (paths and executable renamed below):
The actual tool response contained:
It failed in 0.0 seconds, with no exit code or application output. The same service was subsequently started manually by the user and supported later HTTP/PTY tests. This supports a pre-execution tool/policy rejection; it does not establish which policy implementation produced it.
I could not find a rule ID or reviewer rationale in the available tool response or targeted local app logs. A worker's separate command containing recursive forced cleanup was also rejected; that denial may be intentional, and is not offered as proof that all denials are bugs. In particular, the earlier assumption that every
blocked by policyresponse was an Auto-review agent verdict was not supported by the raw evidence.Current documentation says subagents inherit parent permissions, and Auto-review ordinarily needs an eligible interactive approval policy. The open-source exec-policy code also has generic
blocked by policyrejection paths. Neither identifies the exact cause of the parent service-start rejection in this app/runtime combination.Could maintainers clarify:
No protections were changed, and denied actions were not retried through alternate launch mechanisms. This is historical evidence, not a claim of a fresh reproduction on the collection date. Full transcripts, credentials, project source, machine/user paths, and private session identifiers are deliberately omitted.
References: