Close to two billion credential records turned up in an open database this week, and within a day the advice had arrived in the usual shape: use passkeys. The advice is good. It is also answering one of the two questions you can ask about a credential store, and it is not the question this week’s story is really about.
What is actually in the two billion
Jeremiah Fowler published the find on 24 November: an unsecured, publicly reachable database of close to two billion credential records, neither password-protected nor encrypted. Email addresses, login names, passwords, session tokens, cookies, authentication artefacts, device information. Around 8,471 folders of plaintext credentials, and an estimated 400,000 documents from more capable malware that profiled individual victims.
Two things about it matter more than the headline number. It is not one breach — it is infostealer and malware logs from many sources, pooled together by somebody and left open. And two billion records is not two billion people, because a single infected machine yields many records and the pile is full of duplicates and material resold several times over.
So nobody’s server was broken into here. This is harvest from infected laptops, aggregated and then left on the open internet by whoever was collecting it.
Why passkeys do not fix this one
For the password half, passkeys are exactly the right answer. There is nothing to harvest from a machine that never holds a password, and the entire credential-stuffing economy that makes a dataset like this valuable depends on passwords being reusable.
But look at what else is in there. Session tokens and cookies. A stolen session token does not go through authentication at all — it arrives already authenticated. Passkeys raise the height of the front door. A session cookie is somebody who is already inside the house.
For this particular incident, then, “use passkeys” addresses part of what was taken and says nothing whatsoever about the rest.
The question nobody asks about a credential store
Passkeys are sold on one property above all others: there is no shared secret, so a stolen database is worthless to whoever stole it. That is true, and it is a genuine advance.
It is also a claim about confidentiality only. There are two questions you can ask about a credential store, and the industry has rehearsed the answer to one of them for a decade while barely acknowledging the other. What happens if somebody reads it? And what happens if somebody writes to it?
Turn the usual pitch around. A password hash an attacker steals must still be cracked. A public key an attacker steals is worthless — that is the whole argument. Now consider replacement instead of theft. A password hash an attacker overwrites forces a reset, and resets send mail. A public key an attacker overwrites is a working credential the moment it lands.
This is not hypothetical. The Pass-the-Passkey family presented at Black Hat USA 2026 swaps attacker-controlled public keys into the registration flow and re-signs tampered requests so they still verify. Unit 42 published three attacks that take over passkey-protected accounts without needing elevated privileges. A malicious browser extension can forward the real prompt to the authenticator, let the user touch their fingerprint reader, and quietly substitute its own key in the response. And a 2026 advisory shows the server-side shape of it plainly: a flaw that writes an attacker’s credential into the victim’s passkey rows is account takeover for anyone whose email and user id the attacker can guess.
In fairness to the design, none of this breaks WebAuthn. The cryptography holds, origin binding holds, the protocol is not the problem. Storage is the soft part, and storage is the part nobody is talking about.
Substitution is quieter than theft
Here is the part that bothers me most, and it has nothing to do with cryptography.
Every compromise in the password era carries a notification with it. Reset a password and the user gets mail. Change a recovery address and the user gets mail. Those flows exist because we spent twenty years learning, expensively, that the dangerous changes are the silent ones.
Public key substitution inherits none of that. There is no established convention for telling somebody their passkey changed. Most relying parties never show users the credentials registered against their account. And a freshly inserted credential row is indistinguishable, to every system that looks at it, from a user who simply enrolled a second device.
The attack does not merely work. It leaves nothing behind for the victim to notice.
What we do about it
WebFrolic encrypts what has to stay secret — TOTP secrets, password hashes — which is table stakes and not the interesting part.
The interesting part is that every credential record is signed with a key tied to that record and to that customer, and the signature covers the binding rather than the key material alone: which credential belongs to which user, in which tenant, at which assurance level. Verification happens on the authentication path, and it fails closed. A record that does not verify does not authenticate anybody.
The result is that a dump of the table stays worthless, which is what passkeys already gave you, and a rewrite of the table stops working rather than silently succeeding, which they did not.
Making the quiet parts loud
Signing the records answers the rewrite. It does nothing about the second half of the problem, which is that credential changes have historically happened in silence. So every change to an authentication factor sends mail.
Enrolment notifies. Deletion notifies, which matters more, because deletion is the attacker’s preparation step rather than their payoff. And a change to a communication method notifies the old address as well as the new one, which closes the obvious chain: swap the recovery address first, delete the credentials second, receive your own alerts third.
Recovery gets more than a notification. It can be configured to require explicit approval from the account holder before it proceeds, or to let them block it outright, and the rules are set separately for administrators, employees and customers because those populations do not carry the same risk. Signup and recovery are both rate limited against a model of how people actually behave, on the theory that an attack has to be cheap to be worth running.
The database also carries a version that the application advances at each checkpoint. Restoring a snapshot from before the last checkpoint does not quietly take effect — bringing the service up against it requires an explicit restart, which requires a system administrator who has to decide to do it.
Where this stops working
I would rather say this plainly than let somebody find it.
What this defends against is a database-only compromise: SQL injection, a stolen backup, an exposed snapshot, leaked database credentials, an insider with query access. That is the overwhelming majority of how credential stores actually get touched, and it is the entire category this week’s story belongs to.
It is not a defence against full application compromise. An attacker running inside the service can ask the service to sign, and no amount of record signing changes that. If you read a vendor claiming their signing scheme survives total compromise, ask where the signing key lives and what can reach it — the answer is usually that it sits one configuration file away from the thing that was breached.
It also does nothing for the session tokens in this week’s dataset. That is a different problem needing different controls: short sessions, binding them to a device, and revocation that actually propagates.
Four things worth doing regardless of vendor
Notify on credential registration, exactly the way you notify on password change. If a new passkey is enrolled against an account, the account holder should hear about it within seconds.
Show people every credential registered to them, with the date and the device. Nobody can report an enrolment they cannot see.
Make removal as visible as addition, because the quiet way to lock somebody out is to delete the credential they have and leave yours.
And protect against rollback. Signing a record stops forgery, not restoration — an attacker who can write can also put back an older, validly signed version with weaker settings. The signed payload needs a counter that only moves forward. Related reading on this site: authentication methods, how we think about security and audit.
