Skip to content

Sites hidden stdin blocked after approved additional permissions under granular policy #51018

Open

Description

@kanghoson11

Environment

Windows Codex desktop 26.930.31730 (build 12947), bundled runtime reported 0.160.0, Sites plugin 0.1.75. Personal website deployment. User authorized this report; credentials, project IDs, private paths and game data omitted.

Observed sequence

  1. A harmless Node stdin probe succeeds before additional permission grants.
  2. The official Sites site-workflow.mjs accepts hidden credential input before grants, but cannot connect to its Git host.
  3. request_permissions grants network and project repository write access.
  4. A newly launched official workflow prints its hidden JSON input prompt.
  5. write_stdin rejects before delivering input: approval required by policy, but AskForApproval::Granular.sandbox_approval is false.

Host log policy fields show request_permissions=true, sandbox_approval=false, rules=false, skill_approval=false, mcp_elicitations=true, requestPermissionProfile=:workspace and useAppServerPermissionDefault=false. Windows sandbox setup reports errors=[]. Source upload and deployment did not complete.

Related reports and investigation

Related: #47182, #49636, #50069, #50738, #50841. PR #48073 exempts runtime-internal grants, while explicitly requested additional grants remain subject to stdin review. It therefore does not establish a fix for this workflow. We have not instrumented the installed binary or established the exact internal branch.

Requested resolution

Please provide a supported approval path for hidden stdin to the official Sites process after user-approved additional permissions, or a compatible official Sites execution interface. Please clarify why the host selects a policy that cannot present this required approval. We are not requesting disabling or bypassing sandbox protections.

A useful acceptance test is a harmless stdin probe before and after a normal network permission grant, followed by the official Sites open/push workflow with credentials passed only through hidden stdin. No credentials or full session logs are attached.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 5, 2026
  2. cjesbenson commented on Oct 7, 2026

    @cjesbenson

    Additional reproduction on Windows, October 7, 2026, using Sites 0.1.75.

    The user selected Configuration → Work → Local approval policy → On request and indicated completion of the requested app restart. A harmless Node PTY stdin test succeeded before additional permissions were granted.

    The user then granted network access and write access limited to an existing website-repair folder. The grant returned scope=turn and strict_auto_review=true. The official site-workflow.mjs reached “Ready for Site workflow JSON on stdin (input is hidden).” Sending the normal workflow JSON through write_stdin was rejected before credential delivery:

    write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false

    Source opening, edits, push, save, and deployment did not occur. Credentials were kept out of arguments and files, and removed from session storage after rejection.

    The user submitted in-app feedback: 01a0fcb9-cd4e-7301-8c38-725fa54e6883.

    Please provide a supported way for this authorized Sites workflow to present its required approval prompt.

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