Skip to content

Windows app: bounded icacls snapshot test rejected before execution with no policy reason or supported resolution #55642

Open

Description

@studioflows

What version of the Codex App are you using?

Installed Windows package: OpenAI.Codex 26.1013.4894.0 (read from Get-AppxPackage). PATH CLI separately reports codex-cli 0.163.0-alpha.10.2; that is not an attestation of the app-server version that rejected the command.

What subscription do you have?

Not independently verified for this report.

What platform is your computer?

Microsoft Windows NT 10.0.26300.0.

What issue are you seeing?

A user-authorized, disposable Windows permissions-snapshot qualification is rejected by exec_command before process creation. The surfaced error contains:
exec_command failed: CreateProcess ... rejected: blocked by policy

The test was intended to create a uniquely named fixture below the Windows temporary directory, call the System32 icacls executable with /save to verify snapshot path/DACL mapping, compare the snapshot, and remove only that disposable fixture after checking the resolved absolute cleanup boundary. The cleanup includes Remove-Item -Recurse -Force. The attempted test does not modify service or production ACLs.

PowerShell never started for the rejected attempt; no fixture, snapshot, ACL change, or cleanup began. Ordinary read commands continue to work. The user reports no approval/review card. No rule ID, policy issuer, explanatory verdict, or actionable supported resolution is returned.

What steps can reproduce the bug?

Observed in an existing Windows desktop conversation on 2026-10-20:

  1. Submit the bounded disposable-fixture PowerShell command using exec_command in Full Access context (danger-full-access, approval_policy=never).
  2. Observe the pre-execution rejection above.
  3. A later explicitly user-requested retry supplied the original command unchanged, verified by SHA256 e8586f7bb1e8878a6a6bdfe06badf639b55bc3e1a7fc362eff9bc14e683fd856, to the same tool and actor. It was again rejected before execution.

This is an observation, not a minimized reproducer or a confirmed diagnosis. The private raw command/session record has not been posted publicly. One earlier copied retry had two escaping errors and is excluded from the exact-command retry claim.

What is the expected behavior?

If the command is forbidden, return the responsible policy/rule and an actionable explanation or supported qualification route. If it is eligible for review, expose the supported review path. This report does not request bypassing a restriction or changing security settings.

Additional information

Full Access normally uses approval_policy=never. That value explains the lack of interactive approval prompts but does not identify why this command was denied. A saved user preference of on-request was also observed; this alone does not establish a settings synchronization bug.

A targeted read-only inspection found no local user/current-directory/ancestor rules directories, documented system requirements.toml, or legacy managed_config.toml at the inspected locations. Managed, executor, or in-memory policy remains unobservable to this investigation.

Related diagnostic gap: #51791 and #50979. Unlike the command discussed in #51791, this fixture intentionally contains a guarded recursive force-delete of its own temporary directory. I am not claiming the same parser defect or that this denial is erroneous. Please identify the actual issuer/reason and supported way to qualify the Windows operation without evasion.

No alternate actor, GUI terminal, security-policy edit, or other route was used to run the rejected operation. Raw session data, project identifiers, credentials, and private file paths are intentionally omitted.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 20, 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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions