Skip to content

Codex Windows pre-execution policy rejection blocking owner-authorized local gateway recovery #52914

Open

Description

@for20forlife666-coder

Summary

Codex on Windows rejected two identical, owner-authorized local gateway recovery attempts before PowerShell executed. The returned error supplied no blocking rule or reviewer rationale. Please identify the enforcement layer, blocking rule, and supported correction or approval procedure.

Potentially related: #40060. The same root cause has not been established for this incident; please consolidate if appropriate.

Environment and correlation identifiers

  • Platform: Windows, Codex Desktop/runtime.
  • Recorded Codex CLI version: 0.162.0-alpha.17.2.
  • Affected session: 01a12487-ad47-7a72-89f8-013356ac2cbd.
  • Recorded settings: approval_policy=never, approvals_reviewer=user, sandbox_policy=danger-full-access.
  • First rejection: 2026-10-10T07:00:27.214Z — call_9bef9c1b29ad40e1a18bcd8c87261df4.
  • Second rejection: 2026-10-10T07:09:22.803Z — call_8fcc688167654c2793fbfcbf89579512, after explicit owner approval of the bounded operation.

Observed error

Abbreviated to omit the private command contents:

exec_command failed: CreateProcess ... rejected: blocked by policy

Both attempts were rejected before command execution. No more detailed policy decision was available in the reviewed evidence. A local receipt described this as automatic approval review, but that attribution is unverified given the recorded never / user settings.

Requested operation

Restore an existing authenticated local Cyrus gateway through its established launcher and watcher: temporarily stop the existing recovery watcher; invoke unchanged Start-CyrusCommanderMediaGateway.ps1 -NoServeUpdate with a process-local COMMANDER_CODEX_COMMAND pointing to a signature-verified Codex executable under its original installation root; restore the watcher; attach the existing Eyes route through eyes-edge-route.py.

The environment included existing Twilio provider/call/SMS enable flags matching the established watcher environment. No calls or messages were requested. Their relevance to the rejection is unknown.

An earlier executed launch failed with the Cyrus application error CODEX_CLIENT_REBIND_UNTRUSTED. That is separate from the subsequent pre-execution policy rejections. Read-only checks of the corrected executable reported a valid OpenAI signature and passed the unchanged Cyrus profile guard.

Preserved evidence

  • Exact rejected-command SHA-256: 2934c2326d808dae0486fdbf864f02fa0dc6bae54636bc2b6e181479c504392c.
  • Local receipt identifier: evidence/v04-native-maintenance/completion-route-final-policy-blocker-20261010T072048Z.json.
  • Receipt SHA-256: 3a900a1397ff80f6c61470d7509753e62c51bc328c28caa570c3ed9813f6547d.

The raw command and logs remain private. This report includes no credentials, private endpoints, or log attachments. No fresh reproduction or recovery retry was performed to prepare this report.

Requested maintainer response

  1. Identify the enforcing component and specific blocking rule for the supplied call/session identifiers, if traceable.
  2. Identify who controls the restriction and explain whether this is related to Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060.
  3. Provide the supported, narrowly scoped correction, approval, or escalation procedure, if one exists.

No bypass, security weakening, or permission expansion is requested. The local acceptance campaign remains paused at this recovery blocker.

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