Skip to content

Windows CLI: temporary Sites credential displayed in write_stdin approval prompt #53086

Open

Description

@ncu19990817

What version of Codex CLI is running?

Unknown. Running Windows Codex CLI; codex --version failed with CommandNotFoundException.

What subscription do you have?

ChatGPT Pro

Which model were you using?

No response

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

What issue are you seeing?

During the official Sites source-sync workflow in Windows Codex CLI, a temporary repository credential was displayed in the approval prompt for write_stdin.

The credential was intended to be passed through stdin without being displayed or written to a file. I cancelled the operation and stopped synchronization and deployment.

Please advise on an official way to complete source synchronization without exposing credentials in approval prompts, logs, or files.

No credentials or logs are attached.

What steps can reproduce the bug?

Uploaded thread: 01a12986-5b45-7f01-9ca9-9ec32f37c070

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 11, 2026
  2. added
    CLI
    windows-os
    sandbox
    tool-calls
    on Oct 11, 2026
  3. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. trucb1203981 commented on Oct 11, 2026

    @trucb1203981

    Cancelling was sensible. Passing a credential through stdin does not by itself prevent the tool-call arguments from being rendered in an approval preview. I cannot confirm a supported secret-safe Sites synchronization path from this report, so I would keep that synchronization paused rather than remove approvals or retry with a real credential.

    A useful reproduction would use an obvious non-secret sentinel, such as DUMMY_NOT_A_CREDENTIAL, through the same input/approval route without contacting the repository. Record whether the sentinel appears in the approval UI, transcript and local logs, with each surface checked separately. Add the actual CLI/app build from the launcher or About screen and the Windows build; CommandNotFoundException in one shell does not identify the version of the running client.

    Your uploaded thread ID is useful for correlation. Ask support which credential-input mechanism avoids disclosure at every surface and whether the already displayed temporary credential needs invalidation. Keep real credentials out of public screenshots and comments; a later successful sync would not prove the disclosure is fixed.

  5. Jakaya0897 commented on Oct 24, 2026

    @Jakaya0897

    For completeness, we recorded a related successful publication retry on 24 October 2026: changing the Codex desktop chat from Approve for me to Ask for approval allowed the official Sites 1.1.2 source workflow and subsequent private deployment to complete in our Linux session. Details.

    That does not resolve the credential-display problem reported here. We have not proved that the temporary credential is absent from an approval preview or retained tool-call records. A successful upload is not evidence of protected credential handling. Posting this only to distinguish the approval-routing blockage from the separate exposure/non-retention issue; the latter still needs a supported secure handoff.

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

    CLIbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions