Tmail

Muted Anthropic warning & exposed 11 browsers' cookies on Desktop

Code Unfixed Exhibit #23 Security & Bans

Pinned at 3c72b4e7: T3 silences Claude's approval-shadowing warning, runs uploadFiles outside Codex's sandbox, and disables browser isolation on Desktop.

From: Code Audit (commit 3c72b4e7) To: Desktop & Supervised Claude / Codex Users Date:
Independent Code Audit (3c72b4e7)<ClaudeAdapterV2.ts · ServerBrowser.ts · BrowserImport>
To: Desktop & Agent Runtime Users
Nov 27, 2026

Source inspection of main at commit 3c72b4e7 documented three interacting browser and approval-bypass behaviors:

  1. **Anthropic security warning muted (ClaudeAdapterV2.ts#L1629-L1647):** Injects wildcard mcp__t3-code__* under permissionMode: default (Supervised), skips runtimeMode checks on preview_* tools, and monkey-patches process.emitWarning inside withoutClaudeCanUseToolShadowedWarning to drop CLAUDE_SDK_CAN_USE_TOOL_SHADOWED as "per-session noise".
  2. **Codex sandbox bypass (ServerBrowser.ts#L1723-L1749):** enableAgentBrowserAccess defaults true (settings.ts#L1445). Host browser actions execute outside Codex's sandbox (CodexAdapterV2.ts#L853-L883), and uploadFiles validates only NodePath.isAbsolute(path) without workspace confinement or user confirmation.
  3. **11 browsers' cookies unisolated on Desktop (ServerBrowser.ts#L1236-L1247):** isolatedContext is true only when desktop === null (headless Linux). On Desktop Electron—the only target that runs BrowserImport/ (Sources.ts, ChromiumKeys.ts) to import Keychain/DPAPI/Full Disk Access cookies from 11 browsers—isolatedContext is false, open=false keeps the session invisible, and preview_evaluate runs CDP Runtime.evaluate (64 KB/call) on arbitrary URLs.
ClaudeAdapterV2.ts muting CLAUDE_SDK_CAN_USE_TOOL_SHADOWED
ClaudeAdapterV2.ts muting CLAUDE_SDK_CAN_USE_TOOL_SHADOWED
ServerBrowser.ts disabling isolatedContext on Desktop Electron
ServerBrowser.ts disabling isolatedContext on Desktop Electron
ServerBrowser.ts uploadFiles checking only NodePath.isAbsolute
ServerBrowser.ts uploadFiles checking only NodePath.isAbsolute