← Lab /Security & privacy

Malicious native apps can hijack browser extension messages via NativeMessaging

A non-privileged native application can misuse the NativeMessaging API to intercept sensitive data and launch confused-deputy attacks against other native apps

Security & privacy arXiv 3 Nov 2026 Attack Real-world evidence Threat model

Published as “The Native Menace: Host-to-Browser Cross-Boundary Attacks via Native Messaging”

Why it matters

The attacks break OS-enforced isolation on macOS and Windows, turning a low-privilege local app into a powerful credential-stealing and document-forging tool.

Summary

The paper shows that an unprivileged native app can hijack browser extensions via the NativeMessaging API, enabling full password-vault leakage and arbitrary document signing. They demonstrate two attack variants-bidirectional MITM and unidirectional confused-deputy-against popular extensions with over 532 million cumulative downloads. The evidence comes from real-world testing on Chrome v151 (macOS 26.3 and Windows 11) and Firefox v154, but some target apps overwrite their manifest on launch, requiring continuous re-poisoning, and sandboxed apps can block the attack unless they have exceptions.

What they found 1

  1. Unprivileged apps can abuse NativeMessaging to subvert security-critical workflows without elevated privileges.

    “Our extensive evaluation shows that an unprivileged app can abuse native messaging capabilities exposed by critical services, enabling adversaries to subvert security-critical workflows without requiring elevated privileges or user-granted permissions.”

Caveats 3

  • Some apps, like 1Password and Bitwarden, overwrite the manifest file on each app launch. However, this protection can be trivially bypassed by continuously monitoring the target manifest for changes and re-poisoning it after each overwrite.
  • We note that the attacker needs to ensure that the manifest file is successfully poisoned when the extension initiates the connection.
  • Both macOS and Windows support sandboxing for isolating apps; an attacker operating within the macOS App Sandbox or Windows AppContainer is generally unable to exploit Native Messaging due to insufficient privileges, though sandbox exceptions can allow the attack.

What’s new here 4

  • First systematic empirical analysis of the NativeMessaging API across browsers.
  • Introduces a cross-boundary attack where a malicious native app intercepts or manipulates extension-host communication.
  • Demonstrates real-world impact on high-profile apps (e.g., 1Password, EU eID, Google Drive).
  • Proposes concrete mitigations, including manifest-level restrictions and out-of-band encryption.

Threat model stated by the source

Adversarymalicious native application
Capabilityuser-level permissions; cannot read other process memory, cannot perform system-level network monitoring or full TLS interception, cannot capture keystrokes or screen content
Assumesuser has installed the targeted web extension; attacker cannot obtain elevated privileges