The HADES lab at the University of Illinois Chicago has published a damning analysis of Chromium’s Native Messaging (NM) API, demonstrating that the protocol lacks fundamental integrity checks. In a paper accepted to IEEE S&P 2027, researchers Jyotirmay Chauhan, Rownak Islam, and Jason Polakis showed that any local application can spoof a native host, intercepting traffic between browser extensions and desktop apps. This attack vector compromises major security tools, including 1Password, Bitwarden, and Claude Desktop, by exploiting the assumption that the other end of the connection is trustworthy.

The Mechanics of the Hijack

Native Messaging allows extensions to communicate with desktop applications, a feature used by 1Password to sync vault states and by Claude to execute browser automation. The vulnerability stems from how Chrome resolves these connections: it trusts a manifest file registered by the desktop app. An attacker can modify the path in a user-level manifest to point to a malicious binary. When the extension calls connectNative(), Chrome launches the attacker’s process instead of the legitimate host. The attacker then spawns the real application, spoofing the extension ID via command-line arguments to complete a Man-in-the-Middle (MITM) interception.

Bypassing macOS Security with Headless Chrome

1Password initially appeared secure due to macOS mechanisms that verify the parent process of the native host. However, the researchers bypassed this by launching a headless Chrome instance with an attacker-controlled profile. By copying the public key of the legitimate 1Password extension, the fake extension successfully impersonated the real one. Once the MITM was established, the attacker could intercept the NMRequestAccounts message. If the user’s vault was unlocked, the response contained sensitive key material, including secretKey, muk, and srpX, allowing the attacker to decrypt the vault in stealth mode without requiring the victim to have the extension installed.

Vendor Responses and Disclosure Failures

The research team disclosed these findings to multiple vendors with mixed results. 1Password and Bitwarden acknowledged the issue but closed it as 'informative,' stating their threat models do not include local attackers. Anthropic, the developer of Claude, reportedly 'duped' the researchers and closed the issue, though the attack remains functional. In contrast, Foxit shipped message integrity and replay protection but rejected out-of-band key sharing as crossing their design boundaries. Web eID took the finding seriously, proposing a new browser mechanism to address the protocol's shortcomings.

Key Takeaways

  • Native Messaging lacks sender integrity, allowing any local app to register a malicious host and intercept extension traffic.
  • 1Password and Bitwarden vaults can be decrypted by local attackers if the native host is hijacked, even when the extension is not actively used.
  • Claude Desktop and Adobe Acrobat are vulnerable to arbitrary JavaScript execution and document exfiltration via the same attack vector.
  • Major security vendors are dismissing local attack vectors, leaving users exposed to privilege escalation from any application on the machine.

The Bottom Line

Calling local attackers out-of-scope for password managers is a dangerous abdication of responsibility. If your vault’s keys can be stolen by any random app running on your laptop, your security model is already broken.