Skip to main content
Agents launched by T3 Code can drive the owner’s real, signed-in Chrome through the Claude in Chrome extension, so browser steps don’t need a person to relay prompts between machines. The page is a powerful target: it carries the owner’s sessions for source control, cloud consoles and mail. This page records the required controls and the options that stay disabled, with reasons.

Turning it on for one seat

  • Review first. Before granting a seat browser control, get an independent security review of the guard and kill switch, as the security default requires.
  • One seat per machine. Opt in a single provider seat. The extension’s relay refuses a CLI signed in to a different claude.ai account from the extension’s, so only the seat on the owner’s account can use it anyway.
  • Use the environment, not the setting. In current Claude Code versions, T3- and SDK-launched sessions don’t apply the global “Enabled by default” Chrome setting. They connect at start-up only with --chrome or with CLAUDE_CODE_ENABLE_CFC=1 in their environment; recheck this after Claude Code upgrades. Add that variable to the seat’s provider-instance environment in the T3 settings, backing up the settings file first. New sessions pick the change up; running ones don’t.
  • Keep ask mode. The extension asks before acting on each new site. The CLI also reads CLAUDE_CHROME_PERMISSION_MODE=ask, which isn’t in the public Claude Code docs, so set it alongside the opt-in variable but don’t rely on it alone. An unattended run works only on sites the owner has already allowed; otherwise the action times out waiting for a click. Changing that is the owner’s decision.
  • Password managers stay off in the extension’s settings.
  • Reaching another machine. No control port is exposed between machines. An orchestrator delegates the browser task to a thread on the opted-in seat of the target machine, which drives its own local Chrome.

Guard hook

The opted-in seat registers a PreToolUse hook for the Chrome tools, the shell and file-edit tools. It is the main control, because orchestrated threads usually run with permission prompts bypassed. It is not a security boundary against code running as the same OS user (see Self-protection).
  • Browser tools fail closed. A call is denied when:
    • the machine isn’t armed;
    • the kill switch is set;
    • the input can’t be parsed;
    • the page-scripting tool is used (it can navigate anywhere);
    • the keyboard shortcut would focus the address bar, open a new tab or window, or open DevTools or view-source.
  • URLs are normalized strictly. Only http(s)://host is accepted, plus an exact blank page or new-tab page. Other schemes are denied, including javascript:, data: and chrome:. Malformed forms such as https:host, backslashes, control characters, userinfo and host-less URLs are also denied. Hosts are lowercased, trailing dots stripped and IDNA-encoded. Paths are percent-decoded, normalized and lowercased before matching.
  • Blocklist. It covers password managers, account-security pages, payment providers, banks and cloud billing pages. A line can be:
    • a host (suffix match);
    • a host plus path (segment prefix);
    • a glob matched against the normalized path?query.
    Sites not on the blocklist, such as mail, source control and cloud consoles, stay reachable. Ask mode and the extension’s site allow-list are the only limits there.
  • Audit without secrets. Every decision is appended to a private audit log. The log records the tool, the decision, the reason, the URL host, the action kind and the input key names. It never records typed text, full URLs, page content or screenshots.
  • Self-protection. The shell and edit tools may not change the kit’s files, re-arm the machine, or change the seat’s own settings. They also may not talk to a desktop-automation daemon or its sockets directly.
    • These are pattern checks, and code running as the same OS user can get around them.
    • The rule also refuses some read-only commands that only mention protected files. Use the editor’s read tool for those.
Page content stays untrusted data. An agent never follows instructions found on a page and never enters credentials. It works only in its own tab group. Keeping production consoles read-only is a behavioural rule in the agent’s brief; the guard does not block clicks or typing on a console. Don’t grant browser work on a production console you can’t afford to have changed.

Kill switch and re-arming

The switch is per machine and applies to the opted-in seat on that machine.
  • Denial is immediate. The hook re-checks the state on each call, so every live session on the machine is refused at once.
  • Re-arming needs the owner or a different seat. The controlled seat is denied, so a steered agent cannot turn itself back on.
  • No pattern kills. On shared hosts a pattern kill can end other people’s processes, so the kill switch leaves Chrome, its native messaging host and shared daemons running. Re-arming therefore needs no extension click; killing the native host would disconnect the extension until someone clicks it.
  • Install and update the kit from another seat. Pin each file by hash, run the guard’s offline test suite in a throwaway HOME, then verify live allow and deny decisions plus a kill and re-arm cycle.

Desktop control: disabled

Desktop automation (for example cua-driver, even in its bounded mode with a capability manifest) is disabled and unregistered for the controlled seat:
  • Input tools defeat the browser fences. Click, type, hotkey and batched steps on Chrome windows can press the extension’s own permission prompts, type a blocked URL into the address bar or open DevTools.
  • Screenshots leak. Window screenshots and accessibility trees expose whichever tab is in front, including the owner’s tabs outside the agent’s group.
Without input and capture, only a window inventory remains, which isn’t worth the added surface. Enabling desktop control needs a task-scoped manifest naming exact windows, owner approval and an independent security review. Browser work uses Claude in Chrome only.

Verification

  • Probe after each change. Use a small model (to keep probe cost low) on the opted-in seat on each machine:
    • an allowed page loads in its own tab;
    • a malformed or blocked URL is denied;
    • a kill makes navigation denied;
    • a re-arm from another seat makes it allowed again;
    • the probe closes its own tab.
  • Rerun the guard’s offline suite whenever the hook or the blocklist changes.
See the agent-coordination skill’s browser control reference for the agent checklist.