Anthropic's Claude Desktop App Installs Undisclosed Native Messaging Bridge
TL;DR Highlight
Claude Desktop on macOS pre-authorizes browser extensions, even for Chromium browsers not yet installed.
Who Should Read
Developers who use Claude Desktop and browser extensions at work and worry about local app security settings.
Core Mechanics
- Claude Desktop writes a preauthorization file
- Claude Desktop on macOS creates com.anthropic.claude_browser_extension.json.
- It pre-authorizes three Chromium extension IDs, including the Claude extension.
- It targets browsers that aren't installed
- The file is created even when no Chromium-based browser is installed.
- Any such browser added later lets the preauthorized extensions talk to a local binary.
- Native Messaging is a bridge to a local executable
- Native Messaging (how browser extensions exchange messages with programs on your PC) runs with your OS privileges, outside the browser sandbox.
- The article says this lets extensions read pages, fill forms, capture the screen, and use authenticated sessions.
- Prompt injection numbers were cited
- The article cites Anthropic's safety metrics: 23.6% prompt-injection vulnerability without mitigations and 11.2% with current ones.
- It says a successful injection could pivot through the extension to the local bridge.
- Discoverer and legal angle
- Security researcher Alexander Hanff found the file and Noah Kenney independently reviewed it.
- Hanff flagged possible noncompliance with ePrivacy Directive Article 5(3).
Community Reactions
- Opinion that it's a nothing-burger
- One commenter said this is how native messaging normally works: apps declare in a manifest which extensions may talk to them.
- They argued it isn't undisclosed since users must install the extension and accept the "Communicate with cooperating native applications" permission prompt.
- A developer's hands-on experience
- One commenter built their own local proxy so a browser could reach local Claude, but expected it would never pass a security review.
- They then found Native Messaging, calling it fairly benign but agreeing that installing it without disclosure is bad.
- Whataboutism and distrust
- One comment said Chrome installs spyware too and nobody cares.
- Another said they suspect Anthropic isn't as ethical as it claims.
How to Apply
- Check your Mac for Native Messaging manifests
- Today, list the json files in the NativeMessagingHosts folders under ~/Library and /Library in a terminal.
- Identify the app behind any unfamiliar file and delete it if unneeded.
- Audit browser extension permissions
- Find installed extensions that hold the Native Messaging permission.
- Block unknown extension IDs and keep only the ones you approved.
- Add runtime consent to any local bridge you build
- If your service connects a browser to a local executable, ask for explicit user consent on first connection.
- Pin the allowed extension IDs to a minimum and document them at install time.
Try It
# Paste into macOS Terminal: list Native Messaging manifests and allowed extension IDs
for d in "$HOME/Library/Application Support"/*/NativeMessagingHosts "/Library/Google/Chrome/NativeMessagingHosts" "/Library/Application Support"/*/NativeMessagingHosts; do
[ -d "$d" ] && echo "== $d" && ls -l "$d"
done
find "$HOME/Library" /Library -name 'com.anthropic.claude_browser_extension.json' 2>/dev/null | while read f; do
echo "-- $f"; cat "$f"
doneTerminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques