Skip to content

Windows desktop: pre-launch CreateProcess policy denial with full-access turn context and no actionable reason #53979

Open

Description

Summary

Codex desktop on Windows rejected an explicitly authorized, bounded read-only evidence-collection command before PowerShell or SSH started. The response gave only CreateProcess / blocked by policy, with no specific enforcing component, matching rule, or supported next step.

This report requests diagnosis and a supported resolution, not a policy exemption or safeguard bypass. Full-access settings and user authorization are not claimed to override other security controls.

Environment and evidence provenance

  • Component: Codex desktop on native Windows.
  • App/package version: 26.1007.9446.0, derived from the running application's installed package path during later local read-only inspection; not read from an About dialog.
  • Codex version recorded in the original failed session: 0.162.0-alpha.17.2.
  • Windows: Windows 10 Pro Education, 22H2, build 19045.7725, x64.
  • Later local diagnostic host: PowerShell 7.6.5. The denied PowerShell process itself never started.
  • Subscription, failure-time app elevation, and applicable managed/MDM requirements: not established.

Exact incident identifiers

  • Command submission: 2026-10-14T10:01:21.663Z (18:01:21.663, Asia/Shanghai, UTC+08:00).
  • Rejection response: 2026-10-14T10:01:21.753Z.
  • Outer functions.exec call ID: call_71fdce3b9d9b4afbab5efab491831667.
  • A separate inner exec_command invocation ID was not supplied.
  • Successfully submitted in-app feedback ID: 019eee82-ee9c-7d90-8b01-a9344ef2e49b.

Sanitized error excerpt, not the full original command or raw transcript:

exec_command failed: CreateProcess
Rejected(<command redacted> rejected: blocked by policy)

Effective settings in the original failed turn

These values were read from the original turn-context record associated with the call, not inferred from the current UI or a later configuration file:

sandbox_policy.type = danger-full-access
permission_profile.type = disabled
active_permission_profile.id = :danger-full-access
approval_policy = never
approvals_reviewer = user

No actionable approval prompt was exposed. Since the recorded approval policy was never, the absence of an interactive prompt is not itself asserted to be a bug.

Intended operation and actual outcome

The intended command was an in-memory PowerShell/.NET workflow, bounded to one SSH connection for a fixed source-file read and four anonymous document GETs. It was not authorized to modify remote files or a database, submit forms, purge caches, deploy, delete data, or explicitly save local evidence files. Private paths, hosts, arguments, environment values, and source code are intentionally omitted here.

This is a description of the original incident, not a newly executed minimal reproducer.

  • Process creation was refused.
  • PowerShell/SSH startup and the intended remote requests did not occur.
  • No native process exit code or native stdout/stderr exists for this denied launch; these are NOT RUN, not exit 0 or empty captured streams.
  • The denied command was not resubmitted, split, rerouted, or retried with broader permissions.

Later read-only inspection and limitations

  • Independent local inspection succeeded; that does not prove the denied command was permitted or identify its rejecting rule.
  • The current local configuration specifies Windows sandbox elevated; it is not presented as proof that this implementation governed the original full-access turn.
  • The readable local command-rule file contained 47 allow entries and no detected prompt or forbidden decisions. This is not managed/platform-policy clearance.
  • The expected .sandbox/sandbox.log was absent. Available dated sandbox logs ended on October 13; no corresponding October 14 sandbox log was found.
  • No secret-directory contents, credentials, raw logs, session files, screenshots, private configuration, or business/source data are attached to this public issue.

Related reports and deduplication

Similar symptoms were reported in #53977 and #53215, but those are different incidents. A shared root cause has not been established. Repository searches for this report's feedback ID and outer call ID returned no existing issue at submission time.

Requested guidance

  1. Using the incident and feedback identifiers, identify the component and restriction that rejected this invocation.
  2. Explain whether this is an intended restriction or an unintended match; the available record cannot determine that.
  3. Provide the supported resolution/review route, or specify the minimum additional sanitized evidence needed.

Please do not suggest treating Full Access, changing execution channels, or broad permission expansion as a bypass. No further reproduction, production access, or configuration changes are being performed under this report.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 14, 2026
  2. ricardojbf commented on Oct 27, 2026

    @ricardojbf

    Additional bounded read-only incident

    I am reporting an additional bounded local incident that appears relevant to
    this issue. This is a request for diagnosis and a supported route, not a request
    for a policy bypass, broader permissions, or a retry through another mechanism.

    A fresh, ephemeral Codex CLI 0.160.0 review ran with a read-only sandbox,
    --ignore-user-config, and the under-development
    skip_host_skill_discovery feature enabled. Its first intended operation was a
    read-only measurement of a fixed local documentary candidate and evidence
    bundle. The tool router rejected process creation before the command ran:

    exec_command failed: CreateProcess
    … rejected: blocked by policy
    

    No candidate/evidence content was returned and no command-completion event
    occurred. The review consequently reported BLOCKED; it made no technical
    finding about the candidate.

    Existing retained records make a blanket explanation based solely on
    PowerShell, the local input-path category, or raw-byte handling insufficient,
    but the available denial contains no rule ID, evaluator, or matching rationale.
    The observed differences include command composition and feature/context state;
    I do not infer a shared root cause from them.

    Could a maintainer please identify:

    1. the enforcement layer and rule/category that rejected this bounded request;
    2. whether skip_host_skill_discovery can affect command approval behavior;
      and
    3. whether a documented, still-read-only route exists for verifying an
      explicitly bounded local documentary input bundle?

    No raw logs, repository identity, local paths, candidate/evidence content,
    credentials, configuration content, or reproduction command are attached. The
    denied operation has not been retried, split, rerouted, or relaxed.

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