Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Codex bot turns leave out the plugins the ChatGPT account installed

Plateau Nguyenc49eb4d1a4aa
diff --git a/docs/verification/codex-browser-routing.md b/docs/verification/codex-browser-routing.md
index e7c372fc40..dbedefac98 100644
--- a/docs/verification/codex-browser-routing.md
+++ b/docs/verification/codex-browser-routing.md
@@ -1,6 +1,6 @@
# Codex browser routing
-Codex bot processes use OpenMausBot's selected browser/desktop bridge. Process-local overrides disable the bundled desktop-only browser/computer plugins; they do not uninstall plugins, change the user's Codex configuration, or disable native web search.
+Codex bot processes use OpenMausBot's selected browser/desktop bridge. Process-local overrides disable the bundled desktop-only browser/computer plugins and, with `features.plugins=false`, the plugins the signed-in ChatGPT account installed (their skills and the `request_plugin_install` tool); they do not uninstall plugins, change the user's Codex configuration, or disable native web search.
## Regression checks
diff --git a/server/drivers/codex-tool-surface.ts b/server/drivers/codex-tool-surface.ts
index 7e74310a30..7858144cf3 100644
--- a/server/drivers/codex-tool-surface.ts
+++ b/server/drivers/codex-tool-surface.ts
@@ -6,6 +6,9 @@ export function codexToolSurfaceArgs(): string[] {
"-c", "features.browser_use=false",
"-c", "features.browser_use_external=false",
"-c", "features.computer_use=false",
+ // Plugins the ChatGPT account installed reach every Codex home signed in to it (codex-cli 0.167.0): their skills join
+ // the bot's list and `request_plugin_install` its tools, whatever the bot's own switches say.
+ "-c", "features.plugins=false",
// An inline table: some CLIs read quoted dotted keys literally.
"-c", 'plugins={ "browser@openai-bundled" = { enabled = false }, "computer-use@openai-bundled" = { enabled = false }, "unified-computer-use@openai-bundled" = { enabled = false } }',
// Native web search needs no desktop browser connection; keep the user's/provider's mode.
diff --git a/server/drivers/codex.test.ts b/server/drivers/codex.test.ts
index 6a70692b23..38d55c658f 100644
--- a/server/drivers/codex.test.ts
+++ b/server/drivers/codex.test.ts
@@ -1997,6 +1997,7 @@ process.stdout.write(JSON.stringify({jsonrpc:'2.0',id:m.id,result})+'\\n');});`)
expect(seen.argv).toContain("features.browser_use=false");
expect(seen.argv).toContain("features.browser_use_external=false");
expect(seen.argv).toContain("features.computer_use=false");
+ expect(seen.argv).toContain("features.plugins=false");
expect(seen.argv.some((arg: string) => arg.startsWith("web_search="))).toBe(false);
expect(seen.argv).toContain('plugins={ "browser@openai-bundled" = { enabled = false }, "computer-use@openai-bundled" = { enabled = false }, "unified-computer-use@openai-bundled" = { enabled = false } }');
expect(seen.argv).toContain('mcp_servers.browser.default_tools_approval_mode="auto"');