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

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 ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗