Windows Codex Desktop 26.616.5445: Browser Use fails because node_repl/js metadata is missing sandboxPolicy

Resolved 💬 4 comments Opened Jun 20, 2026 by RajaShawaiz Closed Jun 21, 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?

26.616.5445.0

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Browser Use is not working in Codex Desktop on Windows.

The in-app browser / Browser Use bridge cannot be controlled because the Node REPL JavaScript tool fails before executing any JavaScript. Any browser automation attempt fails during bootstrap with:

Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`

A minimal JavaScript call also fails with the same error:

nodeRepl.write('ping')

js_reset succeeds and returns:

js kernel reset

So the Node REPL tool surface appears to be partially available, but the js execution tool itself fails before user code runs.

Bundled plugin versions present locally:

  • browser: 26.616.41845
  • chrome: 26.616.41845
  • computer-use: 26.616.41845

This appears to be a Codex Desktop / app-server / MCP metadata issue. The browser client cannot start because the expected sandboxPolicy field is missing from codex/sandbox-state-meta.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows.
  2. Use Browser Use / the in-app browser automation feature.
  3. Attempt to open or inspect any website through Browser Use.
  4. Browser Use fails during runtime bootstrap before navigation.
  5. Run a minimal Node REPL JavaScript call:
nodeRepl.write('ping')
  1. The call fails immediately with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
  1. Run js_reset; it succeeds, but js execution still fails afterward with the same error.

What is the expected behavior?

Browser Use should attach to the in-app browser, allow navigation, and support normal browser automation actions such as DOM inspection, screenshots, clicking, typing, and page verification.

At minimum, node_repl/js should execute a simple JavaScript call like:

nodeRepl.write('ping')

If required sandbox metadata is missing, Codex Desktop should provide the expected sandboxPolicy field or return a clear actionable error explaining how to repair the local app state.

Additional information

Shell and file tools in the same Codex thread continue to work normally. The failure is isolated to node_repl/js execution and anything depending on it, including Browser Use.

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 2 months ago

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

  • #29238
  • #29215
  • #29199
  • #29193
  • #29240

Powered by Codex Action

abran28 · 2 months ago

Confirming this regression on Windows/Codex Desktop.

Broken build:

  • Codex Desktop 26.616.41845
  • Browser plugin path: openai-bundled/browser/26.616.41845

Failure:

  • node_repl/js fails before JavaScript executes.
  • Minimal repro:

``js
nodeRepl.write('ok')
``

  • Error:

``text
Mcp error: -32602: js: codex/sandbox-state-meta: missing field
sandboxPolicy
``

Impact:

  • In-app Browser cannot attach.
  • Browser plugin cannot be used because its required node_repl/js control path fails at metadata validation.

Workaround confirmed:

  • Rolling back to 26.616.32156 restores node_repl/js and the in-app Browser.

This looks like a regression in the app-server/tool-call metadata path in 26.616.41845, not a project/server/plugin-cache issue.

TUSKWOOD · 2 months ago

Mee too:

Codex Desktop Browser Use is broken.

Exact error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy

Impact:
@Browser / in-app browser control cannot run. A minimal node_repl/js call fails before JavaScript executes, so this is not caused by the target website or local project.

Related open issues:
https://github.com/openai/codex/issues/29193
https://github.com/openai/codex/issues/29219
https://github.com/openai/codex/issues/29241

This appears related to a Desktop/app-server/node_repl metadata mismatch after Codex Desktop 26.616.x / 26.619.x.

RajaShawaiz · 2 months ago

Confirmed resolved on my Windows Codex Desktop install after updating to 26.616.6631.0.

Verification:

  • node_repl/js now executes a minimal call successfully: nodeRepl.write('ping') returns ping.
  • Browser Use attaches to the in-app browser successfully.
  • In-app browser navigation works again.
  • Current bundled Browser plugin package: 26.616.51431.

Closing this as resolved.