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-host that dynamically locates and executes versioned binaries from ~/.local/share/claude/versions/.
  • [COMMAND_EXECUTION]: Uses pkill to terminate running processes and osascript to remotely control and restart the Google Chrome application.
  • [PRIVILEGE_ESCALATION]: Performs chmod +x on a dynamically generated script to grant it execution permissions.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 30, 2026, 10:43 AM