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
--chromeor withCLAUDE_CODE_ENABLE_CFC=1in 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 aPreToolUse 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)://hostis accepted, plus an exact blank page or new-tab page. Other schemes are denied, includingjavascript:,data:andchrome:. Malformed forms such ashttps: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.
- 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.
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.
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.