Skip to content

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

Closed

Description

@RajaShawaiz

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.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    app-serverIssues involving app server protocol or interfaces
    tool-callsIssues related to tool calling
    sandboxIssues related to permissions or sandboxing
    on Jun 20, 2026
  2. abran28 commented on Jun 20, 2026

    @abran28

    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:
      nodeRepl.write('ok')
    • Error:
      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.

  3. TUSKWOOD commented on Jun 20, 2026

    @TUSKWOOD

    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:
    #29193
    #29219
    #29241

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

  4. RajaShawaiz commented on Jun 21, 2026

    @RajaShawaiz
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbrowserbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions