You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chrome plugin / node_repl broken after Codex Desktop update: missing sandboxPolicy and dependencies cannot reinstall #29227
What version of the Codex App are you using (From “About Codex” dialog)?
149.0.7827.115
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
Summary
After today's Codex Desktop update, the Chrome plugin / node_repl integration stopped working. It had been working normally for several days before the update.
This does not appear to be caused by my previous API provider / ChatGPT login switch, because the Chrome plugin continued to work for days after that change. The issue started suddenly after the Codex Desktop update.
Symptoms
Chrome plugin / browser automation fails before opening or controlling any page.
node_repl tool calls fail immediately with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
3. Codex Settings shows:
Codex dependencies may need repair
4. Workspace dependencies show:
Current version: Not installed
5. Clicking reinstall shows:
Unable to reinstall Codex dependencies
### What steps can reproduce the bug?
Feedback ID: 019eda2c-8e7e-7020-9279-5e3955494d15
### What is the expected behavior?
The bundled Codex workspace dependencies should reinstall successfully, and Chrome plugin / node_repl should work after the update.
### Additional information
Troubleshooting already tried
Restarted Codex Desktop.
Restarted macOS.
Checked Chrome extension installation and native host manifest.
Confirmed Chrome is installed and running.
Checked local Codex processes and found node_repl / MCP processes being spawned again by Codex.
Tried the Settings → Reinstall dependencies button, but it fails with “Unable to reinstall Codex dependencies”.
Environment
OS: macOS
Device: Mac mini, Apple Silicon
Codex Desktop version: 149.0.7827.115
Chrome version: 149.0.7827.115
Issue started after today's Codex Desktop update.
Notes
This looks like a version/protocol mismatch between Codex Desktop, bundled workspace dependencies, node_repl, and the Chrome/Browser plugin after the update. One component appears to expect codex/sandbox-state-meta.sandboxPolicy, but another component is not providing it.
Codex Desktop: 26.616.41845, build 4198
Bundled Codex CLI: 0.142.0-alpha.6
Chrome plugin: 26.616.41845
Google Chrome: 149.0.7827.115
macOS: 26.2, build 25C56
Problem:
Codex cannot initialize Chrome control. The browser bootstrap fails immediately at the mcp__node_repl__js tool boundary, before it can communicate with the Chrome extension.
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
Steps to reproduce:
Open Codex Desktop.
Enable the Chrome plugin.
Install and enable the Codex extension in Google Chrome.
Start a Codex thread.
Enter: test chrome
Codex attempts to initialize browser control through mcp__node_repl__js.
The request fails immediately with the missing sandboxPolicy error.
Expected result:
Codex should connect to the Chrome extension and access the available Chrome tabs.
Actual result:
The browser execution request is rejected because sandboxPolicy is missing from codex/sandbox-state-meta.
Troubleshooting already completed:
Quit and restarted Codex.
Checked Codex for updates.
Uninstalled the Chrome plugin and reactivated it.
Disabled the Codex Chrome extension.
Reinstalled and re-enabled the Chrome extension.
Retried Chrome initialization.
Confirmed the Chrome plugin’s scripts/browser-client.mjs file is installed.
The same error persists.
Additional diagnostic detail:
The local Codex session metadata contains a sandbox policy, but the node_repl/js MCP request reports that the expected sandboxPolicy field is absent. This suggests the failure is in Codex Desktop’s MCP request metadata propagation or serialization, rather than Chrome or the Chrome extension.
Please investigate the Codex Desktop-to-node_repl metadata path for Chrome browser-control requests.
Feedback ID: 019ee67c-5857-7f03-80eb-6a8ca11555f7
What steps can reproduce the bug?
Feedback ID: 019ee67c-5857-7f03-80eb-6a8ca11555f7
tool call error: tool call failed for `node_repl/js`
Caused by:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
Direct MCP reproduction against the bundled node_repl.exe:
tools/call with _meta["codex/sandbox-state-meta"].sandbox = "danger-full-access" fails with:
js: codex/sandbox-state-meta: missing field `sandboxPolicy`
The same tools/call with _meta["codex/sandbox-state-meta"].sandboxPolicy = { type: "danger-full-access" } succeeds and returns the expected JS output.
A tools/call with no codex/sandbox-state-meta also succeeds.
This makes it look like a Codex Desktop/app-server-to-node_repl metadata serialization mismatch: one side is still sending the older sandbox field, while the bundled node_repl expects sandboxPolicy.
Chrome extension/native-host state does not appear to be the root cause here; the failure occurs at node_repl/js before browser-client bootstrap or Chrome communication.
Activity
github-actions commentedon Jun 20, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
zoulux commentedon Jun 20, 2026
019ee57f-2928-7782-b530-93e8bcea0e24
Neel-Error404 commentedon Jun 20, 2026
I am facing the same issue.. it was all operational. It broke after some update today. Unable to fix this
emailconor commentedon Jun 20, 2026
Same Issue
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.616.41845
What subscription do you have?
Plus
What platform is your computer?
Apple M3 MacBook Air, OS 26.2 (25C56), Darwin 25.2.0 arm64 arm
What issue are you seeing?
Title: Chrome control cannot initialize because sandboxPolicy metadata is missing
Session/thread ID:
019ee67c-5857-7f03-80eb-6a8ca11555f7
Environment:
Codex Desktop: 26.616.41845, build 4198
Bundled Codex CLI: 0.142.0-alpha.6
Chrome plugin: 26.616.41845
Google Chrome: 149.0.7827.115
macOS: 26.2, build 25C56
Problem:
Codex cannot initialize Chrome control. The browser bootstrap fails immediately at the mcp__node_repl__js tool boundary, before it can communicate with the Chrome extension.
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
Steps to reproduce:
Open Codex Desktop.
Enable the Chrome plugin.
Install and enable the Codex extension in Google Chrome.
Start a Codex thread.
Enter: test chrome
Codex attempts to initialize browser control through mcp__node_repl__js.
The request fails immediately with the missing sandboxPolicy error.
Expected result:
Codex should connect to the Chrome extension and access the available Chrome tabs.
Actual result:
The browser execution request is rejected because sandboxPolicy is missing from codex/sandbox-state-meta.
Troubleshooting already completed:
Quit and restarted Codex.
Checked Codex for updates.
Uninstalled the Chrome plugin and reactivated it.
Disabled the Codex Chrome extension.
Reinstalled and re-enabled the Chrome extension.
Retried Chrome initialization.
Confirmed the Chrome plugin’s scripts/browser-client.mjs file is installed.
The same error persists.
Additional diagnostic detail:
The local Codex session metadata contains a sandbox policy, but the node_repl/js MCP request reports that the expected sandboxPolicy field is absent. This suggests the failure is in Codex Desktop’s MCP request metadata propagation or serialization, rather than Chrome or the Chrome extension.
Please investigate the Codex Desktop-to-node_repl metadata path for Chrome browser-control requests.
Feedback ID: 019ee67c-5857-7f03-80eb-6a8ca11555f7
What steps can reproduce the bug?
Feedback ID: 019ee67c-5857-7f03-80eb-6a8ca11555f7
What is the expected behavior?
No response
Additional information
No response
stridr5555 commentedon Jun 20, 2026
Browser Chrome CDP Skill working as a backup with cloned chrome profile.
iantimes commentedon Jun 20, 2026
I am seeing the same failure on Windows, and I was able to narrow it down to the MCP metadata shape before any Chrome/browser-client code runs.
Environment:
Minimal symptom from Codex tool call:
Direct MCP reproduction against the bundled
node_repl.exe:tools/callwith_meta["codex/sandbox-state-meta"].sandbox = "danger-full-access"fails with:tools/callwith_meta["codex/sandbox-state-meta"].sandboxPolicy = { type: "danger-full-access" }succeeds and returns the expected JS output.tools/callwith nocodex/sandbox-state-metaalso succeeds.This makes it look like a Codex Desktop/app-server-to-node_repl metadata serialization mismatch: one side is still sending the older
sandboxfield, while the bundlednode_replexpectssandboxPolicy.Chrome extension/native-host state does not appear to be the root cause here; the failure occurs at
node_repl/jsbefore browser-client bootstrap or Chrome communication.