Skip to content

Windows desktop: local cleanup and JSON bookkeeping rejected with opaque "blocked by policy" #53512

Open

Description

@ryourininmiyu-cloud

What version of the Codex App are you using (From “About Codex” dialog)?

Installed Windows package: OpenAI.Codex 26.915.4065.0, verified using Get-AppxPackage. This is the package version; it was not verified in the About dialog.

What subscription do you have?

Not collected for this report.

What platform is your computer?

Windows 11 Pro x64, version 10.0.26200 (build 26200). Local workspace, PowerShell command execution.

What issue are you seeing?

Several user-authorized local operations were rejected before process creation. The execution-tool error includes CreateProcess and rejected: blocked by policy, with reported wall time 0.0 seconds. It does not identify the rule, rejecting component, or a supported recovery path.

The affected operations were:

  1. Cleanup of one explicitly named temporary authentication-file copy in an isolated test terminal, after read-only checks confirmed that terminal's processes had exited and its port was not listening. The command used Remove-Item -LiteralPath <redacted-single-file> -Force -ErrorAction Stop. The original authentication source was to be preserved.
  2. A later PowerShell here-string sent to Python to prepare a local start-notice document and update local JSON monitoring state. The rejected command did not itself launch the test application.
  3. A narrower local JSON bookkeeping operation was also rejected.

Other read-only commands and ordinary monitoring-record writes continue to succeed, so this is not a report that every shell command is blocked.

The task reports approval_policy=never and sandbox_mode=danger-full-access; the local configuration also contains those values. A previous explanation attributed the rejection to automatic approval review, but that attribution was not established. The enforcing layer and the detailed reason remain unknown.

What steps can reproduce the bug?

Observed sequence in the submitted session, not a separately rerun minimal reproduction:

  1. Request the bounded local cleanup described above.
  2. Observe a pre-process policy rejection.
  3. Continue independent read-only work and prepare later local bookkeeping documents.
  4. Observe the same generic rejection for those separate bookkeeping operations.

Relevant failed calls (UTC):

  • 2026-10-12 22:41:01.694Z — cleanup; call_47b0a4e1dadb427faa80e21813e008be
  • 2026-10-12 23:15:11.634Z — notice/state preparation; call_a4c55f0992264055857e1c97c886211c
  • 2026-10-12 23:16:59.931Z — narrower state bookkeeping; call_8bd2c762ba024e73a9a7a061323aea11

Feedback was submitted successfully through the app.
Feedback ID: 01a12ee9-523a-71f2-98de-75d5534cd695

No additional reproduction was executed to prepare this report. Please use the submitted feedback and call IDs to inspect the original commands; private paths and full command text are omitted here.

What is the expected behavior?

If a command is correctly denied, provide an actionable diagnostic identifying the rejecting layer/rule and the supported resolution or review route. If this is a command-classification false positive, please identify a supported fixed release.

User authorization and full filesystem access are not being asserted as overrides of safety controls. This report requests diagnosis and a supported resolution, not a bypass.

Additional information

Related symptom reports: #38886 (single-file cleanup) and #50524 (opaque rejection). A shared root cause has not been established. This session also contains a separate rejection of local JSON bookkeeping without launching the target application.

No credentials, account numbers, private paths, application source, screenshots, or raw session logs are attached to this public report.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 13, 2026
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