Here’s a new security nightmare to worry about. While Microsoft, Google, Facebook, Amazon and others warn users to ditch passwords for passkeys, it turns out that a simple mistake on your device could hack those passkeys after all.
Where passwords can be stolen, breached and hacked, and two-factor authentication codes can be bypassed, intercepted or shared, passkeys are locked down. This newer “phishing resistant” security links account security to device security, meaning that an attacker without physical access to your unlocked hardware can’t break in.
But there’s one weakness in this system — your browser. The team at warns that “malicious extensions/scripts can fake passkey registration and logins,” which “breaks the myth that passkeys cannot be stolen.” It’s a “wake up call,” they say.
The new research is a proof of concept and not yet evidenced in the wild, but SquareX says “while passkeys appear more secure, much of this perception stems from a new technology that has not yet gone through decades of security research and trial by fire.”
The passkey attack works by exploiting the passkey setup process, which assumes your browser — which is the mandatory middleman — is a secure environment.
“The browser is the primary interface for users to register and authenticate passkeys,” and it’s relied on by both sides”to communicate honestly.” If the browser can’t be trusted, then the device passkey setup and the services can be duped.
SquareX has shown that “an attacker can intercept and manipulate this communication within the browser and redirect the communication to their server by replacing the WebAuthn calls with their own code.” This is done via a malicious browser extension.
This is the latest warning this year that extensions are the wild west of the browser world. While the focus is on patching vulnerabilities in browser software, when 99% of users rely on over-the-top software add-ons, security is immediately compromised.
We have seen lists of extensions that are malicious from the start and others that are hijacked once on-device. The simple advice is to be as wary of the extensions you install in Chrome, Edge or any other browser as the apps on your device.
SquareX’s Vivek Ramachandran told me that while “passkeys are becoming the trusted way for enterprises to authenticate users. Given the nascency of the technology, few understand how it truly works.” This new attack “exploits the main channel through which passkey registration and authentication occurs — the browser.”
In its POC, SquareX that a seemingly benign extension can wake up when a user initiates a new passkey setup, “intercepting the call before it reaches the authenticator and generating its own attacker-controlled key pair which includes a private key and a public key.” The attacker leaves the private key on the victim’s device but also steals a copy, “to authenticate access to SaaS apps on their own device.”
The attack can also be honed to fail an existing passkey and trick a user into registering a new one, which can then be stolen and exfiltrated from the device.
According to Ramachandran, “even the FIDO Alliance mentions that passkeys require a trusted environment. Thus, without making the browser a security environment, it leaves millions of enterprise users that rely on passkeys vulnerable to identity attacks”
There are now more than 15 billion passkeys in use — a number growing at breakneck speed, driven by password breach and infostealer warnings. SquareX says that “passkey stealing is not only possible, but as trivial as traditional credential stealing.”
Check your browser for installed extensions, and delete any that you don’t use or that don’t come from official stores and recognized developers.
