You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: ADB blocked under Full access, but succeeds with explicit approval #49355
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
In Codex desktop 26.928.1915.0, using native Windows and PowerShell, the exact same ADB command produces different results depending on the permission mode:
Full access (approval_policy=never): rejected before the process starts, with rejected: blocked by policy.
Ask for approval (approval_policy=on-request): after explicitly approving execution outside the sandbox, the command exits with code 0 and Android receives the intent.
Switching back to Full access: the same command is blocked again.
The device is connected and authorized, and adb devices -l works. Reinstalling Codex did not resolve the issue.
Please investigate this difference between execution modes and identify the policy responsible for the rejection. The error does not specify the matching rule or explain why the command is blocked.
Additional observation on Windows / Codex Desktop 26.1007.9446.0 (14 October 2026). Please clarify the supported diagnostic and approval path; we are not requesting that security safeguards be bypassed.
An owner-authorized physical Android phone was successfully paired via wireless ADB. adb devices -l reports device, including after a Windows restart. However, a tool request containing adb shell getprop ro.product.model followed by adb shell am start -a android.intent.action.VIEW -d <public Instagram profile URL> com.instagram.android was rejected before process execution with CreateProcess ... Rejected ... blocked by policy. A subsequent codex execpolicy check invocation containing the Android command was also rejected before execution, so no rule-evaluation result was available.
Read-only local checks:
User and project configurations specify approval_policy = "never" and sandbox_mode = "danger-full-access".
The inspected exec-policy load log identifies only the user rules/default.rules; that file contains 139 allow rules and no prompt/forbidden rules.
The original failure is logged by codex_core::tools::router at 2026-10-14 09:42:51 UTC, without a matching policy identifier or specific reason.
Device discovery and pairing succeed. We have not established that all Android commands are forbidden, nor established the underlying policy cause.
Could a maintainer clarify (1) which review/policy layer emits this generic denial, (2) where its reason can be inspected, and (3) whether changing to a user-confirmed approval mode is a supported resolution for this case? No blocked command was rerouted through a wrapper or alternative executor. No permission files were changed. Private logs, account identifiers, phone serials, network addresses and pairing credentials are intentionally omitted.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Sep 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
InterfazHombreMaquina commentedon Sep 30, 2026
Any help?
saperm244-art commentedon Oct 14, 2026
Additional observation on Windows / Codex Desktop 26.1007.9446.0 (14 October 2026). Please clarify the supported diagnostic and approval path; we are not requesting that security safeguards be bypassed.
An owner-authorized physical Android phone was successfully paired via wireless ADB.
adb devices -lreportsdevice, including after a Windows restart. However, a tool request containingadb shell getprop ro.product.modelfollowed byadb shell am start -a android.intent.action.VIEW -d <public Instagram profile URL> com.instagram.androidwas rejected before process execution withCreateProcess ... Rejected ... blocked by policy. A subsequentcodex execpolicy checkinvocation containing the Android command was also rejected before execution, so no rule-evaluation result was available.Read-only local checks:
approval_policy = "never"andsandbox_mode = "danger-full-access".rules/default.rules; that file contains 139 allow rules and no prompt/forbidden rules.codex_core::tools::routerat 2026-10-14 09:42:51 UTC, without a matching policy identifier or specific reason.Could a maintainer clarify (1) which review/policy layer emits this generic denial, (2) where its reason can be inspected, and (3) whether changing to a user-confirmed approval mode is a supported resolution for this case? No blocked command was rerouted through a wrapper or alternative executor. No permission files were changed. Private logs, account identifiers, phone serials, network addresses and pairing credentials are intentionally omitted.