Skip to content

Windows desktop: shell launch rejected after turn-scoped network permission and questions about approval policy #48420

Open

Description

@lingmushouqi-prog

※以下は投稿前に作成した問い合わせ本文の転記です。「未送信・公開未承認」等は作成時点の状態です。その後、この本文のみの公開が承認されました。添付はありません。

未送信・公開未承認:Codex起動前拒否についての問い合わせ候補

文書区分:既存4資料からの編集候補。実際に提出した呼出し原文・再現手順・再現確認済みのログではありません。投稿用フォームへの転記や送信は行っていません。

P01 件名と相談内容

Codex desktopのWindows localタスクで、networkのturn許可記録後にも調査用shellが起動前拒否された件について、制約を維持した正規手続きの有無を確認したいです。作業依頼の承認と、実効的なプロセス起動許可は別と理解しています。

P02 既存記録の要約(今回の再現・新規観測ではない)

  • shellへの提出は2回、調査用curlの対象GET開始は0回です。HTTP要求を2回実行したという意味ではありません。
  • 初回は起動前に拒否され、追加のnetwork enabled=true/scope=turnの許可記録後の2回目も、同じCreateProcess拒否になっています。
  • 記録上のpolicy表示はworkspace-write/granular。sandbox_approval・rules・skill_approvalは自動拒否、request_permissions・mcp_elicitationsは確認可能でした。この表示だけで実効設定の供給元や起動判定の内部条件を特定したとはしていません。
  • 正確なアプリ/core版、実効policyの供給層・管理主体は不明です。今回、版確認・設定採取・再実行はしていません。

P03 直接引用:外側ツールの拒否本文

以下は既存記録の2提出で同一だった返却本文を1回だけ転記したものです。curlやHTTPS相手からの出力ではありません。前後のラベルや記録全体を再現した合成ログではありません。

Script error:
exec_command failed: CreateProcess { message: "Rejected(\"approval required by policy, but AskForApproval::Granular.sandbox_approval is false\")" }

P04 意図した操作の編集要約(実施・制御の有効性は未確認)

対象はUbuntu公式の公開.dscに対する通常のHTTPS GET一件でした。Windows上のcurlをshellからProcessStartInfo経由で開始する記述です。
意図した記述にはTLS/proxy証明書検証有効、HTTPS限定、自動redirect・retryなし、接続10秒・転送15秒、本文32,768 bytes・stderr8,192 bytes等のpayload境界がありました。ただしshell起動前拒否のため、これらの制御が有効に働いたことを実測したわけではありません。payload境界はnative/TLS/RSS込みの全保持上界ではありません。
元の実行可能な呼出し全文、ローカルpath、内部出力マーカー、詳細capture/停止処理は、この候補には含めていません。

P05 求める判断

  1. この種の起動前拒否について、sandbox承認を必要と判定する規則・条件を、開示可能な範囲で説明できますか。今回の固有原因をこの編集要約だけで特定できない場合は、その限界を区別してください。
  2. networkのturn許可とshell起動承認の関係、および有効policyの供給・管理層を正規に確認する方法はありますか。製品版等によって異なる場合は適用範囲を示してください。
  3. sandbox・証明書検証・現行禁止条件を保ったまま、一回限定の調査を正規に許可する仕組みはありますか。ある場合は必要な権限・対象範囲・正式な操作と記録方法を、ない場合は制約を示してください。設定緩和や制限迂回は依頼しません。

P06 未知・診断上の限界と未送信境界

HTTP status、対象GETの所要時間、DNS/TCP/TLS/証明書検証結果、client exit codeは取得されていません。起動前拒否をネットワークやTLS障害の原因特定とは扱いません。
呼出し全文・版・実効policy供給元を含まないため、この候補だけでは固有の起動規則の切り分け、完全な再現、受付適合や解決を保証できません。省略内容を推測で補ったり、再現済みと記載したりしません。
今回の作業は文書編集だけです。公開・投稿・問い合わせ送信、フォーム入力、issue検索、外部取得、追加環境採取、GET再送、設定変更・権限申請、対象コード実行・試験はしていません。STOPは維持します。
公開候補本文の完成は、ユーザーの公開許可、窓口の受付適合、権限解消、GET成功を意味しません。内部対応表・原文・Work用報告ZIPは公開添付対象ではありません。

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Sep 26, 2026
  2. changed the title [-]Windows desktop: network turn許可後のshell起動前拒否と承認ポリシーについて[/-] [+]Windows desktop: shell launch rejected after turn-scoped network permission and questions about approval policy[/+] on Sep 26, 2026
  3. github-actions commented on Sep 26, 2026

    @github-actions
    Contributor

    English translation:

    Note: The following is a copy of an inquiry drafted before posting. Labels such as “Not sent / Not approved for publication” describe its status when it was drafted. Publication of this body alone was subsequently approved. There are no attachments.

    Not sent / Not approved for publication: Draft inquiry about Codex pre-launch rejection

    Document classification: An edited draft based on four existing documents. This is not the verbatim invocation actually submitted, reproduction steps, or logs from a verified reproduction. It has not been copied into a submission form or sent.

    P01 Subject and inquiry

    In a Windows local task in Codex desktop, an investigative shell was rejected before launch even after turn-scoped network permission was recorded. I would like to confirm whether there is an official procedure that preserves the constraints. I understand that approval of a work request and effective permission to launch a process are separate matters.

    P02 Summary of existing records (not a reproduction or new observation from this work)

    • There were two submissions to the shell, and zero starts of the target GET by the investigative curl command. This does not mean that two HTTP requests were executed.
    • The first submission was rejected before launch. The second, after an additional permission record of network enabled=true / scope=turn, resulted in the same CreateProcess rejection.
    • The policy shown in the records was workspace-write / granular. sandbox_approval, rules, and skill_approval were automatically denied, while request_permissions and mcp_elicitations allowed confirmation. I am not claiming that this display alone identified the source of the effective settings or the internal conditions governing launch decisions.
    • The exact app/core versions and the layer supplying and entity managing the effective policy are unknown. No version checks, configuration collection, or reruns were performed as part of this work.

    P03 Direct quotation: Rejection text from the outer tool

    The following reproduces, once, the returned text that was identical for both submissions in the existing records. This is not output from curl or the HTTPS peer. It is not a synthesized log recreating the surrounding labels or the entire record.

    Script error:
    exec_command failed: CreateProcess { message: "Rejected(\"approval required by policy, but AskForApproval::Granular.sandbox_approval is false\")" }
    

    P04 Edited summary of the intended operation (execution and effectiveness of controls unverified)

    The target was a single ordinary HTTPS GET for an official, publicly available Ubuntu .dsc file. The described operation would launch curl on Windows from the shell via ProcessStartInfo.
    The intended description included enabled TLS/proxy certificate verification, HTTPS only, no automatic redirects or retries, a 10-second connection timeout and 15-second transfer timeout, and payload limits such as 32,768 bytes for the body and 8,192 bytes for stderr. However, because the shell was rejected before launch, the effectiveness of these controls was not measured. The payload limits are not an upper bound on total retained memory including native/TLS/RSS usage.
    The original complete executable invocation, local paths, internal output markers, and detailed capture/termination handling are not included in this draft.

    P05 Requested determinations

    1. For this type of pre-launch rejection, can you explain, to the extent disclosure is possible, the rules and conditions that determine sandbox approval is required? If the specific cause in this case cannot be identified from this edited summary alone, please distinguish that limitation.
    2. Is there an official way to confirm the relationship between turn-scoped network permission and shell launch approval, as well as the layers supplying and managing the effective policy? If this varies by product version or other factors, please specify the scope of applicability.
    3. Is there an official mechanism to authorize a one-time investigation while preserving the sandbox, certificate verification, and current prohibitions? If so, please describe the required permissions, scope, official steps, and recording method; if not, please explain the constraints. I am not requesting relaxed settings or circumvention of restrictions.

    P06 Unknowns, diagnostic limitations, and boundaries of the unsent draft

    No HTTP status, target GET duration, DNS/TCP/TLS/certificate verification results, or client exit code were obtained. The pre-launch rejection is not being treated as identification of a network or TLS failure's cause.
    Because this draft does not include the full invocation, versions, or source of the effective policy, it alone cannot guarantee isolation of the specific launch rule, a complete reproduction, eligibility for acceptance by the support channel, or resolution. I will not fill in omitted details by guessing or describe the issue as having been reproduced.
    This work consisted only of document editing. No publication, posting, inquiry submission, form entry, issue searches, external retrieval, additional environment data collection, GET retries, configuration changes, permission requests, or execution/testing of the target code were performed. STOP remains in effect.
    Completion of the draft body for publication does not mean the user has authorized publication, the support channel will accept it, the permission issue is resolved, or the GET has succeeded. The internal mapping table, original text, and report ZIP for Work are not intended as public attachments.

  4. github-actions commented on Sep 26, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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