[Windows] Bundled Browser service rejected because trusted code paths are not synchronized
Open 💬 5 comments Opened Aug 19, 2026 by usher123
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using?
26.814.41407
What platform is your computer?
Windows 10 x64
What issue are you seeing?
The bundled in-app Browser plugin cannot initialize from a Codex Desktop thread. The Browser pane and IAB backend are available, but the trusted worker rejects the plugin's own bundled service module:
Trusted RPC dependency must resolve within a configured trusted code path: file:///C:/Users/Administrator/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs
Steps to reproduce
- Open Codex Desktop on Windows.
- Open an in-app Browser tab.
- In a Codex task with the bundled Browser skill, initialize the documented runtime using the absolute bundled path.
- Initialization fails before browser discovery with the error above.
Diagnostics already performed
- The in-app Browser pane is visible and its backend reaches
browser_use_iab_backend_startup_ready. - The bundled client and service files exist and their hashes match the bundled marketplace source.
- A full Desktop restart, a fresh same-directory fork, and a JavaScript kernel reset do not fix it.
- The Browser scripts directory is granted read access to the trusted-worker sandbox, but the worker still rejects its own service in
isTrustedCodePath(). The filesystem allowlist andNODE_REPL_TRUSTED_CODE_PATHSappear not to be synchronized.
Expected behavior
Codex Desktop should register the active bundled Browser plugin's scripts directory as a trusted code root and provide a supported repair action if registration fails.
Additional notes
No third-party plugin or manually modified Browser file is involved.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can reproduce this on Windows with Codex Desktop 26.814.5167.0 and Browser/Chrome bundle 26.814.41407.
I performed some additional diagnostics that may help narrow this down:
NODE_REPL_TRUSTED_CODE_PATHSincludesC:\Users\<USERNAME>\.codex\.NODE_REPL_TRUSTED_SERVICESmaps"browser"toC:/Users/<USERNAME>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs.Resolve-Pathconfirms thatbrowser-service.mjsis physically beneathC:\Users\<USERNAME>\.codex\..codexnor the versioned Browser directory is a symlink or junction.C:drive.The Browser bundle hashes match another reported failing installation:
browser-service.mjs:B6FD7F485FDF59CC4A25445479545B24972F6226C79C72AB7BD985D86F069615browser-client.mjs:3B9D8DCC6DC968887E8A969C63DAE6380E3C1C59FF5C474EB32DF08C353DAD87Most importantly, I inspected the live
node_repl.exeprocess using Microsoft Sysinternals Process Explorer. Its Windows process environment containsNODE_REPL_TRUSTED_CODE_PATHS,NODE_REPL_TRUSTED_SERVICES,CODEX_HOME,BROWSER_USE_AVAILABLE_BACKENDS, and the other generated MCP environment values.In this case, the issue does not appear to be a failure to forward
[mcp_servers.node_repl.env]into the process. The process receives the trust configuration, butnodeRepl.rpc("browser", ...)still reachestrusted_service_requestand rejects the resolved bundled service path as being outside the configured trusted code paths.I can provide a redacted Process Explorer screenshot showing the relevant environment variables from the live
node_repl.exeprocess if useful.<img width="1715" height="917" alt="Image" src="https://github.com/user-attachments/assets/ea3e9717-8791-4af1-90be-cee021aea984" />
I did some deeper tracing of where the failure occurs.
config.tomlcontains:Resolving the paths in PowerShell gives:
Neither
.codexnor the versioned Browser directory is a symlink or junction.The failing workspace is also on
C:, so this is not a cross-drive workspace case.Using Sysinternals Process Explorer, I inspected the Environment tab of the running
node_repl.exe.The process environment contains, among others:
So this does not appear to be a failure to forward
[mcp_servers.node_repl.env]to the Windows process.The bundled
browser-client.mjsultimately initializes Browser via:The client therefore passes only the logical service name
"browser".Inspecting
nodeRepl.rpcshows that it routes the request into the internal trusted-worker mechanism:The failure therefore appears to occur after
"browser"is resolved to the configured service path.Both Browser and Chrome fail at the same point:
This happens before tab discovery or page interaction.
My bundled files hash to:
Environment:
Given that the service is physically under the trusted root, the live
node_repl.exeprocess has the correct trusted variables, andnodeRepl.rpc("browser", ...)is reaching the trusted-service resolver, this looks like a bug in the Windows trusted-service path validation or canonicalization logic rather than missing configuration or failed environment propagation.One possibly relevant detail is that the same location appears in three equivalent Windows forms during this flow:
I have not manually modified the generated trusted-path settings because they are security-sensitive and appear correct as generated.
I am experiencing the same issue.
Environment:
I confirmed that NODE_REPL_TRUSTED_CODE_PATHS contains the bundled Browser scripts directory and that the corrected configuration survives a complete Codex restart.
However, inspecting nodeRepl.env in the active runtime shows that no NODE_REPL_* environment variables were passed to the bundled node_repl process.
The plugin therefore continues to fail with:
Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<user>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs
This reproduces across multiple Codex tasks after a full system-tray exit and restart.
macOS here.