Skip to content

Sites publication blocked by missing secure credential transport #52801

Open

Description

@songimony

What issue are you seeing?

I have an existing Songimony Music Site and a tested, approved source update. Publication is blocked at source synchronization.

The Codex task reports:

  • sites_create_source_repository_write_credential returns a raw short-lived token.
  • site-workflow.mjs requires the full credential JSON through stdin.
  • write_stdin suppresses terminal echo but retains its chars payload in tool-call metadata.
  • No opaque credential reference, redacted secret-input channel, or secure user handoff is exposed.

Please confirm the supported way to publish an existing Site without retaining the source-write token in tool-call records. If retention is unavoidable, please document the security and retention behavior and whether a supported secure alternative is available.

The reviewed candidate is preserved. No source push, database migration, saved Site version, or deployment occurred. No token is included in this report.

Affected local Codex task:
01a12120-2763-7013-954c-d305bc4e11ca

Windows ChatGPT version:
26.1002.7124.0

What steps can reproduce the bug?

publishing

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 10, 2026
  2. added
    tool-calls
    on Oct 10, 2026
  3. taylorqcarol1 commented on Oct 10, 2026

    @taylorqcarol1

    Adding an independent macOS reproduction of the same Sites source-handoff blocker.

    Environment:

    • ChatGPT desktop 26.1002.52244 (build 13536), macOS 26.6.2, arm64.
    • Sites plugin 1.0.1.
    • Existing owner-private Site; source update passes local build and browser verification.

    Observed sequence on October 9, 2026:

    1. The Sites source-write tool returns a short-lived credential.
    2. The installed site-workflow.mjs helper expects credential-bearing JSON via terminal stdin.
    3. Native automatic approval review rejects the write_stdin call because the live token would appear in tool-call arguments. Explicit user authorization to retry did not resolve that custody problem.
    4. The helper was cancelled before credential input. No new source push, saved version or deployment occurred.

    Read-only reinspection on October 10 found no exposed native source consumer or opaque credential handle. Terminal echo suppression is insufficient to protect tool-call arguments. A local diagnostic now stops further credential requests and emits only bounded reason codes and fingerprints.

    Reviewed installation fingerprints:

    • scripts/site-workflow.mjs SHA-256: 34c3408f93a12684c993adf0256d7fe138f2baa43ead46a63921c87e36935acd
    • skills/sites/SKILL.md SHA-256: 88b4a1b923f34c77443290e4648a5f4b3e959d7628f02e169d984942d2430187

    Could maintainers confirm a supported native source-open/save operation, or route this to the Sites connector/Codex host owner? The needed operation would accept project/checkout/expected source identities and an idempotency key, acquire and consume credentials entirely within trusted host/connector custody, and return metadata-only status and exact pushed-head receipts. Existing destination/branch/expiry, native review, concurrent-remote and source/archive checks should remain intact; private deployment should remain separate.

    This requests a supported custody fix, not weakened approval or an indirect token transport. No credentials, project identifiers, private source, media, session transcripts or raw logs are included.

  4. DriesDeSchepper commented on Oct 10, 2026

    @DriesDeSchepper

    Additional macOS reproduction with the exact managed Auto-review denial and documented Sites 1.0.0 handoff.

    Observed environment

    • ChatGPT desktop 26.1007.21159 (build 20052), macOS 27.2.
    • Installed Sites plugin 1.0.0; managed Auto-review.
    • Existing Site with owner access; publication is blocked before source credential delivery. The current deployed application is preserved.

    Documented handoff

    Installed package file: sites/1.0.0/skills/sites/SKILL.md.
    Section: Workflow → 4. Validate and package → Source helper, lines 97–114.

    Line 105 instructs “send one newline-terminated JSON object with write_stdin.”
    Line 109 defines credential as “Returned credential object, through stdin only.”

    The bundled scripts/site-workflow.mjs reads hidden stdin, validates the source credential's repository URL, branch and expiry, and uses it for Git operations. This is not an application runtime secret.

    Helper SHA-256: 34c3408f93a12684c993adf0256d7fe138f2baa43ead46a63921c87e36935acd.
    Guide SHA-256: 5a942cda3c1a22a94b71f24ace3e3489b6e5dd72b1ec9da69d17fd400031647a.

    Historical reproduction

    1. Obtain the native short-lived source credential for an owned Site.
    2. Launch the official helper with a TTY.
    3. Wait for its hidden-input prompt.
    4. Perform the documented write_stdin handoff.
    5. Receive this rejection before input delivery.

    Recorded at 2026-10-10T10:57:57.719Z:

    write_stdin rejected: This action was rejected due to unacceptable risk.
    Reason: The planned stdin payload contains a plaintext Sites credential in the tool-call arguments, exposing a write token beyond the intended hidden handoff; use a supported opaque or secure credential channel instead.
    Do not bypass this rejection through a workaround or indirect execution.

    Task/session reference: 01a058c9-ef2f-7410-8439-9ee79dc34767.
    Outer call: call_f348b8d54a1d4623bc87aecc55017fbe.
    These identify the captured session/call, not an internal support ticket.

    Requested resolution

    Please review compatibility between the bundled helper, its instructions and managed approval handling, and provide a supported secure credential handoff. Hidden terminal echo does not make the enclosing tool-call arguments opaque.

    No security bypass, weaker approval policy or runtime credential storage is requested. The denied handoff was not retried for this report. No credentials, raw logs, personal paths, email address, project identifiers or application data are included.

    Policy reference: https://learn.chatgpt.com/docs/sandboxing/auto-review

  5. DriesDeSchepper commented on Oct 12, 2026

    @DriesDeSchepper

    Update — 11 October 2026: OpenAI Help Center has confirmed escalation to a human support specialist. No case reference, engineering owner or supported secure publishing route has yet been confirmed.

    Could maintainers help route this to the team responsible for the Sites source workflow and Codex credential transport? We need a supported secure handoff, not weakened security or an approval bypass.

  6. songimony commented on Oct 14, 2026

    @songimony
    Author

    V478 publication used Sites helper 1.0.2-remix-b.1/scripts/site-workflow.mjs. The short-lived source-write credential was supplied as JSON through write_stdin after the helper opened a hidden-input PTY.

    Hidden terminal echo protected the value from ordinary terminal output, but the write_stdin request retained its serialized input in tool-call/session metadata. Clearing in-memory variables afterward did not remove that record. The prior statement that the credential was not exposed or retained was therefore incorrect; only terminal-output suppression was established.

    Please provide either an opaque credential reference accepted by site-workflow.mjs, or a supported input channel whose secret-bearing payload is explicitly excluded from tool-call and session metadata. An explicit credential-revocation operation would also be useful. No credential value or raw tool payload is included in this report.

  7. rankhsesd commented on Oct 15, 2026

    @rankhsesd

    Adding an independent Windows 11 / Codex CLI / Sites 1.0.0 qualification. The Windows sandbox and HTTPS problems were separately resolved, but the official Sites credential handoff remains blocked under a requirement that source-write credentials never appear in tool-call arguments or retained session metadata.

    Environment (sanitized):

    • Windows 11 Pro 25H2, build 26200.9711; Node.js 24.21.0; Git for Windows 2.56.0.windows.2.
    • Codex CLI 0.163.0 and connected managed app-server 0.163.0, launched normally with the MXC Windows sandbox.
    • Sites plugin sites@openai-curated-remote 1.0.0. Verified helper SHA-256: 34c3408f93a12684c993adf0256d7fe138f2baa43ead46a63921c87e36935acd; skill SHA-256: 5a942cda3c1a22a94b71f24ace3e3489b6e5dd72b1ec9da69d17fd400031647a.

    Bounded findings:

    1. Normal CLI -> shared daemon -> MXC command execution succeeds without feature-disabling or --no-daemon overrides. A disposable outside-workspace file write was denied (EPERM). Public Git HTTPS using Schannel and certificate verification succeeds through a managed, domain-scoped MXC proxy. These Windows execution/network failures are not the remaining blocker.
    2. During an earlier isolated Sites source-opening attempt, the native Sites control plane confirmed ownership/identity of an existing Site and issued one temporary source credential. The official helper stopped on local validateCheckout() / git rev-parse --show-toplevel before remote authentication or fetch; a later fresh local initialization parity test passed. Private Git access has not been verified, and that checkout failure's immediate cause is undetermined. No source push, version save, or deployment occurred.
    3. Subsequent read-only inspection of the installed Sites 1.0.0 contract found: skills/sites/SKILL.md requires submitting credential-bearing JSON through write_stdin (around line 105); the exposed tool accepts the payload as chars: string. scripts/site-workflow.mjs consumes the literal credential from stdin (around line 240) and supplies Git authentication through a child-process environment variable (around line 290). PTY hidden input prevents terminal echo but does not establish that a secret-bearing write_stdin argument is excluded from tool-call/session records. No opaque credential handle, protected secret-input field, or documented non-retention guarantee was available in the inspected interfaces.
    4. We therefore stopped before another credential request or authenticated source-opening attempt. This report does not claim that credentials were retained in this particular run; the unresolved issue is the exposure boundary and absence of an established secure transport guarantee, not an observed leak.

    Request to maintainers: Please provide a supported native Sites source-open/source-save operation that acquires and consumes short-lived credentials entirely within trusted connector/host custody, or a documented secure secret-input channel that excludes credential contents from tool-call arguments and retained session metadata. Please clarify the supported Codex CLI path for Sites authentication without weakening sandbox, TLS, or approval protections.

    No credentials, private repository addresses, Site IDs, account identifiers, project source, or raw confidential logs are included.

  8. songimony commented on Oct 15, 2026

    @songimony
    Author

    Our existing report remains a publishing blocker. Could a maintainer identify the responsible Sites team and confirm whether a supported secure publishing route is available?

    As documented above, hidden terminal input suppressed terminal echo but retained the short-lived credential JSON in tool-call metadata. The credential has expired, and no replacement has been created.

    We need either an opaque credential reference accepted by the Sites workflow or a supported transport explicitly excluded from tool-call and session recording. Please confirm the supported next step. We are not requesting a security bypass.

    Chris Fisher
    Songimony

  9. Jakaya0897 commented on Oct 24, 2026

    @Jakaya0897

    Related observation from 24 October 2026: our existing private Site's publication succeeded after the owner changed the current Codex desktop chat from Approve for me to Ask for approval, then explicitly requested a retry of the official Sites 1.1.2 workflow with a fresh short-lived credential. The response still used http_extra_header; we did not obtain work_proxy. The source push was verified and native private deployment reached succeeded.

    Full sequence and limitations.

    This is not a fix for the credential-custody requirement in this issue: we have not established that the token is excluded from approval displays, tool-call/session metadata or logs. Switching who reviews a request is not redaction. No Full Access setting, Site replacement or application-authentication changes were involved. Sharing one observed approval-routing difference, not recommending bypassing a non-retention policy or closing this issue.

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

    bugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions