Computer Use / node_repl fails on Windows: missing sandboxPolicy
What version of the Codex App are you using (From “About Codex” dialog)?
OpenAI.Codex_26.616.5445.0
What subscription do you have?
ChatGPT Business
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 Is64BitOperatingSystem: True Is64BitProcess: True OS: Windows 11 Pro
What issue are you seeing?
Computer Use does not work on Windows. The computer-use plugin is installed and enabled, and node_repl is exposed as an MCP tool, but every call to node_repl/js fails before running JavaScript.
Error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
Because of this, Computer Use cannot initialize and cannot call sky.list_apps().
Environment:
- Codex Desktop: OpenAI.Codex_26.616.5445.0
- codex.exe app-server: 0.142.0-alpha.6
- computer-use plugin: 26.616.41845
- node_repl runtime: cua_node\a89897d3d9baa117
- OS: Windows 11 Pro
Additional observations:
- node_repl.exe starts successfully.
- mcp__node_repl.js_add_node_module_dir works.
- mcp__node_repl.js fails with missing sandboxPolicy.
- Computer Use cannot call sky.list_apps().
- Reinstalling the Computer Use plugin did not resolve it.
- Restarting Codex fully did not resolve it.
- Antivirus initially flagged Codex sandbox runner activity, but false-positive exclusions were added.
- Codex binaries checked locally are signed by OpenAI OpCo, LLC.
- Install/enable the bundled Computer Use plugin on Codex Desktop for Windows.
- Restart Codex Desktop.
- Start a Codex chat and invoke Computer Use, e.g. ask it to list open apps.
- The assistant attempts to use node_repl/js to bootstrap Computer Use.
- node_repl/js fails before executing JavaScript.
Feedback ID:
019ee617-3310-7603-ad0e-ad733878528c
What steps can reproduce the bug?
Feedback ID: 019ee617-3310-7603-ad0e-ad733878528c
What is the expected behavior?
Computer Use should initialize through node_repl and be able to call sky.list_apps() to list open Windows apps.
Additional information
node_repl/js fails with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
As a result, Computer Use is unusable.
12 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Adding my Windows repro because this matches the Computer Use side of what I am seeing. Feedback/session ID:
019ee5d3-7653-7870-95c3-5841e75db374.Sanitized environment:
26.616.5445.0, Windows x64 Store package.26.616.41845.node_replruntime observed undercua_node/a89897d3d9baa117/bin/node_repl.exe.browser@openai-bundled,chrome@openai-bundled, andcomputer-use@openai-bundledare enabled.unelevated.What I am seeing:
node_repl/jsroute as Browser/Chrome.mcp__node_replroute in the affected thread is stuck atTransport closed:js_reset->Transport closedjssmoke testnodeRepl.write('official-node-repl-ok')->Transport closedjs_add_node_module_dir->Transport closedAdditional checks I performed:
extension-host.exe, the target exists, and the allowed origin matches the Codex Chrome extension ID.1.1.5_0.chrome.nativeMessaging,codex-browser-use, andcodex-computer-useare present.wingetreports no available Store update for Codex.26.616.41845Browser/Chrome/Computer Use runtime, so I do not have an obvious local rollback target.One useful extra data point: a disposable standalone MCP probe against the bundled
node_repl.execan execute JavaScript when launched with the metadata shape the runtime expects:sandboxPolicy.type = "workspace-write"plussandboxCwd. That returnedmanual-node-repl-ok. But trying to use that standalone workingnode_replto bootstrap the bundled Chromebrowser-client.mjsfails with:So my current read is: the runtime binary itself is not simply broken, but the Desktop-managed trusted
node_repl/Computer Use/Chrome path is. A standalonenode_replis not a usable workaround because it cannot access the Desktop privileged bridge. I am intentionally not attaching screenshots, raw logs, account/profile data, repo names, local username, browser history, cookies, or full local paths here for privacy.Adding another Windows repro for the same
node_repl/js/ Browser failure.Sanitized observations from my affected Codex Desktop session:
26.616.41845.browser@openai-bundledto inspect the currently open browser tabs.mcp__node_repl.jsroute failed before any JavaScript executed.with the same missing
sandboxPolicyerror.Impact:
node_repl/jsmetadata failure, rather than by Chrome, the target page, or local website state.I am intentionally not including local usernames, full local paths, browser history, screenshots, account data, cookies, or private workspace details.
Adding another confirmation from a Windows user.
Environment:
Observed behavior:
Every Computer Use action fails immediately with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field
sandboxPolicyI can reproduce this consistently with simple requests such as:
What I already tried:
None of these changed the behavior.
This appears to match the reports above where the MCP metadata reaches node_repl without the required sandboxPolicy field.
Hope this helps confirm the issue.
Adding a macOS / Chrome-path repro. This looks like the same shared
node_repl/jsmetadata failure, not only a Windows Computer Use issue.Environment from this session:
/Applications/Codex.app/Contents/Info.plist:26.616.41845(CFBundleVersion4198).26.616.41845.Fresh smoke test through the official MCP route:
Actual result:
Impact here:
node_repl.jsroute fails before user JavaScript runs.I am intentionally not including browser history, cookies, account data, local usernames, screenshots, or private workspace paths.
Follow-up to my earlier Windows comment with a newer, separate feedback/performance trace.
Feedback ID:
019ee64c-3000-7332-8030-a22cfd39505e. I also submitted a Codex Desktop performance/reliability trace from the same session logs, so OpenAI should be able to correlate the private telemetry from that ID.New information from that later trace, focused on Computer Use:
node_repl/jswas visible andjs_resetsucceeded, but a minimal JS call still failed before user code ran:node_repl/jsfailed first.Most actionable split: local user-level config/environment visible to the trace included
NODE_REPL_REQUEST_METAwithcodex/sandbox-state-meta.sandboxPolicy, but the livenode_repl/jsMCP call still reportedsandboxPolicymissing. That makes this look like Desktop app-server / live MCP request metadata marshalling, not active desktop visibility, app permission, or Computer Use target-window state.Privacy note: I am intentionally not posting local usernames, full paths, repo/project names, raw logs, thread IDs, tokens, cookies, screenshots, account identifiers, or subscription details here. Please use the feedback ID and same-session performance trace to inspect the raw data privately.
I am seeing the same error, but not only on Windows.
Exact error:
tool call error: tool call failed for node_repl/js
Caused by:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
Reproduced on:
On Mac, I also reproduced after:
This blocks Codex browser / Computer Use entirely. It appears to fail before page navigation or JavaScript execution, so it does not seem site-specific.
This is not Windows-only.
I am seeing the same issue on Windows.
Feedback ID:
019ee6f7-e7df-7f62-8446-96bcbc730dc7Environment:
OpenAI.Codex_26.616.5445.00.142.0-alpha.626.616.41845cua_node\a89897d3d9baa117Observed normal Codex Desktop failure:
Update: this appears fixed for me after updating Codex Desktop.
Fixed/current build on my Mac:
26.616.51431(CFBundleVersion4212)26.616.51431Original failing build from my earlier repro:
26.616.41845(CFBundleVersion4198)26.616.41845Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicyVerification on the current build:
now returns:
I also used the Chrome browser-control path successfully in the updated build. So my macOS/Chrome-path repro is resolved in
26.616.51431. I cannot independently verify the Windows Computer Use repros, but this confirms the sharednode_repl/jsmetadata failure is fixed on my updated macOS install.Update from Windows:
After updating Codex Desktop to version 26.616.51431, the issue appears resolved for me.
Previously, every Computer Use action failed with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field
sandboxPolicyAfter updating, Computer Use is working again. I successfully tested it by opening Microsoft Paint and having it draw a heart on the canvas.
Browser and Computer Use both appear functional now.
Environment:
Thanks.
Adding a current Windows data point from the same failure family.
Environment observed locally:
OpenAI.Codex 26.616.5445.0computer-use:26.616.41845browser:26.616.41845chrome:26.616.4184526.616.41845for Computer Use / Browser / Chrome.computer-use@openai-bundled,browser@openai-bundled, andchrome@openai-bundledare enabled.unelevated.Fresh smoke test from the affected session:
Actual result:
Previous failures on this machine also included:
Impact:
node_repl/jsroute is also blocked.sky.list_apps()cannot be reached, so no desktop app inventory is available through Computer Use.I also checked the local Codex SQLite log sizes before any rotation:
logs_2.sqlite: 294.69 MBlogs_2.sqlite-wal: 20.95 MBlogs_2.sqlite-shm: 0.06 MBRotating
logs_2.sqlite*may help responsiveness, but it does not resolve this bridge failure.Notable detail: other comments report this fixed after moving to plugin/runtime
26.616.51431, but this Windows Store package install still appears to have bundled Computer Use / Browser / Chrome plugin version26.616.41845, and the livenode_repl/jsroute is still failing withTransport closed.Privacy note: I am not posting local usernames, full filesystem paths, screenshots, account identifiers, cookies, browser history, raw logs, or private workspace details here.
Confirmed regression comparison:
26.611.8273.0/ Computer Use plugin26.611.6175326.616.5445.0/ Computer Use plugin26.616.41845node_repl.exehash and samecua_noderuntimejs_resetworks, butjsfails before user JavaScript with:codex/sandbox-state-meta: missing fieldsandboxPolicy``This strongly suggests the breakage is in the 26.616 Desktop/plugin host metadata layer, not in the local
cua_noderuntime.Additional Windows data point with runtime diagnostics:
Broken Dev PC:
OpenAI.Codex 26.616.5445.026.616.4184526.616.41845cua_noderuntime:a89897d3d9baa117node_repl.exeSHA256:C2179F9531A86B64D67CFDF70B4D2CA0B15408C3BBACA89C3294CC822E79395F@oai/sky:0.4.13computer-use-client.mjsSHA256:566BE6EF352EB3DE899ADC56A9CD7B5E46C8F65B00E56B5630DD7A580E10CBEAWorking laptop comparison:
OpenAI.Codex 26.611.8273.026.611.61753node_repl.exehash as abovecua_noderuntime family123+456=579)Additional diagnostics from the broken Dev PC:
@oai/skyexport-map issue was repaired and verified; direct import of the internal Windows Computer Use base now returnsWindowsComputerUseClientBase.node_repl.exe --disable-sandboxlaunches standalone outside Codex Desktop.initializeworks and reportsrmcp 1.5.0.tools/listworks and exposesjs,js_add_node_module_dir, andjs_reset.node_replcan import@oai/skyafter adding the runtimenode_modules.computer-use-client.mjssyntax-checks and imports successfully when a trusted mockedglobalThis.nodeReplprovidesconfig,env.NODE_REPL_NODE_MODULE_DIRS, andnativePipe.js_resetworks butnode_repl/jsfails before user JavaScript runs:After further probing/helper shutdown it sometimes degrades to:
Current local conclusion: runtime,
node_repl.exe, and@oai/skyare healthy enough; the failure appears to be in the Codex Desktop/plugin host metadata path in26.616.x, where the hosted MCP call tonode_repl/jsis missing thesandboxPolicyfield before Computer Use can reachsky.list_apps()or the native pipe.