Codex built-in browser plugin initialization fails: Trusted RPC dependency is not within a trusted code path

Resolved 💬 82 comments Opened Aug 18, 2026 by Double-hhd Closed Aug 23, 2026
💡 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 (From “About Codex” dialog)?

26.814.41407

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Summary

The Codex in-app browser UI can open and render web pages successfully (for example, https://example.com/). However, the Browser plugin cannot initialize an automation/control session.

Steps to reproduce

  1. Open Codex.
  2. Invoke the Browser plugin to control the in-app browser.
  3. Initialize the browser runtime and attempt to obtain the default browser connection.
  4. Initialization fails immediately before a controllable browser session is created.

Actual result

The following error is returned consistently, including after retrying in the same session:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/47820/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

### What steps can reproduce the bug?

Feedback ID: no-active-thread-01a01314-4c4a-79c1-b74f-e80ee32a0b33

### What is the expected behavior?

_No response_

### Additional information

_No response_

View original on GitHub ↗

82 Comments

github-actions[bot] contributor · 10 days ago

English translation:

What version of the Codex App are you using (From “About Codex” dialog)?

26.814.41407

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Summary

The Codex in-app browser UI can open and render web pages successfully (for example, https://example.com/). However, the Browser plugin cannot initialize an automation/control session.

Steps to reproduce

  1. Open Codex.
  2. Invoke the Browser plugin to control the in-app browser.
  3. Initialize the browser runtime and attempt to obtain the default browser connection.
  4. Initialization fails immediately before a controllable browser session is created.

Actual result

The following error is returned consistently, including after retrying in the same session:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/47820/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

### What steps can reproduce the bug?

Feedback ID: no-active-thread-01a01314-4c4a-79c1-b74f-e80ee32a0b33

### What is the expected behavior?

_No response_

### Additional information

_No response_

<!-- codex-issue-translator -->
n0va39 · 10 days ago

Confirming an independent reproduction on the current stable Windows app.

  • Codex app package: OpenAI.Codex 26.814.5167.0 (x64)
  • Windows: 10.0.26200.0
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Codex task ID: 01a0130a-c8bc-7902-b470-86f07bdef385
  • Microsoft Store offered no ChatGPT/Codex app update at the time of reproduction.

The failure occurs before browser discovery/selection:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Troubleshooting already completed without resolving it:

  1. Removed the beta app; only the stable app remains.
  2. Fully quit and restarted the desktop app.
  3. Uninstalled and reinstalled the Browser plugin.
  4. Retested from a fresh runtime/task.
  5. Attempted the Chrome control route as well; it fails on the same trusted-path validation.

Expected: the Browser plugin initializes and proceeds to browser discovery.
Actual: trusted RPC path validation aborts initialization.

twilight-sparkle-crazy-fan · 10 days ago

Adding an independent reproduction, matching n0va39's environment — plus a few diagnostics that may help.

Environment

  • Codex App: OpenAI.Codex 26.814.5167.0 (x64, Microsoft Store)
  • OS: Windows 11 Pro 25H2, build 10.0.26200.9168
  • Subscription: ChatGPT Plus
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Chrome plugin: chrome@openai-bundled 26.814.41407

Symptom
Browser control worked before updating to 26.814.5167.0. After the update, both @Browser and @Chrome fail during initialization — before browser discovery or tab selection — 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

Reproduction

  1. Start Codex and open a new task.
  2. Ask @Browser (or @Chrome) to open or inspect a page.
  3. Initialization aborts with the trusted-path error above, before any browser connects.

Troubleshooting attempted — none resolved it

  1. Fully quit Chrome and Codex; verified no leftover chrome / extension-host / Codex processes; started Codex first, waited for plugin refresh, then reopened Chrome.
  2. Removed Chrome from Plugins, re-added it, and completed the Chrome extension authorization flow again (plugin cache regenerated).
  3. Rebuilt / reinstalled the cached Browser plugin.
  4. Confirmed the cached scripts are byte-for-byte identical to the copies bundled under WindowsApps — not local file corruption.

Diagnostics that look relevant

  • ~/.codex/config.toml contains NODE_REPL_TRUSTED_CODE_PATHS (including the .codex directory of the rejected file) and NODE_REPL_TRUSTED_SERVICES pointing at the exact installed browser-service.mjs — yet during the failing init, the Node REPL environment does not appear to receive these NODE_REPL_TRUSTED_* values.
  • The configured client hash does not match the installed file:
config  NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S = 8e172ec9f458f2e636fc69a1b8c68c217f6bb8d10c41f70a05a0878b73863701
actual  browser-client.mjs (installed)            = 3b9d8dcc6dc968887e8a969c63dae6380e3c1c59ff5c474eb32df08c353dad87

This looks like the update left stale trust metadata (the hash whitelist) instead of regenerating it for the new plugin files.

Question for maintainers
The desktop package reports 26.814.5167.0 while both browser plugins report 26.814.41407. Is this version pairing expected, and are the trust-path / client-hash metadata supposed to be updated atomically with the plugin files during upgrade?

Expected vs actual

  • Expected: Browser plugin passes initialization → browser discovery/selection; after authorization the Chrome extension connects and controls the selected tab.
  • Actual: trusted-path validation aborts initialization before either browser backend becomes available.
HopeCollector · 10 days ago

Confirming the same failure on another Windows machine with the same stable version combination.

Environment

  • Codex app: 26.814.5167.0
  • Browser/Chrome bundled plugins: 26.814.41407
  • Chrome extension: 1.2.27259.19709_0
  • OS: Windows x64, build 10.0.26200
  • Chrome extension installed and enabled in the Default profile

Both the Browser and Chrome routes fail before browser discovery or the Chrome handshake 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

Restarting Codex and Chrome, reinstalling the Browser/Chrome plugins and Chrome extension, and retrying from a fresh task did not resolve it.

Additional diagnostics

The Chrome Native Messaging registration is present on this machine:

HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension
    (Default) REG_SZ C:\Users\<user>\AppData\Local\OpenAI\extension\com.openai.codexextension.json

The manifest also exists and points to the bundled extension-host.exe. Therefore, this reproduction does not appear to be caused by a missing Chrome native-host registration.

The local Codex configuration contains:

  • NODE_REPL_TRUSTED_CODE_PATHS covering the .codex directory
  • NODE_REPL_TRUSTED_SERVICES pointing to the exact browser-service.mjs path above
  • NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S

However, from the live Node REPL session producing the error, all three corresponding NODE_REPL_TRUSTED_* environment values are unavailable (null).

There is also a hash mismatch:

Configured browser-client SHA-256:
8e172ec9f458f2e636fc69a1b8c68c217f6bb8d10c41f70a05a0878b73863701

Actual SHA-256 of both installed Browser and Chrome browser-client.mjs:
3b9d8dcc6dc968887e8a969c63dae6380e3c1c59ff5c474eb32df08c353dad87

This suggests that the trusted-RPC metadata or environment propagation may be out of sync with the installed 26.814.41407 plugin bundle. That is only an inference, but it would explain why reinstalling the Chrome extension does not help: the failure occurs at the trusted-RPC gate before any browser backend is contacted.

Please let me know if any additional diagnostics would be useful.

hattimon · 10 days ago

I can reproduce a closely matching Windows regression after the latest Codex Desktop update on Aug 18, 2026.

Observed behavior

  • Browser control fails before opening any page because Codex reports an integrity mismatch between the trusted/expected Browser module hash and the Browser module currently installed/cached locally.
  • In my case Codex reported the expected hash beginning with 8e172... while the installed/cached Browser module hash began with 3b9d8....
  • The integrity protection correctly refuses to load the module.
  • External Chrome control is also unusable: the Chrome extension is installed and shown as enabled/connected under Settings → Computer use, but Codex stops before it can read/select browser tabs.

Recovery attempts that did NOT fix it

  1. Fully uninstalled ChatGPT/Codex Desktop from Windows.
  2. Reinstalled the latest Microsoft Store build.
  3. Confirmed existing projects/sessions survived under %USERPROFILE%\.codex.
  4. Reinstalled the Chrome plugin/extension.
  5. Restarted Codex and Chrome.
  6. Re-tested Browser and Chrome control.

The Browser integrity mismatch persisted after the full app reinstall, which strongly suggests stale/incompatible trusted Browser state under %USERPROFILE%\.codex survives the package reinstall and is not reconciled with the newly installed bundled Browser module.

Codex briefly proposed changing the trusted hash in %USERPROFILE%\.codex\config.toml to trust the currently cached module. I tested that only briefly; it did not solve Chrome control, and the original integrity configuration was restored from backup. The security check is not currently weakened.

Expected behavior

After a Codex Desktop update/reinstall, the trusted Browser module metadata and bundled/cached Browser module should be atomically reconciled so their hashes match. Users should never need to manually edit the integrity hash.

If the cached module is stale, Codex should invalidate/redownload it automatically rather than leaving an unrecoverable mismatch that survives reinstall.

Impact

Browser and Chrome automation are completely unavailable. A large part of the weekly Codex usage allowance was consumed while troubleshooting this update regression, without productive project work. The usage issue has been separately escalated to OpenAI Support.

Potentially related: #23831, #29673, and #39146 (same-day Windows update regression family).

zemeng5208 · 10 days ago

I maintain WinBridge Recovery: https://github.com/zemeng5208/winbridge-recovery

This report looks like a plausible match for one of the local Windows state layers WinBridge is intended to diagnose: bundled plugin cache/version drift after an app update, especially when the installed app package, cached browser@openai-bundled / chrome@openai-bundled versions, and generated trust metadata are no longer in sync.

The strongest local-state signal here is the reported mismatch between the configured NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S value and the SHA-256 of the actually installed browser-client.mjs, together with the 26.814.5167.0 package vs 26.814.41407 plugin pairing. WinBridge can help inspect/recover the local bundled marketplace/cache/version/latest state and related staged plugin files, so it may be useful for determining whether this machine is carrying stale metadata from a partial/previous plugin staging cycle rather than a clean current state.

A limitation is important here: if the cached plugin files are already byte-identical to the current WindowsApps bundle and Codex still fails because the app-server / Node REPL does not propagate the expected NODE_REPL_TRUSTED_* environment or regenerates the wrong trust hash on every clean install, that is an upstream trusted-runtime/update-assembly bug, not something WinBridge can reliably fix locally. Likewise, WinBridge does not modify WindowsApps package contents or guarantee that an incompatible package/plugin version pairing can be made functional.

So I would use it here mainly to answer one question cleanly: is there recoverable local cache/version/trust-state drift, or is the local state already healthy and the failure reproducibly comes from the current upstream build?

nathanbentley · 10 days ago

Feedback ID - 01a0139f-3bae-7732-95da-99c84f988703

BarryRodick · 10 days ago

Confirming an independent reproduction from a projectless Codex task on Windows x64.

Unlike #39160, this workspace is on C:, so the failure is not limited to cross-drive/D: workspaces.

Environment

  • Windows 10.0.26200.0, x64
  • browser@openai-bundled 26.814.41407
  • chrome@openai-bundled 26.814.41407
  • Microsoft Edge installed; the test targeted Edge
  • Workspace under %USERPROFILE%\Documents\Codex\... on C:

Actual result

Both the Browser runtime and the Chrome/Edge bridge abort before browser discovery or tab access:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Importing the refreshed chrome/latest/scripts/browser-client.mjs still resolves the service dependency to the sibling browser/26.814.41407/scripts/browser-service.mjs, which is rejected by the trusted-RPC gate. No webpage is opened.

Recovery attempted

  1. Uninstalled and reinstalled the Chrome/Edge browser-control plugin.
  2. Fully quit and reopened Codex and Edge.
  3. Reset the browser runtime and retried from the refreshed plugin installation.
  4. Retried through both the bundled Browser path and the Chrome/Edge path.

The same error persists after reinstall and restart.

Expected result

The bundled browser service is accepted as trusted, then Edge discovery and a read-only open-tab check proceed.

Diviniteck · 10 days ago

Confirming an independent reproduction on another Windows x64 machine.

Environment:

  • Windows build: 10.0.26200.9168, x64
  • Codex Windows package: OpenAI.Codex_26.814.5167.0
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Workspace located on a non-system drive (M:)

The in-app browser opens and renders pages normally, but every attempt to initialize Browser control fails before tab discovery with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Troubleshooting completed without resolving the issue:

  • Restarted Codex
  • Fully restarted Windows
  • Ran Windows App Repair
  • Rebuilt the Browser plugin cache
  • Completely uninstalled and reinstalled Codex

Additional diagnostics:

  • NODE_REPL_TRUSTED_CODE_PATHS already contains %USERPROFILE%\.codex
  • The rejected browser-service.mjs is located below that trusted directory
  • None of the directories in the path are symbolic links or junctions
  • Configured trusted browser-client SHA-256:

8e172ec9f458f2e636fc69a1b8c68c217f6bb8d10c41f70a05a0878b73863701

  • Installed browser-client.mjs SHA-256:

3b9d8dcc6dc968887e8a969c63dae6380e3c1c59ff5c474eb32df08c353dad87

The configured allowlisted hash therefore does not match the browser-client file installed by the current package. The failure persists after a clean reinstall.

Double-hhd · 10 days ago

@zemeng5208 Thanks for the suggestion. I downloaded and tried WinBridge Recovery, but the repair could not be completed successfully. The original error still persists, and the Browser/Chrome plugins remain unusable. This may indicate that the issue is upstream rather than recoverable local cache or trust-state drift.

alienforhumans · 10 days ago

Codex Chrome/browser bridge fails with trusted RPC and native-host errors

This appears to be the same issue.

Environment

  • OS: Windows 11, x64
  • Codex app version: 26.814.41407
  • Browser: Google Chrome
  • Chrome profile: Profile 3
  • Chrome extension ID: hehggadaopoacecdllhhajmbjkdcmajg
  • Extension version: 1.2.27259.19709_0

Problem

The Codex in-app browser can open and display web pages, and Chrome synchronization/chats appear normally. However, Codex cannot initialize the Chrome browser-control session, so it cannot list or interact with my existing Chrome tabs.

When Codex tries to initialize the Chrome bridge, it fails immediately with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/brainfors/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Diagnostics

The Chrome extension is installed and enabled:

Chrome profile: Profile 3
Installed: true
Registered: true
Enabled: true
Extension version: 1.2.27259.19709_0

However, the native-host diagnostic reports:

Windows native host registry key does not exist:
HKCU\\Software\\Google\\Chrome\\NativeMessagingHosts\\com.openai.codexextension

The native-host manifest file exists at:

C:\\Users\\brainfors\\AppData\\Local\\OpenAI\\extension\\com.openai.codexextension.json

The manifest contains the expected extension origins and native host:

com.openai.codexextension

But the corresponding Windows registry registration is missing.

Troubleshooting already attempted

  • Removed and reinstalled the Chrome extension multiple times
  • Reinstalled the Browser/Codex plugin multiple times
  • Confirmed that the extension is enabled
  • Restarted Chrome
  • Restarted Codex/ChatGPT
  • Retried browser initialization several times
  • Confirmed that the problem persists after reinstalling

The issue is therefore not caused by the Chrome extension being disabled or absent. Reinstalling the extension alone does not restore the missing native-host registration.

Expected behavior

Codex should initialize the browser-control bridge successfully and allow me to list and interact with tabs in my existing Chrome profile.

Actual behavior

The browser UI may work, but the Chrome automation bridge fails before a controllable browser session is created. As a result, Codex cannot see or report my open Chrome tabs.

Impact

I cannot use my existing Chrome profile, signed-in sessions, open tabs, or Chrome extensions through Codex. The built-in browser works only as a separate browser and cannot access my existing Chrome tabs.

dridri5991 · 10 days ago

Confirming the same issue on Windows x64.

  • Codex package: OpenAI.Codex_26.814.5167.0
  • Browser/Chrome plugins: 26.814.41407
  • Same trusted RPC path error with Chrome, Edge, and the built-in Browser
  • Reinstalled the plugins/extensions and fully restarted Codex and the browsers; no change
  • Feedback/task ID: 01a013a2-e41d-71f2-b683-12b7d8deef62

This regression blocks browser automation required for my daily work.

liby · 10 days ago

Independent macOS reproduction with an additional root-cause signal.

Environment

  • ChatGPT Desktop: 26.814.41407
  • Bundled Codex CLI: 0.148.0-alpha.15
  • Browser and Chrome plugins: 26.814.41407
  • macOS, arm64

Both Browser and Chrome fail before browser discovery with the same error:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///$HOME/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Chrome, the ChatGPT extension, and the native-host manifest all pass their bundled diagnostics. No page, tab, cookie, or other browser data is reached.

Parent/worker environment difference

The parent node_repl process receives the expected non-secret configuration:

NODE_REPL_TRUSTED_CODE_PATHS=$HOME/.codex:/Applications/ChatGPT.app/Contents/Resources/cua_node/lib/node_modules
NODE_REPL_TRUSTED_SERVICES={"browser":"$HOME/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs",...}
BROWSER_USE_AVAILABLE_BACKENDS=chrome,iab

However, after it spawns trusted-worker.js, inspecting only those same variables shows that the worker's NODE_REPL_TRUSTED_CODE_PATHS has been replaced with the task-scoped read-only .env / .env.local paths plus the bundled cua_node/lib/node_modules path. $HOME/.codex is absent, while NODE_REPL_TRUSTED_SERVICES.browser still points into $HOME/.codex/plugins/cache/....

The active filesystem profile has :root = write with exact read-only .env and .env.local exceptions. This suggests the 0.148 trusted-worker construction derives trusted code roots from read-only filesystem entries and drops the writable $HOME/.codex root. Desktop still registers its official Browser service from that dropped user-cache root, so validation must fail before browser discovery.

Controlled validation

As a bounded local test, I added only this stable Browser cache root as a read-only filesystem entry:

$HOME/.codex/plugins/cache/openai-bundled/browser = read

A clean isolated node_repl setup using that read-only root changed the result from the trusted-path error to setup-ok. The Browser and Chrome copies of browser-service.mjs are byte-identical. This was a diagnostic workaround, not a recommendation to weaken or manually bypass the trust check.

This machine previously completed Chrome control successfully with the bundled 0.147 runtime, so the behavior is a regression.

A durable upstream fix could place the official service under an app-owned read-only root, or atomically register its exact installed root as read-only/trusted when the bundled plugin is installed. An integration test using a :root = write profile with narrow read-only exceptions should reproduce this failure.

danila18-hub · 10 days ago

Confirming the same issue on Windows x64.

Environment:

  • Browser plugin: 26.814.41407
  • ChatGPT browser extension: 1.2.27259.19709
  • Browser: Yandex Browser (Chromium-based)
  • The extension is installed and enabled

Exact error:

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

Reinstalling/re-enabling the extension and restarting Codex, the browser, and Windows did not resolve it. The error occurs before the browser-control session is created, while ordinary pages and the local web application at http://127.0.0.1:8000/ remain accessible.

alt423 · 10 days ago

Subject: Codex Desktop on Windows fails to initialize Browser/Chrome control before backend selection with a trusted RPC error

On Windows Codex Desktop, the official Browser/Chrome integration fails before any Chrome profile, extension backend, or tab is selected. The error is:

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

Steps to reproduce:

  1. Open Codex Desktop.
  2. Initialize the official Browser or Chrome integration.
  3. The error occurs while browser-client is initializing, before browser backends are enumerated.

Expected result: Browser/Chrome backends can be enumerated and an existing Chrome tab can be selected.
Actual result: Initialization stops before backend enumeration.

Observed environment:

  • Codex Desktop MSIX package: OpenAI.Codex_26.814.5167.0_x64__2p2nqsd0c76g0
  • Bundled Browser plugin: 26.814.41407
  • Windows x64

Checks already completed:

  • browser-service.mjs exists and is readable; it is not a reparse point and has no alternate data stream beyond the default data stream.
  • The Chrome Native Messaging manifest and host executable exist, but the Chrome NativeMessagingHosts\\com.openai.codexextension registry registration is absent. The bundled Windows installer code explicitly creates that exact HKCU key.
  • The Chrome/Browser integration was reinstalled once, but the same error persisted.
  • A comparison with another registered Chrome profile reached the same error before profile selection.
  • Chrome CDP and the extension service worker were observable.
  • No cookies, tokens, or login state were read or changed.

I found a public user report with the same error in openai/codex #39136:
https://github.com/openai/codex/issues/39136

Could you confirm whether this is a known issue involving trusted-code-path registration, path normalization, or runtime-context injection, and provide a safe official recovery procedure?

tzeler-a11y · 10 days ago

Thanks, but that doesn't solve my problem. The following are identical:

  • the same Codex version 26.814.41407,
  • Windows,
  • a reproducible error in the browser control,
  • the Trusted RPC/trust chain as the source of the problem.

The following are not confirmed:

  • our specific error message “Browser URL could not be reliably determined,”
  • the D: drive hypothesis,
  • that both errors have the same technical cause.

Important difference: In the screenshot, the browser session fails already during initialization. In our case, initialization, Edge detection, and window activation worked; the failure occurred only during the URL security check.
Conclusion: strong indication of a known bug in the same Codex version, but no definitive confirmation of the cause for our case yet. Furthermore, this report points to a path on C:—therefore, it does not confirm that D: is necessarily the trigger.

The switch from C: to D: is currently the most likely trigger. The internal cause—Trusted RPC, path validation, or a downstream URL security check—has not yet been conclusively confirmed.

shardubaa-spec · 10 days ago

Пидорасы.

MrVibe · 10 days ago

Confirming this issue. Please enable app rollbacks. This has hampered all work for me.

shardubaa-spec · 10 days ago

А кто возместит потери? Я платил за использование, а не за ожидание устранения неисправностей. Альтман, ты на счётчике.

nicholasinapexschulz-png · 10 days ago

go bottom left in codex/chatgpt -> settings -> general -> permissions -> full access enabled

Double-hhd · 10 days ago

@nicholasinapexschulz-png Thanks for the suggestion. After enabling Full Access under Settings → General → Permissions, the browser works normally. I appreciate the workaround, but I still hope the official team can fix the underlying issue, since requiring Full Access is not consistent with normal day-to-day usage.

MrVibe · 10 days ago
go bottom left in codex/chatgpt -> settings -> general -> permissions -> full access enabled

already enabled.

Trusted RPC dependency must resolve within a configured trusted code path: …/browser-service.mjs

The in-app Browser is still inaccessible in this Codex build. Public web search remains available. Chrome is also inaccessible.

nexis89 · 10 days ago
go bottom left in codex/chatgpt -> settings -> general -> permissions -> full access enabled

Didn't help. Same reaction as in the previous comment. But didn't test the Chrome plugin, only in-app browser.

BruceCAMCO · 10 days ago

Additional reproduction and isolation details

I can reproduce this consistently on Windows after reinstalling both the ChatGPT Chrome extension and the Codex Chrome plugin, restarting Chrome and Codex multiple times, and testing in new Codex tasks.

Environment

  • Windows 11 Pro x64 (10.0.26200)
  • Codex Desktop package build: 26.814.5167.0
  • Bundled Browser/Chrome plugin: 26.814.41407

Observed behavior

A normal Codex task fails before creating a Chrome browser session with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The configured trusted root includes the .codex directory containing this file, and the referenced file exists. The cached Browser service and client files also match the copies bundled with the installed Codex package.
Isolation result
A fresh standalone diagnostic process using the same runtime and plugin files, with the trusted-path environment supplied explicitly, successfully connected to Chrome and listed the open tabs.
However, normal Codex Desktop tasks still fail with the trusted-path error.
This suggests that the Chrome extension and native messaging connection are installed correctly, but the trusted code paths injected into normal Codex Desktop tasks are either not being applied or do not match the generated Browser service path.
Troubleshooting already completed
- Reinstalled the ChatGPT Chrome extension
- Reinstalled/re-added the Chrome plugin in Codex
- Confirmed the extension is enabled in the active Chrome profile
- Restarted Chrome and Codex multiple times
- Tested with newly created Codex tasks
- Verified the Browser service file, native host registration, and user configuration
This issue is blocking a time-sensitive work project. An OpenAI Support case has also been opened and escalated. I can provide additional sanitized diagnostics if the maintainers specify what is needed.
Tejasp2003 · 10 days ago

Same issue! any solution or something that i can do to get the browser working again?

danila18-hub · 10 days ago

We encountered the same issue on Windows with the following setup:

  • Codex for Windows package: 26.814.5167.0
  • Browser plugin: 26.814.41407
  • ChatGPT browser extension: 1.2.27259.19709
  • Browser: Yandex Browser (Chromium)

The error was:

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

A temporary workaround worked for us:

  1. In Codex Settings, open General > Permissions.
  2. Enable the setting that makes Full Access available in the permission selector.
  3. Switch the current Codex session to Full Access.
  4. Reload/restart Codex and try the browser connection again.

After doing this, the browser bridge initialized successfully, the extension session connected, and Codex could read the open browser tabs. The Trusted RPC dependency error no longer appeared in our local test.

This looks like a useful temporary workaround, not a confirmed fix. Full Access grants broader permissions, so it should be used with appropriate caution until the trusted-code-path/browser plugin issue is fixed upstream.

Nana1873 · 9 days ago

Reproduced on Windows with Codex MSIX 26.814.5167.0 and browser plugin 26.814.41407. Restarting Codex and reinstalling the Chrome extension do not help; both in-app Browser and Chrome fail before backend selection.

Additional diagnostics: package/source/cache copies of browser-client.mjs and browser-service.mjs are byte-identical and Authenticode-valid. NODE_REPL_TRUSTED_SERVICES points to the existing service, and NODE_REPL_TRUSTED_CODE_PATHS contains the .codex root. The bundled Node runtime resolves the service beneath that root, yet the trusted worker still rejects it.

A narrow local test duplicating the same trusted path into shell_environment_policy.set was automatically removed on restart and did not change the failure. Also suspicious: configured browser-client allowlist SHA-256 starts with 8e172ec9…, while the signed shipped browser-client.mjs hashes to 3B9D8DCC….

This points to a trust-metadata/environment-forwarding regression in this packaged build rather than a missing/corrupt file or Chrome-extension problem.

entertainc · 9 days ago

Confirming the same issue on macOS with a controlled before-and-after permissions test. Switching the task to Full Access immediately restored Chrome control.

Environment

  • macOS 26.0 (25A354), arm64
  • ChatGPT/Codex desktop: 26.814.41407 (build 6720)
  • Bundled Browser plugin: 26.814.41407
  • Bundled Chrome plugin: 26.814.41407
  • Google Chrome: 151.0.7922.138
  • Chrome extension: 1.2.27259.19709_0
  • Extension installed and enabled in Chrome Profile 1

Failure under default permissions

With the task running under the default sandbox:

sandbox_mode: workspace-write

Chrome initialization failed before browser discovery or access to any tab:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

I verified that:

  • Chrome was running.
  • The extension was installed and enabled in the active profile.
  • The native-host manifest existed and passed validation.
  • browser-service.mjs existed at the rejected path.
  • Reinstalling the Chrome plugin and browser extension did not resolve the issue.
  • Fully restarting the desktop app did not resolve the issue.
  • Opening a fresh Chrome window with the correct profile did not resolve the issue.

The screenshot below shows the user-facing failure under the default permissions profile:

<img width="887" height="341" alt="Chrome control failing under the default permissions profile" src="https://github.com/user-attachments/assets/bfd8c574-cd18-45de-aeb0-cd4b3ab094d4" />

Successful test under Full Access

I then switched the same task to Full Access:

sandbox_mode: danger-full-access
approval_policy: never

Without changing the desktop app, plugin versions, Chrome profile, or extension installation, the Chrome integration initialized successfully.

Codex was then able to:

  • Connect to Chrome.
  • List the open tabs.
  • Claim the tab for this issue.
  • Read its title, URL, and page heading.
  • Complete the test without navigating, clicking, typing, or submitting anything.

The screenshot below shows the successful read-only test after enabling Full Access:

<img width="851" height="501" alt="Chrome control succeeding after enabling Full Access" src="https://github.com/user-attachments/assets/38dbd6fd-cbab-4654-9eb4-29f3486946d0" />

Conclusion

This confirms that the issue also affects macOS and strongly suggests a regression in sandbox/trusted-service path handling or trusted configuration propagation.

The Chrome extension and native-host connection are functional. Full Access is a temporary workaround, but it is not an acceptable permanent requirement because it removes the normal filesystem and network sandbox boundaries.

Expected behavior: Browser and Chrome control should initialize successfully under the default workspace-write permissions profile.

JiHyoung-Ha · 9 days ago

Confirming another independent reproduction of this issue.

Both the in-app Browser and Chrome control paths fail before browser discovery with the same trusted RPC path error reported above.

The following troubleshooting did not resolve it:

  1. Repaired and reinstalled the desktop app.
  2. Restarted the app and Windows.
  3. Regenerated the plugin cache.
  4. Removed and reinstalled the Chrome plugin.
  5. Confirmed that the official ChatGPT Chrome extension is installed and enabled.

The error remains unchanged after reinstalling the Chrome plugin. This indicates that the failure occurs during bundled trusted-path initialization, before the Chrome extension or tab connection is reached.

MOhammed-Ram · 9 days ago

Confirming an independent reproduction on Windows x64 from a D: workspace.

Environment:

  • Codex Desktop package: OpenAI.Codex_26.814.5167.0_x64
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Chrome plugin: chrome@openai-bundled 26.814.41407
  • Both the in-app Browser and external Chrome control paths are affected

Exact failure, before browser discovery or tab access:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Recovery attempted without success:

  1. Fully quit Codex, including background processes.
  2. Renamed %USERPROFILE%/.codex/plugins/cache/openai-bundled and reopened Codex so the bundled cache was rebuilt.
  3. Retried from the rebuilt Browser bundle.
  4. Retried both the in-app Browser and external Chrome routes.
  5. Reset the browser-control runtime and retried.

The rebuilt cache contains the expected service file, but trusted-path validation still rejects it. No browser session is created and no webpage is accessed. This supports the existing reports that the failure is in Desktop trusted-runtime registration/propagation rather than browser authentication or the Chrome extension handshake.

JouniHalme · 9 days ago

I have the same issue with both the internal browser and the Chrome extension on Windows ARM64.

ddev1l · 9 days ago

Same issue on windows stable version 26.814.41407

contact45 · 9 days ago

Confirming an exact independent reproduction of this issue.

Feedback ID:

019ff7da-5dda-71e0-b137-226ccb5dcc08

Environment:

  • Windows x64, build 10.0.26200.9168
  • Codex Desktop package: OpenAI.Codex 26.814.5167.0
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Chrome plugin: chrome@openai-bundled 26.814.41407
  • Google Chrome: 151.0.7922.138
  • ChatGPT Chrome extension: 1.2.27259.19709
  • Active Chrome profile: Profile 1

Both @Browser and @Chrome fail before browser discovery or tab enumeration with the same error:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The Chrome extension is installed and enabled, its side panel opens normally, and the Native Messaging Host registry entry, manifest, and host executable are present.

Troubleshooting already completed without resolving the issue:

  • Updated Codex through Microsoft Store
  • Fully restarted Codex, Chrome, and Windows
  • Ran Windows App Repair
  • Removed and reinstalled the ChatGPT Chrome extension
  • Disabled and re-enabled the Browser/Chrome plugins
  • Regenerated the bundled Browser and Chrome plugin caches
  • Retested from a completely new Codex task
  • Verified that the bundled and regenerated Browser files are byte-identical

The uploaded diagnostic logs are associated with the Feedback ID above.

YairLight · 9 days ago

I can reproduce this consistently on Windows as well.

Environment:

  • Codex Windows app package: OpenAI.Codex_26.814.5167.0_x64
  • Browser/Chrome plugin bundle: 26.814.41407
  • Windows native agent mode

The in-app browser can open and render pages, but Browser automation (both built in & chrome) initialization fails with the same error:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<username>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs
thaislage1 · 9 days ago

Confirming the same regression on Windows x64.

  • Codex Desktop package: 26.814.5167.0
  • Browser plugin: 26.814.41407
  • Restarting Codex and Windows did not resolve the issue.
  • Opening URLs works, but browser inspection, clicking, and typing fail with the same trusted RPC error.

OpenAI Feedback ID:
01a01508-09d6-7551-b14e-cd8ebe79b530

kotcuba82-maker · 9 days ago

I can independently reproduce the same failure on Windows.

Additional environment detail:

  • Windows Codex desktop package: 26.814.5167.0
  • Bundled Browser plugin manifest: 26.814.41407

Exact error:

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

Additional diagnostics:

  • The failure persists after restarting Browser helpers, the desktop app, and

the network connection.

  • It reproduces with the identical error in a newly created isolated

projectless Codex chat, before Browser attaches to any tab.

  • It also reproduces after GitHub authentication with the blank issue form

already open; failure occurs before any form field can be accessed.

  • Read-only inspection of a freshly spawned Browser helper shows that its

effective NODE_REPL_TRUSTED_CODE_PATHS contains only the bundled CUA Node
runtime node_modules directory. The bundled Browser plugin scripts
directory is absent.

  • The local Codex configuration already contained the broader .codex root.

A temporary experiment with the exact Browser scripts path was filtered
before helper startup as well. The experiment was fully reverted.

This appears to be a desktop security-wrapper or packaging/version mismatch:
the OpenAI-bundled Browser service is rejected before browser selection or page
interaction.

Expected behavior: the bundled Browser service should be included in the
trusted paths passed to its helper so Browser can attach to the in-app tab.

No credentials, cookies, authenticated URLs, page contents, or customer data
are included here. No website write occurred during diagnosis.

rolvaresthesecond · 9 days ago

Confirming an independent reproduction on Windows x64 with the same stable version pairing.

Environment

  • Codex Desktop package: OpenAI.Codex 26.814.5167.0
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Chrome plugin: chrome@openai-bundled 26.814.41407
  • Chrome extension: 1.2.27259.19709_0

Observed behavior

The in-app browser UI opens and renders https://example.com/, but both explicit browser-control routes abort before discovery or tab access:

  • In-app Browser selector: fails
  • Google Chrome selector: fails

Both return:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Connector checks

The Chrome connector installation itself appears intact:

  • Google Chrome is installed.
  • %LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json exists.
  • HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension exists and points to that manifest.

Recovery attempts — no change

  • Fully restarted Codex.
  • Restarted Windows.
  • Uninstalled and reinstalled the Chrome plugin.
  • Uninstalled and reinstalled the ChatGPT Chrome extension.
  • Ran Windows Repair for the Codex/ChatGPT desktop app.
  • Retested each route from a freshly reset browser-control runtime.

This blocks routine web-app QA and forces fallback to less efficient screen-level Computer Use. No trusted-path bypass or security-setting reduction was attempted.

tmzani350 · 9 days ago

Problem confirmed in Version 26.814.41407 - Released Aug 17, 2026.

Switched session to full access as a temporary workaround but inapproriate.

<img width="231" height="67" alt="Image" src="https://github.com/user-attachments/assets/cb3a3161-ff58-4189-9abe-3c4f161681c7" />

MrVibe · 9 days ago

Please provide a way to roll back the update ! Entire day washed out, really can;'t afford this.

dgwyer · 9 days ago

Confirming an independent reproduction on Windows 10.

  • Codex Desktop package: 26.814.5167.0
  • Browser/Chrome bundled plugins: 26.814.41407

Both @Browser and @Chrome fail before browser discovery or the Chrome handshake with the same trusted-RPC error referencing the bundled browser-service.mjs.

The Chrome extension is installed and enabled, its side panel loads, and the Native Messaging Host registration is present. Fully restarting Codex and Chrome and reinstalling the Chrome plugin/extension did not resolve the failure. Screen-level Computer Use still works, but direct Chrome/Browser control remains unavailable.

This blocks routine WordPress administration and frontend QA that depends on direct signed-in Chrome control. No local trust or security settings were weakened during diagnosis.

kotcuba82-maker · 9 days ago

I rolled back to 26.810.7004.0 and can continue working. It works.

Brakkar · 9 days ago

Same on 26.814.5167.0

NoniDOTio · 9 days ago
I rolled back to 26.810.7004.0 and can continue working. It works.

If I may ask: How did you roll back the update? I don't see an option to do that.

Wuwang777 · 9 days ago

I can independently reproduce the same failure on Windows.

Environment:

  • Windows Codex desktop package: 26.814.5167.0
  • Bundled Browser plugin manifest: 26.814.41407

Exact error:

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

The failure persists after restarting the Browser helpers, restarting the desktop application, reinstalling Codex, and verifying the network connection.

It also reproduces in a newly created projectless chat before Browser attaches to any tab. The same behavior occurs with a blank GitHub issue form open after authentication; the failure happens before any form field can be accessed.

Read-only diagnostics show that the Browser helper's effective NODE_REPL_TRUSTED_CODE_PATHS contains only the bundled CUA Node runtime node_modules directory. The bundled Browser plugin scripts directory is absent.

The local Codex configuration already contains the broader .codex root. A temporary experiment with the exact Browser scripts path was filtered before helper startup and was fully reverted.

This appears to be a desktop security-wrapper or packaging/version mismatch. The bundled Browser service is rejected before browser selection or page interaction.

Expected behavior: the Browser plugin scripts directory should be included in the trusted paths passed to the helper so the Browser service can initialize and attach to the in-app tab.

No credentials, cookies, authenticated URLs, page contents, or customer data were included. No website write occurred during diagnosis.

redorb007 · 9 days ago
  • Browser worked on 26.810.7004.0 with runner 0.148.0-alpha.9.
  • Update installed 26.814.5167.0 with runner 0.148.0-alpha.15.
  • Fresh sessions immediately reject the unchanged bundled Browser service.
  • Restarts and cache repairs do not resolve it.
  • The previous signed package is no longer locally recoverable.
andrew-scorchsoft · 9 days ago

I can confirm this on Windows 25H2 (build 26200.9168) with Browser plugin / Codex app version 26.814.41407.

The in-app browser panel opens and renders pages correctly, and the browser URL is visible to the agent, but control fails during setupBrowserRuntime() before agent.browsers.get("iab") is reached.

Exact error:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<username>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

I reproduced it after resetting the browser-control JavaScript kernel and starting again from a clean session. The bundled browser-client.mjs and browser-service.mjs files are present in that directory.

Is there a supported interim mitigation for Windows users, or is this fixed by an upcoming app/plugin release? I’d prefer not to switch the whole task to Full access just to restore in-app browser control.

optovozkz-cmd · 9 days ago

Confirming another independent reproduction on Windows x64. This was working before the current desktop update and now blocks authenticated browser workflows.

Environment

  • Codex Desktop package: OpenAI.Codex 26.814.5167.0
  • Bundled Codex runtime/CLI: 0.148.0-alpha.15
  • Browser plugin: browser@openai-bundled 26.814.41407
  • Workspace: local trusted project on C: (the project path contains Cyrillic characters)

Failure

The in-app browser itself opens and can render an already signed-in web application, but Browser control fails before DOM/tab access with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The error is identical in a fresh runtime after a full application restart.

Checks completed

  • Fully quit and restarted Codex; new helper processes were created.
  • Re-added/refreshed the bundled Browser plugin and restarted again.
  • Confirmed browser-service.mjs exists and is not a symlink/reparse point.
  • Confirmed the generated config includes %USERPROFILE%\.codex in NODE_REPL_TRUSTED_CODE_PATHS.
  • Confirmed NODE_REPL_TRUSTED_SERVICES points to the exact installed browser-service.mjs.
  • codex doctor reports the installation consistent, config loaded, authentication/network checks OK, and no newer runtime version available.
  • The same trusted-path error remains after all checks.
  • No filesystem ACLs, security settings, credentials, cookies, or browser data were modified or shared.

Impact

This prevents Codex from operating authenticated web interfaces and interrupted a production workflow that needed to create and send several reviewed email drafts. The failure occurs before any website interaction, so it is not site-specific.

Could the maintainers confirm whether this is a packaging/trust-metadata regression in 26.814.5167.0, and whether there is a supported interim workaround or a fixed build planned?

Flingeris · 9 days ago

same on 26.814.41407

rafapapa · 9 days ago

Workaround confirmed on Windows x64

I managed to get the in-app Browser working again by downgrading the desktop app.

Broken version: 26.814.5167.0
Working version: 26.810.7004.0

I did not reinstall the app through the Microsoft Store. I downloaded the official Store-signed x64 MSIX directly from OpenAI’s CDN and installed it manually:

https://learn.chatgpt.com/docs/enterprise/windows-deployment

Steps:

  1. Downloaded the official x64 MSIX package directly from OpenAI.
  2. Accepted the downgrade from 26.814.5167.0 to 26.810.7004.0.
  3. After reinstalling the downgraded version, I also cleared the Codex plugin cache so the app would not continue loading the cached 26.814 Browser components.
  4. Restarted the app and tested the in-app Browser again.

The Browser is now working normally. I successfully tested it by opening Google and other external websites.

The app is already offering the newer version for download, but I am not going to update it for now. I will keep using 26.810.7004.0, the version included in the downloaded MSIX package, until this regression is confirmed as fixed.

Important: at the time of writing, the URL above downloads 26.810.7004.0. It is a stable OpenAI download URL and is not permanently pinned to that specific version, so it may serve a newer build in the future.

This is only a workaround, not a permanent fix.

ALEXLam09 · 9 days ago

Additional workspace-context A/B result

I observed a useful control case on the same Windows installation:

  • Fresh conversation not attached to a project folder: the built-in Browser initialized successfully, opened http://127.0.0.1:3000/en, and could read the page title/DOM and capture the rendered viewport.
  • Fresh conversation opened inside a project folder: Browser initialization failed before navigation with:
Trusted RPC dependency must resolve within a configured trusted code path:
.../openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The target URL and installed Browser bundle were unchanged. Codex did not start the development server, install dependencies, or modify any project files during either test.

In this reproduction, Browser availability therefore appears to depend on the conversation's project/workspace context: a new projectless conversation can use Browser, while a new project-folder conversation cannot. This may help isolate the trusted-path configuration or propagation difference between those task types.

ALEXLam09 · 9 days ago
### Workaround confirmed on Windows x64 I managed to get the in-app Browser working again by downgrading the desktop app. Broken version: 26.814.5167.0 Working version: 26.810.7004.0 I did not reinstall the app through the Microsoft Store. I downloaded the official Store-signed x64 MSIX directly from OpenAI’s CDN and installed it manually: https://learn.chatgpt.com/docs/enterprise/windows-deployment Steps: 1. Downloaded the official x64 MSIX package directly from OpenAI. 2. Accepted the downgrade from 26.814.5167.0 to 26.810.7004.0. 3. After reinstalling the downgraded version, I also cleared the Codex plugin cache so the app would not continue loading the cached 26.814 Browser components. 4. Restarted the app and tested the in-app Browser again. The Browser is now working normally. I successfully tested it by opening Google and other external websites. The app is already offering the newer version for download, but I am not going to update it for now. I will keep using 26.810.7004.0, the version included in the downloaded MSIX package, until this regression is confirmed as fixed. Important: at the time of writing, the URL above downloads 26.810.7004.0. It is a stable OpenAI download URL and is not permanently pinned to that specific version, so it may serve a newer build in the future. This is only a workaround, not a permanent fix.

亲测有用!!!强烈推荐

adamczhang · 9 days ago

Adding another independent Windows reproduction from a trusted project on the primary C: drive.

Environment:

  • Codex Windows package path version: 26.814.5167.0
  • Browser plugin: 26.814.41407
  • Chrome plugin: 26.814.41407
  • Plugin service file exists at the rejected path
  • Project workspace is on C: (so this reproduction is not limited to alternate-drive workspaces)

Observed behavior:

  • The Codex in-app browser is visibly open with a Yahoo page loaded.
  • Explicit IAB initialization still fails before tab discovery 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
  • Explicit Chrome initialization fails at the same shared service path before Chrome tab discovery.
  • The failure is independent of the target page or authentication because neither backend reaches browser discovery.

This corroborates the current app/plugin version pairing and shows the same failure from a primary-drive workspace.

alex9assassin4 · 9 days ago

Adding a related Linux reproduction, although the failure mode differs from the Windows trusted-path error reported here.

Environment

  • Linux Mint 22.3
  • Codex desktop/native host: 26.814.41957
  • Bundled Chrome plugin: chrome@openai-bundled 26.814.41957
  • Chrome extension: 1.2.27259.19709
  • Chrome: 151.0.7922.137
  • Native-host manifest schema: 2
  • Required/installed native-host protocol: 2

Observed behavior

Tasks started from the Chrome extension can read the current page through getTabContext, but receive no interactive controls (no click, DOM inspection, screenshot, navigation, or clipboard operations). They then report that the “Codex Chrome native host is out of date.”

However, a Codex desktop task can connect to the same running Chrome instance through browser-client, enumerate and claim tabs, inspect the DOM, and click controls successfully. I verified this on the same Mage.Space tab by opening the newest generation, clicking Copy Prompt, and closing the detail panel.

The native-messaging manifest points to an existing executable host; it is executable, matches the app-bundled copy by hash, and the extension/host protocol versions agree. Multiple browser manifests found locally were identical registrations rather than stale competing installations.

This therefore appears to be asymmetric session capability provisioning/routing for Chrome-extension-started tasks, plus a misleading generic “native host is out of date” message—not a missing or genuinely outdated native host. Restarting Chrome did not change it.

This may be related to the broader browser regression here, but it is not the exact Windows trusted-RPC failure because desktop-initiated Chrome control remains fully functional.

ddev1l · 9 days ago
### Workaround confirmed on Windows x64 I managed to get the in-app Browser working again by downgrading the desktop app. Broken version: 26.814.5167.0 Working version: 26.810.7004.0 I did not reinstall the app through the Microsoft Store. I downloaded the official Store-signed x64 MSIX directly from OpenAI’s CDN and installed it manually: https://learn.chatgpt.com/docs/enterprise/windows-deployment Steps: 1. Downloaded the official x64 MSIX package directly from OpenAI. 2. Accepted the downgrade from 26.814.5167.0 to 26.810.7004.0. 3. After reinstalling the downgraded version, I also cleared the Codex plugin cache so the app would not continue loading the cached 26.814 Browser components. 4. Restarted the app and tested the in-app Browser again. The Browser is now working normally. I successfully tested it by opening Google and other external websites. The app is already offering the newer version for download, but I am not going to update it for now. I will keep using 26.810.7004.0, the version included in the downloaded MSIX package, until this regression is confirmed as fixed. Important: at the time of writing, the URL above downloads 26.810.7004.0. It is a stable OpenAI download URL and is not permanently pinned to that specific version, so it may serve a newer build in the future. This is only a workaround, not a permanent fix.

worked! thank you

alfatrademarks-creator · 9 days ago

Independent Windows reproduction — Browser/Chrome regression also breaks scheduled analytics workflows

Confirming an independent reproduction after the current Codex Desktop update.

Environment

  • Windows 11 25H2, build 26200
  • Codex Desktop 26.814.5167.0
  • Browser component/plugin 26.814.41407

Both the built-in Browser and external Chrome control are affected.

The page itself can open and render, but Codex fails before browser discovery / tab enumeration with:

Trusted RPC dependency must resolve within a configured trusted code path

for the bundled browser-service.mjs.

Restarting Codex, switching Codex/ChatGPT modes, and targeted trust-state/hash checks did not resolve the failure. No page data was collected and no website state was changed during these attempts.

Workflow impact

One additional point that may be useful for assessing severity: this regression affects more than interactive browser control.

I use Browser / Computer Use as a read-only acquisition layer for authenticated web applications where public web search, direct HTTP access, or APIs are insufficient.

Several workflows depend on it to:

  1. open an authenticated page;
  2. collect a scheduled analytical snapshot;
  3. retain successive observations over time;
  4. pass the accumulated dataset into later GPT analysis.

When Browser control fails globally after an update, these acquisition workflows stop simultaneously. This also creates gaps in historical time-series data that may not be reconstructable later.

Temporary fallback layers are public Web access, APIs where available, external scraping tools, and manual data transfer, but none fully replaces authenticated Browser / Computer Use.

Workaround status

I have seen reports in this issue that switching a task to Full Access restores Browser/Chrome control for some users. Other users report that the same Trusted RPC error remains even with Full Access enabled.

Because Full Access broadens the normal sandbox permissions, I would treat it as a temporary diagnostic/community workaround, not a normal permanent solution.

I have not seen a confirmed upstream fix yet.

Expected behavior: the official Browser and Chrome integrations should initialize under the normal task permission profile and allow read-only access to authorized pages without requiring Full Access.

Happy to provide additional sanitized diagnostics if maintainers need a specific trace or configuration comparison.

SergeyZudilov · 9 days ago

I can reproduce this issue on Windows with Codex App 26.814.41407, and I was able to narrow the failure down further.

The problem does not appear to be in Chrome, the extension, config.toml, or Windows path parsing.

The trusted root is configured correctly and reaches node_repl.exe correctly, but it is removed when node_repl.exe prepares the environment for the trusted sandbox/worker.

Environment seen by node_repl.exe:

NODE_REPL_TRUSTED_CODE_PATHS=%USERPROFILE%\.codex;%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_modules

Environment seen by the child sandbox launcher and final trusted Node worker:

NODE_REPL_TRUSTED_CODE_PATHS=\\?\<LOCALAPPDATA_PATH>\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_modules

So this trusted root is removed before the trusted worker is spawned:

%USERPROFILE%\.codex

The process chain is:

ChatGPT.exe
└─ codex.exe app-server
   └─ node_repl.exe
      └─ codex.exe sandbox
         └─ command runner
            └─ node.exe trusted-worker.js

The last confirmed correct point is the environment of node_repl.exe.

The first confirmed incorrect point is the environment of codex.exe sandbox.

The installed node_repl.exe contains references to:

src\trusted_process.rs
NODE_REPL_TRUSTED_CODE_PATHS
failed to join trusted code directories
failed to start trusted Node process

There are also debug references around:

src\trusted_process.rs:258
src\trusted_process.rs:263
src\trusted_process.rs:265

This strongly suggests that the environment is being filtered or rebuilt inside the native trusted-process supervisor.

trusted-worker.js itself appears to behave correctly. It reads the already incomplete environment value:

const trustedCodeRoots =
  (process.env.NODE_REPL_TRUSTED_CODE_PATHS ?? "")
    .split(path.delimiter)
    .filter((entry) => path.isAbsolute(entry))
    .flatMap((root) => {
      try {
        return [realpathSync.native(root)];
      } catch {
        return [];
      }
    });

The rejected file is:

%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser\26.814.41407\scripts\browser-service.mjs

The resulting error is:

Error: Trusted RPC dependency must resolve within a configured trusted code path:
file:///<USER_PROFILE>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

When %USERPROFILE%\.codex is included in the trusted roots, the same path-validation algorithm accepts this file successfully.

I also confirmed that:

  • browser, chrome, and computer-use plugin versions are consistent (26.814.41407);
  • the cached browser-service.mjs is byte-identical to the copy shipped in the currently installed package;
  • restarting Codex and creating a completely new trusted worker does not fix the issue;
  • config.toml is read correctly;
  • NODE_REPL_TRUSTED_CODE_PATHS is initially formed correctly;
  • Windows ; path separation works correctly;
  • path canonicalization works correctly;
  • the value is already incomplete before the final OS spawn of node.exe;
  • trusted-worker.js is not dropping %USERPROFILE%\.codex — it never receives it;
  • the failure occurs before browser service initialization and before communication with Chrome or the extension.

So the most likely failure boundary is:

node_repl.exe
→ src\trusted_process.rs
→ trusted child environment construction

At that boundary, NODE_REPL_TRUSTED_CODE_PATHS is effectively reduced from:

%USERPROFILE%\.codex
+
...\node_modules

to:

...\node_modules

This causes the browser service under:

%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser\26.814.41407\

to fail the trusted-path check even though it was included in the original trusted roots.

I did not modify the binaries, configuration, trusted paths, registry, Chrome extension, or browser state while diagnosing this.

adamczhang · 9 days ago

Strongly confirming and supporting @rafapapa’s workaround: https://github.com/openai/codex/issues/39136#issuecomment-5331274519

If you are affected, download and save the official x64 installer right now, before the rolling download is replaced with a newer build:

https://learn.chatgpt.com/docs/enterprise/windows-deployment

The working downgrade is 26.810.7004.0; the regression is present in 26.814.5167.0 with the 26.814.41407 Browser/Chrome components. After downgrading, clear these cached plugin folders so Codex does not keep loading the broken components:

%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser
%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome

Then restart on the downgraded build. Once it is working, do not close Codex unnecessarily and do not accept the offered update until OpenAI confirms that this regression is fixed. The deployment URL is rolling and is not permanently pinned to 26.810.7004.0, so preserving the installer now is important.

This workaround has multiple successful confirmations in this thread.

icemirr0r · 9 days ago

EDIT: Sorry, I somehow didn't see the workaround of @rafapapa, but maybe the powershell commands in my comment will make it a bit easier for some.

Workaround: downgrade the Windows app

This is only a temporary workaround and certainly not the best or a sustainable solution, but others may want to try it.

I downgraded the Windows app from 26.814.41407 to 26.810.7004.0 using OpenAI’s official Store-signed MSIX:

$uri = "https://persistent.oaistatic.com/codex-app-prod/ChatGPT-x64.msix"
$msix = "$env:USERPROFILE\Downloads\ChatGPT-x64.msix"

Invoke-WebRequest -Uri $uri -OutFile $msix

Add-AppxPackage `
    -Path $msix `
    -ForceUpdateFromAnyVersion `
    -ForceApplicationShutdown

Verify the installed version:

Get-AppxPackage -Name OpenAI.Codex |
    Select-Object Name, Version, PackageFullName

This successfully installed OpenAI.Codex 26.810.7004.0 on my system. Automatic app/Store updates may need to be disabled temporarily; otherwise Windows could immediately reinstall the latest version.

Again, this does not fix the underlying trusted-path problem and older versions may contain unresolved security issues. It is only intended as a troubleshooting workaround until an official fix is available.

nazedaque · 9 days ago

Confirming that the downgrade workaround also worked on another affected Windows x64 installation, with one additional observation about trust metadata regeneration.

Before

  • Codex Desktop: 26.814.5167.0
  • Browser/Chrome bundled plugins: 26.814.41407
  • Failure: Trusted RPC dependency must resolve within a configured trusted code path for %USERPROFILE%\.codex\plugins\cache\openai-bundled\browser\26.814.41407\scripts\browser-service.mjs

Procedure

  1. Removed a temporary manually pinned browser-client hash from the local Codex configuration.
  2. Installed the official Store-signed x64 MSIX for Codex Desktop 26.810.7004.0.
  3. Moved the cached Browser and Chrome plugin directories out of %USERPROFILE%\.codex\plugins\cache\openai-bundled\.
  4. Restarted Codex.

Result

  • Codex regenerated the Browser plugin as 26.810.52044.
  • Codex automatically regenerated NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S as:

8e172ec9f458f2e636fc69a1b8c68c217f6bb8d10c41f70a05a0878b73863701

  • The in-app Browser initialized successfully and navigated/read https://example.com/ (Example Domain).
  • No full-access permission workaround was required.

This independently supports the diagnosis that the 26.814.5167.0 update left the Browser plugin and trusted-RPC configuration inconsistent. Downgrading and resetting the plugin caches restored a coherent Browser/trust configuration automatically.

kers-aoyagi · 9 days ago

Independent Windows reproduction confirming a complete browser-control regression after the 26.814.41407 rollout.

Environment

  • Windows x64
  • Browser plugin 26.814.41407
  • Chrome plugin 26.814.41407

Observed

  • Both Chrome control and the built-in Browser fail before browser discovery with:

Trusted RPC dependency must resolve within a configured trusted code path: .../browser/26.814.41407/scripts/browser-service.mjs

  • Restarting Chrome, Codex, and Windows does not recover.
  • The Chrome extension's read-only tab-context path still works, but click/type automation cannot initialize.
  • Windows Computer Use initializes and lists windows successfully, isolating the failure to the shared Browser RPC path. Falling back to Windows automation for Chrome cannot safely proceed because the browser URL-confidence gate stops it.

Local forensic finding

  • Configured trusted browser-client SHA-256:

8E172EC9F458F2E636FC69A1B8C68C217F6BB8D10C41F70A05A0878B73863701

  • This exactly matches the cached Chrome client from 26.810.52044.
  • Installed Browser/Chrome client 26.814.41407 SHA-256:

3B9D8DCC6DC968887E8A969C63DAE6380E3C1C59FF5C474EB32DF08C353DAD87

  • The Browser and Chrome copies of the current client/service are byte-identical.

Impact

All Browser/Chrome automation paths are unavailable in existing signed-in sessions, while read-only tab context and unrelated Windows Computer Use remain functional. This is a full regression from the previous bundled client version.

No credentials, cookies, browser contents, or private paths are included.

shardubaa-spec · 9 days ago

Confirmed working workaround on Windows.

The previously suggested downgrade method using:

https://persistent.oaistatic.com/codex-app-prod/ChatGPT-x64.msix

no longer works for downgrading, because that URL currently returns the latest package (26.814.5167.0), not 26.810.7004.0.

I was able to successfully restore the built-in Browser by downloading the version-pinned package instead:

$url = "https://persistent.oaistatic.com/codex-app-prod/releases/26.810.7004.0/ChatGPT-x64.msix"
$file = "$env:USERPROFILE\Downloads\Codex-26.810.7004.msix"

Invoke-WebRequest -Uri $url -OutFile $file

I verified the MSIX manifest before installing and confirmed:

OpenAI.Codex 26.810.7004.0 x64

Then downgraded with:

Add-AppxPackage -Path "$env:USERPROFILE\Downloads\Codex-26.810.7004.msix" -ForceUpdateFromAnyVersion -ForceApplicationShutdown

Verified:

Get-AppxPackage -Name OpenAI.Codex | Select-Object Name, Version, PackageFullName

Result:

OpenAI.Codex 26.810.7004.0

Before starting the app again, I also removed the cached bundled Browser/Chrome plugins:

Remove-Item "$env:USERPROFILE\.codex\plugins\cache\openai-bundled\browser","$env:USERPROFILE\.codex\plugins\cache\openai-bundled\chrome" -Recurse -Force -ErrorAction SilentlyContinue

After rebooting Windows and starting Codex again, the built-in Browser automation works normally. I tested actual browser control (opening Yandex and entering text), not just page rendering.

For reference, before the downgrade I was on 26.814.5167.0 and Browser control was still broken.

So the important difference from the earlier workaround is using the version-specific /releases/26.810.7004.0/ URL, because the non-versioned MSIX URL now serves the newer affected build.

Brennn03 · 9 days ago

Root cause: browser plugin trust failure — supervisor rebuilds NODE_REPL_TRUSTED_CODE_PATHS from module dirs only, dropping CODEX_HOME

Confirming this issue on the same build (adding one more affected user), and posting a root-cause trace in case it saves triage time. I found the mechanism and confirmed it experimentally — including a workaround that fixes it locally.

Environment

| | |
|---|---|
| Codex Desktop | 26.814.5167.0 (MSIX) |
| codex-cli | 0.148.0-alpha.15 |
| browser / chrome plugin | 26.814.41407 |
| Node runtime | cua_node build 2fb562745e6d66f0, node v24.19.0 |
| OS | Windows 11 Enterprise 10.0.26200 x64 |

First: the SHA256S hash mismatch in this thread is a red herring

Several comments here point at NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S = 8e172ec9… not matching the installed browser-client.mjs (3b9d8dcc…). I see that mismatch too, but it is not what produces this error:

  • The error is thrown by a registerHooks({resolve}) hook in trusted-worker.js that does pure path-containment checking. No hash is computed or compared anywhere on that path.
  • node_repl.exe contains no NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S string at all, and in the generated config that variable sits under [shell_environment_policy.set] — which governs shell-command environments, not the node_repl MCP server env. It never reaches the runtime.
  • Decisive: I fixed the failure without touching any hash, by changing one unrelated path variable (below). The mismatch is still present on my machine and browser control works.

So the stale hash is real but inert. Chasing it will not fix this. Also relevant: #39160 (fails in a D: workspace, succeeds in C:) is consistent with path-containment logic, not integrity checking — path.relative across drives returns an absolute path, which fails the same test.

Root cause

The Electron shell and the Rust node_repl supervisor use two different trust models, and the supervisor silently discards the shell's.

1. The shell grants trust via CODEX_HOME

Generator in app.asar (deobfuscated, names mine):

let env = {
  NODE_REPL_NODE_MODULE_DIRS:   nodeModuleDirs,
  NODE_REPL_TRUSTED_CODE_PATHS: join([codexHome, nodeModuleDirs], platform === 'win32' ? ';' : ':'),
  NODE_REPL_NODE_PATH:          nodePath,
  CODEX_HOME:                   codexHome,
};
// browser service declared as an ABSOLUTE path under codexHome:
const svc = `${pluginCacheDir({codexHome, localVersion, marketplaceName, pluginName})}/scripts/browser-service.mjs`;
env.NODE_REPL_TRUSTED_SERVICES = JSON.stringify({
  browser: svc,              // absolute path under CODEX_HOME
  sky: '@oai/sky/service',   // bare specifier
});

This is self-consistent: the service lives under CODEX_HOME, and CODEX_HOME is placed in NODE_REPL_TRUSTED_CODE_PATHS. Written to config.toml, it looks correct:

NODE_REPL_NODE_MODULE_DIRS   = 'C:\...\cua_node\<build>\bin\node_modules'
NODE_REPL_TRUSTED_CODE_PATHS = 'C:\Users\<USER>\.codex;C:\...\bin\node_modules'
NODE_REPL_TRUSTED_SERVICES   = '{"browser":"C:/Users/<USER>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs"}'

2. The supervisor overwrites that variable

node_repl.exe does not pass its own NODE_REPL_TRUSTED_CODE_PATHS to the trusted worker. It regenerates it from NODE_REPL_NODE_MODULE_DIRS alone.

Read directly from process memory (PEB) of a live trusted worker:

supervisor node_repl.exe env:
  NODE_REPL_TRUSTED_CODE_PATHS = C:\Users\<USER>\.codex;C:\...\bin\node_modules      <- CODEX_HOME present

its trusted worker child (node.exe ... trusted-worker.js <project>):
  NODE_REPL_TRUSTED_CODE_PATHS = \\?\C:\...\bin\node_modules                          <- CODEX_HOME GONE
  NODE_REPL_NODE_MODULE_DIRS   = C:\...\bin\node_modules
  NODE_REPL_TRUSTED_SERVICES   = {"browser":"C:/Users/<USER>/.codex/plugins/cache/.../browser-service.mjs"}

The child's value is exactly canonicalize(NODE_REPL_NODE_MODULE_DIRS) — note the \\?\ prefix, absent from the shell-written value. CODEX_HOME is dropped.

This also explains @HopeCollector's observation that the NODE_REPL_TRUSTED_* values appear unavailable from the failing session: they are not missing from the environment, they are replaced by the supervisor with a narrower derived set before the worker starts.

Supporting detail: node_repl.exe contains a contiguous string list
NODE_REPL_TRUSTED_SERVICES / NODE_REPL_NODE_MODULE_DIRS / NODE_REPL_TRUSTED_CODE_PATHS / NODE_OPTIONS / NODE_PATH / LD_PRELOAD / LD_LIBRARY_PATH / DYLD_INSERT_LIBRARIES / BROWSER_USE_SECURITY_MODE, adjacent to trusted-process management strings — consistent with these being supervisor-controlled rather than inherited. (Interpretation; the process-memory observation above is the direct evidence.)

3. The worker rejects the import

trusted-worker.js:

const trustedCodeRoots = (process.env.NODE_REPL_TRUSTED_CODE_PATHS ?? "")
  .split(path.delimiter).filter(p => path.isAbsolute(p))
  .flatMap(r => { try { return [realpathSync.native(r)]; } catch { return []; } });

registerHooks({
  resolve(specifier, context, nextResolve) {
    const resolved = nextResolve(specifier, context);
    if (resolved.url.startsWith("file:")) {
      const filename = realpathSync.native(fileURLToPath(resolved.url));
      if (!isTrustedCodePath(filename)) {
        throw new Error(`Trusted RPC dependency must resolve within a configured trusted code path: ${specifier}`);
      }
      ...

resolveTrustedService() short-circuits for absolute paths, so browser is imported by absolute plugin-cache URL — which is outside the only surviving root.

The sky service does not break, because it is declared as a bare specifier and resolves through the module dirs. That contrast is the clearest statement of the bug: one trust model per service, in the same config block.

Confirmation

Adding the plugin's scripts directory to NODE_REPL_NODE_MODULE_DIRS — the variable the supervisor does honor — fixes it immediately:

NODE_REPL_NODE_MODULE_DIRS = 'C:\...\bin\node_modules;C:\Users\<USER>\.codex\plugins\cache\openai-bundled\browser\26.814.41407\scripts'

Chrome control then initializes and enumerates tabs normally, in both a fresh Desktop task and codex exec. Reverting the line reproduces the failure.

Editing NODE_REPL_TRUSTED_CODE_PATHS instead has no effect whatsoever, since the supervisor discards it — worth noting, as that is the variable the error message points you toward.

Additional finding: the workaround is erased automatically

[mcp_servers.node_repl] in config.toml is a generated block. A marketplace refresh regenerates it and reverts any edit. Observed:

18:02       workaround applied
18:06       Desktop workers spawn with the fix; Chrome works
18:14:06    marketplace last_updated bumped -> block regenerated
18:14:12    config.toml rewritten, workaround gone
18:14:50    next task's worker: single root -> failure returns

Anyone applying a config workaround should expect it to disappear without warning, which likely makes this look intermittent in user reports.

Suggested fixes

  1. Have the supervisor honor the shell-provided NODE_REPL_TRUSTED_CODE_PATHS (or union it with the derived module dirs), rather than discarding it; or
  2. Have the shell include the plugin's scripts directory in NODE_REPL_NODE_MODULE_DIRS; or
  3. Declare browser as a bare specifier the way sky already is.

A startup assertion that every path in NODE_REPL_TRUSTED_SERVICES resolves inside the derived roots would turn this into an actionable error instead of a generic trust failure at import time.

rayavil · 9 days ago

Same issue, with additional diagnostic detail:

  • Codex Desktop package: OpenAI.Codex_26.814.5167.0_x64__2p2nqsd0c76g0 (MSIX, Windows)
  • Browser plugin build: 26.814.41407
  • config.toml already lists the parent path as trusted:

NODE_REPL_TRUSTED_CODE_PATHS = 'C:\Users\Ramon\.codex;C:\Users\Ramon\AppData\Local\OpenAI\Codex\runtimes\cua_node\2fb562745e6d66f0\bin\node_modules'

  • Confirmed browser-service.mjs exists on disk at the exact path from the error:

C:\Users\Ramon\.codex\plugins\cache\openai-bundled\browser\26.814.41407\scripts\browser-service.mjs

  • Deleted the entire browser plugin cache folder and let Codex re-download it from scratch (fresh timestamp, no manual file editing, no manual config.toml edits) — the freshly regenerated file still fails with the identical trusted-path error.
  • A full app repair/reset was not required to reproduce this; the failure is not tied to a corrupted local cache, stale config, or permissions.

This rules out local corruption. The validator appears to reject a path that is already listed as trusted — possibly a URI-format (file:///C:/...) vs. Windows-path-format (C:\...) mismatch in the prefix comparison used by the trusted-code-path check.

adamczhang · 9 days ago

Browser control is a huge problem. No replys from Devs? We need help ASAP

zhaiyou · 9 days ago

Same issue on Windows11,

YoshikiPan · 9 days ago

Additional reproducible case and managed-vs-standalone boundary evidence:

  • In-app feedback/session ID: 01a012c3-b60d-79b2-9acf-76baea06fb7a
  • Windows x64: Microsoft Windows NT 10.0.26220.0
  • Codex desktop package: 26.814.5167.0
  • Bundled Browser plugin: 26.814.41407
  • Bundled Node runtime: v24.19.0
  • The Windows profile path contains non-ASCII/CJK characters (username redacted).

The managed Browser startup fails before returning an iab binding with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<WindowsUser>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

Additional boundary checks:

  1. The Browser service exists at the referenced versioned path.
  2. The generated trusted-code roots include the user's .codex directory.
  3. Applying realpathSync.native() plus path.relative() containment locally shows the service is beneath that trusted root.
  4. A fresh standalone diagnostic process using the same bundled runtime, Browser plugin, trusted roots, service path, default sandbox, and environment completes setupBrowserRuntime() successfully (isError=false, 415 ms).
  5. The desktop app's managed Browser/MCP startup continues to fail with the trusted-path error.
  6. Full desktop restart and uninstall/reinstall of the bundled Browser plugin did not change the result.
  7. One controlled retry on 2026-08-19 reproduced the identical error with the same versions.

This supports the existing analysis that the failure is at the managed node_repl/trusted-worker environment propagation boundary, rather than a missing file or ordinary filesystem containment failure. The non-ASCII profile path may be relevant, but this case does not prove it is required.

No session transcript, full config, credentials, local username, or project data are included.

PhoenixDian · 9 days ago

I can reproduce the same issue on Windows.

Codex Desktop version: 26.814.5167.0
Browser/Chrome plugin version: 26.814.41407

The built-in Browser and the Chrome extension control path both fail with the
same trusted RPC dependency error pointing to browser-service.mjs.

Reinstalling the plugin, regenerating the plugin/runtime cache, restarting
Windows, and testing with both a fresh and restored config.toml did not resolve it.

fengqi9 · 9 days ago

Additional Windows reproduction — app package 26.814.5167.0 / browser plugin 26.814.41407

I can reproduce the same failure on Windows.

Environment

  • Windows 25H2, build 26200.9168, x64
  • Codex App package: 26.814.5167.0
  • Bundled Browser and Chrome plugins: 26.814.41407
  • Chrome extension installed and enabled
  • Edge extension installed and enabled

Observed behavior

Both the in-app Browser and Chrome initialization fail before tab discovery with:

Trusted RPC dependency must resolve within a configured trusted code path:
file:///C:/Users/<username>/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The same failure occurs after retrying.

I changed the Codex UI permission setting to Full access, but the already-open task continued to receive:

sandbox_mode: workspace-write

This suggests that changing permissions may not update an existing task/session. I have not yet confirmed whether a completely new task after restarting Codex receives Full access and avoids the trust-path error.

Additional Chrome diagnostics

The Chrome and Edge extensions are both detected as installed and enabled. The native-host manifest exists, but the diagnostic reports that this registry entry is missing:

HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension

That registry issue may be separate from the in-app Browser trust-path failure, because the in-app Browser fails before any external-browser extension connection is selected.

No browser cookies, profile data, or private task contents were inspected.

whisper-house · 9 days ago

Confirming the same issue on Windows with Codex Desktop MSIX 26.814.5167.0 and Browser plugin 26.814.41407. The in-app browser UI opens and renders pages, but agent control fails with the identical Trusted RPC dependency / browser-service.mjs error. In this reproduction CODEX_HOME is on a non-default local drive. The issue persists after a full restart, Browser plugin reinstall, and cache refresh. We verified that browser-client.mjs and browser-service.mjs hashes match the files bundled with the installed app, so this does not appear to be plugin corruption or a stale-version mismatch. NODE_REPL_TRUSTED_CODE_PATHS is present under mcp_servers.node_repl.env, but the live trusted worker does not receive the required path. Adding the same value under shell_environment_policy.set allows a fresh diagnostic worker to select and control the IAB, but the Codex startup/plugin refresh rewrites config.toml and removes that line, so the failure returns after restart. An older working configuration from before the current update included the trusted code path in the shell policy. This points to a regression in trusted environment propagation or configuration persistence in the current Windows build. Sanitized logs can be provided if useful.

Ali-Karaki · 9 days ago

Same issue on Windows with browser@openai-bundled 26.814.41407 and codex-cli 0.148.0-alpha.15:

  • node_repl is enabled and works correctly outside the Desktop browser flow. Running codex exec and invoking node_repl/js successfully prints NODE_REPL_OK.
  • codex-browser-use-* and codex-computer-use-* named pipes are present.
  • NODE_REPL_TRUSTED_CODE_PATHS includes %USERPROFILE%\.codex, and NODE_REPL_TRUSTED_SERVICES points to the installed browser-service.mjs.
  • Browser control still fails under the normal sandboxed/workspace permission mode.
  • Switching to Full Access and starting a fresh task makes Browser control work.

This seems to further support the theory that the failure is specifically at the sandbox/trusted-worker boundary rather than the Browser plugin, Node REPL runtime, or native bridge itself.

yuyoungdock-blip · 9 days ago

Independent Windows reproduction with update-timing and clean-cache evidence (2026-08-19 KST).

Environment

  • Windows 11 x64
  • ChatGPT/Codex desktop package: OpenAI.Codex_26.814.5167.0_x64
  • Bundled Browser plugin: 26.814.41407
  • Codex CLI bundled/runtime component: 0.148.0-alpha.15

Timeline

  • The current desktop package directory was created at 2026-08-19 05:17:09 KST.
  • browser-service.mjs and browser-client.mjs have a bundled last-write time of 2026-08-19 05:17:24 KST.
  • Browser control had worked previously and then failed suddenly after this update window.

Exact failure

Trusted RPC dependency must resolve within a configured trusted code path:
file:///%USERPROFILE%/.codex/plugins/cache/openai-bundled/browser/26.814.41407/scripts/browser-service.mjs

The failure occurs before browser discovery/connection.

Verification and recovery already completed

  • Confirmed browser-service.mjs exists and is readable.
  • Confirmed the configured trusted root includes %USERPROFILE%\.codex, and the rejected service is a descendant of that root.
  • Confirmed the installed browser-client.mjs SHA-256 is 3B9D8DCC6DC968887E8A969C63DAE6380E3C1C59FF5C474EB32DF08C353DAD87, matching the active trusted-client configuration.
  • Performed full Codex restarts and a Windows restart.
  • Ran Windows App Repair.
  • Removed the Browser plugin cache and allowed Codex to regenerate it.
  • Compared the regenerated client, service, and manifest with the preserved pre-regeneration copy; their hashes are identical.
  • Tested an exact scripts-directory trusted path. Codex regenerated the config on restart and removed that added entry; the same failure persisted.
  • Restored the configuration after the test.

This rules out a missing or corrupted cached Browser bundle and strongly suggests a Windows desktop regression in trusted RPC service path or environment propagation introduced during the update window. Reinstalling or regenerating the same bundle is unlikely to address it.

Please investigate the trusted-service subprocess launch and provide a corrected Windows build. No credentials, browser contents, cookies, private paths, or private logs are included in this report.

samson-xu · 9 days ago

I have the same problem. When will it be fixed?

alfatrademarks-creator · 9 days ago

Update: still reproducible on Desktop 26.814.5517.0 / Browser 26.814.41957

Retested after Codex Desktop updated from 26.814.5167.0 to 26.814.5517.0.

The bundled Browser/Chrome component also updated from 26.814.41407 to 26.814.41957.

Under the normal permission profile, with Full Access not enabled, a fresh Browser Use bootstrap is still blocked before browser discovery / tab enumeration with the same error class:

Trusted RPC dependency must resolve within a configured trusted code path

The rejected service is the newly installed browser-service.mjs from Browser component 26.814.41957.

No settings were changed for this retest. No browser tab was obtained, no page data was read, and no website state was modified.

Result: the 26.814.5517.0 + 26.814.41957 combination still reproduces this Windows failure.

If 26.814.41957 was intended to address #39136, this retest indicates the issue is still present in this environment.

I have not separately retested Computer Use or the Excel bridge after this update, so I am not making any claim about their current status.

mustafaerciyas-pixel · 9 days ago

Confirming the same issue on Windows.

The ChatGPT Chrome extension is installed and enabled, site access is set to All sites, and the Chrome side panel loads normally. In ChatGPT/Codex, the bundled Chrome plugin is enabled and Settings → Computer use → Google Chrome is also enabled. I also tried the Windows app repair flow and re-tested, but the failure persists.

Codex still cannot inspect/control the open Chrome tab and reports a trusted component/code-path validation failure consistent with this issue.

Feedback ID: 01a016df-09d5-7ed1-9120-9d4ba88e7d49

gmorelli300-coder · 8 days ago

Adding an Enterprise reproduction from Sonoma County, California.

Environment:

Codex Windows app: 26.814.5167.0
Browser runtime/plugin: 26.814.41407
ChatGPT Enterprise workspace
Windows

The built-in Browser and Chrome control both fail before browser discovery with:

Trusted RPC dependency must resolve within a configured trusted code path: ...browser-service.mjs

This same machine was previously running Codex 26.810.7004.0, where Browser control worked normally. Windows AppX deployment history confirms the machine was upgraded from 26.810.7004.0 to 26.814.5167.0 on August 18, after which the failure appeared.

County IT also assisted with troubleshooting. We confirmed:

fresh projectless Codex tasks fail the same way;
Full Access was already enabled;
the Browser service file exists;
reinstall/restart steps do not resolve it;
the previous signed package has already been removed from the machine, so there is no clean local rollback option.

I have now submitted the affected Codex session directly through the in-app Bug feedback flow with current session logs and browser logs attached.

Feedback ID: 01a01aa4-adec-7062-af10-ee26bc710d17

Please correlate that feedback submission with this issue if possible.

I am intentionally not using unofficial third-party rollback packages because this is an enterprise-managed government computer.

This appears to be the same regression reported here and across the growing related issue cluster.

nazedaque · 8 days ago

Update: working locally again after downgrade/cache regeneration

Following up on my previous workaround report: the same machine has since auto-updated to:

  • Codex Desktop: 26.814.5517.0
  • Browser plugin: 26.814.41957

Browser control now works on this installation under the normal workspace-write permission profile, without Full Access. I verified that the in-app Browser initializes successfully, navigates to https://example.com/, and reads the page content.

I did not perform another manual cache reset or configuration change after the earlier downgrade to 26.810.7004.0, which had regenerated the Browser plugin and trust configuration. The working state therefore survived the subsequent automatic update to 26.814.5517.0.

This suggests that the downgrade plus clean cache/trust regeneration repaired my local environment and that the later update preserved that coherent state. It does not establish that the regression is fixed globally, since other users still report the same failure on the current version combination.

dgwyer · 8 days ago

Update: Installing the latest version worked for me.

adamczhang · 8 days ago

no one assigned yet? Is this really not going to get any love? browser control is incredibly important to fix. this is breaking shit guys

hattimon · 8 days ago

@adamczhang I managed to get Browser control working again today on Windows after installing the latest app update.

What fixed it for me:

  1. Update the Microsoft Store app to OpenAI.Codex 26.814.5517.0.
  2. After the update, my bundled plugins/runtime moved to 26.814.41957 (browser@openai-bundled and chrome@openai-bundled).
  3. Fully quit Codex/ChatGPT Desktop and start it again.
  4. Test the built-in browser first with something minimal, e.g. ask @Browser to open https://example.com and read the page title. After the update this returned Example Domain for me, so the previous Trusted RPC error was gone.

For @Chrome, there was one extra issue in my case: the ChatGPT Chrome extension was installed in other Chrome profiles, but not in the profile I was actually using. Check chrome://version -> Profile Path, then make sure the ChatGPT extension is installed/enabled in that exact profile. After installing it in the active profile and restarting Chrome + Codex, @Chrome also worked and could read the current tab title.

Separate note for anyone who also gets login error failed to start login server ... os error 10013: Codex login uses localhost ports 1455 and fallback 1457. On my machine Windows had both inside an excluded range because the TCP dynamic port range had been changed to start at 1024. I restored the normal dynamic range to 49152-65535, shut down WSL, rebooted, and both ports became bindable again. This fixed login, not the Browser Trusted RPC bug itself.

Commands I used for that port case (only if netsh int ipv4 show dynamicport tcp shows an abnormal range starting at 1024):

netsh int ipv4 set dynamicport tcp start=49152 num=16384
netsh int ipv6 set dynamicport tcp start=49152 num=16384
wsl --shutdown
shutdown /r /t 0

After reboot I verified 1455 and 1457 could bind successfully.

So in short: the new 26.814.5517.0 Windows package fixed the Browser regression for me; Chrome additionally required the extension to be present in the active Chrome profile.

rajakhoury · 8 days ago

@hattimon Thanks man. I can confirm the latest update fixed it for me.

HopeCollector · 8 days ago

The latest update resolved this issue for us as well. Both the built-in Browser and Chrome control are working again.

Environment:

  • Codex Desktop: 26.814.5517.0 (x64)
  • Browser plugin: 26.814.41957
  • Chrome plugin: 26.814.41957
  • Windows: 25H2, x64, build 10.0.26200.9168

Verification:

  • The built-in Browser initializes successfully, opens https://example.com/, and reads the page title (Example Domain).
  • Chrome control connects successfully and can inspect the current GitHub issue tab.
danila18-hub · 8 days ago

Update: the issue is resolved for us after installing the latest update.

  • Browser plugin: 26.818.21641

The Browser runtime now initializes successfully, and the previous Trusted RPC dependency must resolve within a configured trusted code path error no longer appears.