SI Agent News
← All news
DevelopingClaudeResearch

Researchers say Native Messaging flaw exposes 1Password, Bitwarden and Claude Desktop

Researchers at the HADES lab describe attacks on password managers through Native Messaging, while 1Password and Bitwarden closed their reports citing a threat model without local attackers.

4 min readWritten with AI from the sources below

The short version

  • The paper is titled The Native Menace and carries arXiv number 2611.04291.
  • The attack on 1Password has a variant needing no installed extension on macOS.
  • Foxit added message integrity and replay protection.
  • web eID offered to work on a new browser mechanism.
  • Public IDs: Extension IDs are public knowledge, so an attacker can spoof one when launching the real native host.

What Native Messaging is

In March, a team at the HADES lab went looking for new research topics and found a Chromium extension API called Native Messaging. They had never met it before, even though they publish a lot of browser research.

Native Messaging, introduced in 2013, lets a browser extension talk directly to a desktop app. Browsers normally sandbox each page in its own isolated process with no direct OS access. Extensions get more room, since they can read a page's DOM, intercept network traffic and inject scripts, but they still cannot touch the user filesystem. The writers point to Scott McCloud's original Chrome Comic from 2008 for background on the browser security model, and they open with a Prologue that says their team found the API in March.

Turns out a bunch of pretty popular extensions use it, the writers report. Adobe uses it to save websites as PDFs, and Claude uses it for web automation. 1Password, a password manager, uses it to unlock its Chrome extension automatically when the desktop vault is unlocked.

Why it matters

If you keep passwords in 1Password, Bitwarden or KeePassXC, the researchers captured keys or credentials in their tests, with Bitwarden's decryption key and full KeePassXC credentials among them. 1Password and Bitwarden told the team their threat model does not include local attackers.

How the attack works

A desktop app gives consent by writing a manifest into a NativeMessagingHosts folder. The manifest holds a host name, a path to the program to launch, and a list of extension IDs allowed to connect. Chrome checks the calling extension against that list, then launches the app and relays messages between the two.

The researchers found that any app can write any manifest file. An attacker can point another app's path at a different binary, so the real extension ends up talking to the attacker's program.

Next, the attacker must fool the real desktop app. Chrome passes the extension ID as a command line argument, and since those IDs are public, the attacker can spoof one. That completes the MITM interception, a man-in-the-middle position where native messages can be read.

Getting past 1Password's checks

On macOS, 1Password checks that its parent process came from a legitimate browser such as Chrome or Firefox, using Apple Developer Identity. The writers say they had their AI tool reverse engineer the 1Password-BrowserSupport binary to see this. After a couple of days of trying and failing to bypass that check, they realized they did not need to. They could spawn a headless Chrome with an attacker-controlled profile and a fake extension that copied the real extension's public key. That headless Chrome then spawns the legitimate host, completing the MITM interception.

The extension sends a NMRequestAccounts request on launch. If the desktop app is unlocked, the host replies with full account info, including key material. The writers say srpX authenticates the user and pulls the encrypted vault, while muk decrypts the key set that decrypts the vault. A man in the middle therefore gets what is needed to decrypt a vault in complete stealth.

That request carries no token or challenge. So an imposter can ask for the keys itself, with no extension installed on the victim's machine. The researchers call this the uni-directional variant and say it is much stronger.

Encryption did not stop it

Bitwarden and KeePassXC also use Native Messaging but add encryption. The researchers argue encryption cannot stop a man in the middle when the sender cannot be verified. An attacker can run separate handshakes with the host and the extension and read the plain text. They say this captured full credentials for KeePassXC and the decryption key for Bitwarden. The work appears in the paper The Native Menace, dated 2026, with the arXiv number 2611.04291 and a Table of Contents on the lab page.

They write that every tested app treated Native Messaging as a secure channel, yet the protocol offers no way to authenticate the other party.

Proposed fixes and vendor replies

The team proposes two fixes. First, look up hosts at the system level before the user level, which protects against manifest shadowing without root permission. Second, vendors should share a key out of band, for example through a TLS backend or local PAKE, and encrypt messages with it.

Before submitting to IEEE S&P 2027, where the paper was accepted, they told the vendors. They say 1Password acknowledged and reproduced the work, then closed it as informative, saying its threat model excludes local attackers. Bitwarden gave the same reason. No CVE was issued.

Foxit shipped message integrity and replay protection but did not adopt PAKE or backend key sharing, because it apparently crosses the design boundary of the current product. Anthropic duped the finding and closed the issue, and the writers add that the attack still works. web eID proposed collaborating on a new browser mechanism. Adobe, KeePassXC, Opera, Web Signer and Signer.Digital acknowledged the research but did not respond further.

A small detail: The authors are Jyotirmay Chauhan, Rownak Islam and Jason Polakis. Chauhan and Islam contributed equally to the work.

The questions people ask

What it means for you

A password manager user on macOS should know the writers describe a variant where any app on macOS can ask 1Password for the keys, with no extension installed on the victim's machine.

Who gains

Foxit shipped integrity and replay protection, and web eID proposed a new browser mechanism. The researchers also suggest system-level lookup first and out-of-band keys.

How solid is it

Mixed. This rests on the researchers' own write-up. 1Password reproduced it, per the researchers, but several vendors closed it as outside their threat model.

What you can do

Treat the findings as a reminder that local apps are the risk described here. Watch for vendor updates before changing how you store passwords.

What to watch

  • Will 1Password or Bitwarden change their threat model for local attackers?
  • Will Anthropic act on the finding, given the researchers say the attack still works?
  • Will web eID's proposed new browser mechanism for Native Messaging get built?
Up nextResearchers say Claude helped them find Bluetooth flaw in Elecbrakes trailer brake controllers

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

Spot a mistake or a concern? Contact us · Corrections.

More AI news