Skip to content

Windows app: “blocked by policy” with Full Access and unconfirmed feedback submission #53215

Open

Description

@rodcript

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:
  1. 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.
  2. Starting an existing Cloudflare tunnel was also rejected.
  3. 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:
  1. 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.
  2. Starting an existing Cloudflare tunnel was also rejected.
  3. 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

  1. added
    app
    on Oct 11, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Oct 11, 2026
  3. AphroditeOotsuka commented on Oct 17, 2026

    @AphroditeOotsuka

    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, and approval_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:

    • Installed/running Windows app package: OpenAI.Codex 26.1013.3656.0 (package metadata, not an About-dialog capture).
    • Bundled workspace runtime: 26.1013.11914.
    • Windows: Microsoft Windows NT 10.0.26200.0, x64.
    • User-level exec rules inspected: allow rules only; no explicit forbidden rule found. No local approvals_reviewer or custom [auto_review].policy was 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):

    $fixtureRoot = Join-Path (Get-Location) '.runtime-test-example'
    $testNode = Start-Process -FilePath (Join-Path $fixtureRoot 'bin/test-node.exe') `
      -ArgumentList @('--config', (Join-Path $fixtureRoot 'config.yaml')) `
      -WorkingDirectory $fixtureRoot -WindowStyle Hidden `
      -RedirectStandardOutput (Join-Path $fixtureRoot 'node.stdout.log') `
      -RedirectStandardError (Join-Path $fixtureRoot 'node.stderr.log') -PassThru
    $testNode.Id
    (Invoke-RestMethod 'http://127.0.0.1:18977/health').status

    The actual tool response contained:

    exec_command failed: CreateProcess { message: "Rejected(... rejected: blocked by policy...)" }
    

    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 policy response 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 policy rejection paths. Neither identifies the exact cause of the parent service-start rejection in this app/runtime combination.

    Could maintainers clarify:

    1. How to retrieve the responsible policy layer, matched rule/heuristic, and reason code for this error?
    2. Whether an authorized local service start can intentionally be rejected under these effective settings, and what supported review/remediation path applies?
    3. Whether per-call denial diagnostics can distinguish exec-policy, managed/host controls, and Auto-review verdicts?

    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:

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