Skip to content

Windows app: MCP preparation command rejected before process creation without actionable policy detail #53787

Open

Description

@basyucel-svg

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

Installed Windows package: OpenAI.Codex 26.1007.2314.0, verified with Get-AppxPackage while preparing this report. This is a package version, not independently verified in About or against the build at the original denial time.

What subscription do you have?

Not collected.

What platform is your computer?

Microsoft Windows NT 10.0.26300.0, X64; PowerShell 7.6.5. Local Windows workspace.

What issue are you seeing?

A preparation command for connecting a local assistant (Pi) to Chrome through the official Chrome DevTools MCP path was rejected twice through functions.exec -> tools.exec_command, before child-process creation. The second request followed explicit user authorization.

The command checked two local paths, fetched public PyPI metadata for the Python mcp package, and invoked an existing user-required local audit helper with start. That helper records the work session, so this was not an entirely read-only command. The command itself did not launch Chrome, open a debugging port/pipe, attach to a browser, or install a package.

Both results use this error structure (command text redacted):

exec_command failed: CreateProcess {
  message: "Rejected(\"<PowerShell command> rejected: blocked by policy\")"
}

Both reported Wall time 0.0 seconds. No child exit code, numerical Windows error, policy rule identifier, or actionable review reference was supplied.

What steps can reproduce the bug?

These are original recorded observations, not a newly rerun or minimized reproducer. No denied operation was retried to prepare this report.

Recorded rejection (UTC) Istanbul (UTC+03) Tool call
2026-10-13 21:57:25.941Z 2026-10-14 00:57:25.941 call_0d0664006d534650b95e52778b9518cf
2026-10-13 21:58:48.052Z 2026-10-14 00:58:48.052 call_4ec7e1d2e56e424dbc879f003eb02d8e

Redacted command template, preserving operations and arguments:

$piMcpRoot='<LOCAL_ROOT>/chrome-mcp'; [pscustomobject]@{RootExists=(Test-Path -LiteralPath $piMcpRoot); ManifestExists=(Test-Path -LiteralPath '<LOCAL_MANIFEST>/chrome-mcp-runtime.json')}; $piMcpRelease=Invoke-RestMethod -Uri 'https://pypi.org/pypi/mcp/json'; [pscustomobject]@{Version=$piMcpRelease.info.version; RequiresPython=$piMcpRelease.info.requires_python}; & '<PYTHON>/python.exe' '<LOCAL_AUDIT_SCRIPT>' start --project '<PROJECT>' --task '<TASK_DESCRIPTION>' --requires-backup

The two original inputs differ only in the audit task-description string:

  1. Pi resmi Chrome MCP yerel baglanti hazirligi, tarayici izni oncesi yetenek dogrulamasi
  2. Kullanici onayli Pi resmi Chrome MCP baglantisi kurulum ve canli okuma

These describe preparation and user-authorized setup in Turkish; they do not add executable operations. The error's echoed command was truncated, but the complete original request inputs were checked locally.

Read-only checks after the denials found:

  • The current workspace is configured trust_level = "trusted"; inspected local configuration and later recorded turn contexts show sandbox_mode = "danger-full-access", approval_policy = "never", and reviewer user. This does not exclude higher-priority or host/session restrictions.
  • The inspected local rules file contains 53 allow rules and no forbidden rules. This is not proof of the complete effective policy.
  • In the 21:55–22:01 UTC window, no matching AppLocker or Defender event was found. Code Integrity events in that window concern an unrelated executable. This limited negative evidence does not universally clear every Windows enforcement layer.
  • Ordinary read-only commands continued to succeed in the same chat. During this reporting task, the audit helper also started a separate report-only session successfully; this was a different task, not a rerun of the denied setup.

The exact rejecting rule and component remain unknown. In particular, the message alone does not establish an Auto-review decision, a Chrome enterprise policy, or a Windows execution-policy failure.

What is the expected behavior?

Please review the two original denials and clarify whether this command is intentionally prohibited or misclassified. If denied as intended, provide a privacy-safe rule/category identifier and a supported action-specific review or recovery route. If a bug, identify a supported fix.

User authorization and full filesystem access are not claimed to override safeguards. We are not requesting broad allow rules or disabling protections. A bug-report acknowledgment is not execution approval; Pi–Chrome setup remains stopped pending a supported resolution.

Additional information

Related opaque-denial reports: #53512 and #53771. A shared root cause is unproven. This case adds a public package-metadata/path-check/local-audit command and two precisely timestamped original call records.

The user explicitly requested this report. No credentials, cookies, browser-profile data, private project/user paths, screenshots, raw configuration, or full chat/log bundle are attached. Only this redacted report is being submitted through the GitHub reporting route linked in the official troubleshooting documentation.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    mcp
    on Oct 13, 2026
  2. basyucel-svg commented on Oct 13, 2026

    @basyucel-svg
    Author
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

    appbugmcpsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions