claude-in-chrome-troubleshooting
Warn
Audited by Gen Agent Trust Hub on Mar 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Modifies Chrome's internal configuration files located in
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/to enable or disable native messaging hosts. - [PERSISTENCE]: Instructs the user to modify their shell profile (
~/.zshrc) to include a management function, which acts as a persistence mechanism for the provided logic. - [DYNAMIC_EXECUTION]: Creates an executable wrapper script at
~/.claude/chrome/chrome-native-hostthat dynamically locates and executes versioned binaries from~/.local/share/claude/versions/. - [COMMAND_EXECUTION]: Uses
pkillto terminate running processes andosascriptto remotely control and restart the Google Chrome application. - [PRIVILEGE_ESCALATION]: Performs
chmod +xon a dynamically generated script to grant it execution permissions.
Audit Metadata