-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Windows Desktop node_repl fails with sandbox setup refresh / os error 740 #25419
Copy link
Copy link
Open
Labels
appIssues related to the Codex desktop appIssues related to the Codex desktop appbugSomething isn't workingSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesmcpIssues related to the use of model context protocol (MCP) serversIssues related to the use of model context protocol (MCP) serverssandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems
Metadata
Metadata
Assignees
Labels
appIssues related to the Codex desktop appIssues related to the Codex desktop appbugSomething isn't workingSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesmcpIssues related to the use of model context protocol (MCP) serversIssues related to the use of model context protocol (MCP) serverssandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug Report: Codex Windows Desktop node_repl fails with sandbox setup refresh / os error 740
Summary
Codex Windows Desktop can discover the
node_replMCP tool, but anyjsexecution immediately fails because the JS kernel exits during Windows sandbox setup.This also breaks Browser, Chrome, and Computer Use workflows that depend on
node_repl.Environment
OpenAI.Codex_26.527.3686.0_x64codex-cli 0.135.0-alpha.1v24.14.0Reproduction
node_replsmoke test:Actual Result
The tool is present, but the kernel exits unexpectedly:
The sandbox log shows:
Windows
os error 740indicates the requested operation requires elevation.Expected Result
The minimal
node_replJS call should return:Browser, Chrome, and Computer Use plugin workflows should then be able to bootstrap normally.
Additional Findings
node_repl -> JS kernel -> Windows sandbox setuppath.node_repl.exe --disable-sandboxcan execute a minimal JS call successfully outside the Desktop-managed MCP lifecycle.node_repl.exeprocesses are launched without--disable-sandbox, even after adding the following toC:\Users\Lenovo\.codex\config.toml:This suggests there may be multiple Desktop MCP launch paths, with at least one ignoring the configured args.
Impact
This prevents use of:
mcp__node_repl.jsThe rest of Codex local shell execution may continue to work, which makes the failure easy to misdiagnose as a browser/plugin-specific issue.
Request
Please investigate the Windows Desktop
node_replsandbox setup path, especially:codex-windows-sandbox-setup.exeis launched from the AppData CLI bundle and fails withos error 740;mcp_servers.node_repl.args = ["--disable-sandbox"]is not consistently applied to Desktop-managednode_repl.exeinstances.