Two unsecured databases left more than 3.5 billion records open to anyone who found them, researchers have revealed — around two billion stolen logins, 840 million Chinese national ID numbers and children's school records.

The two troves were found independently and appear unrelated, but both sat on the open internet with no password required. Both have since been taken offline. What nobody can say is who else copied the data first, or how long it had been exposed.

Two billion logins in plain text

The larger database was found by security researcher Jeremiah Fowler, of Black Hills Information Security. It held roughly two billion login records spread across 8,471 folders, stored in plain text and accessible without any authentication.

Fowler's report, published by ExpressVPN, says the files held email addresses, usernames, passwords and login URLs, plus browser cookies, session tokens, device details, autofill logs and cryptocurrency wallet data.

By platform, Fowler counted more than 114 million Google-linked accounts, 88 million Facebook accounts, about 42 million Roblox accounts, 36.6 million Amazon accounts and nearly 33 million X accounts. Those counts overlap and include duplicates, so two billion records does not mean two billion victims. The haul also included .gov, .edu and .org addresses, plus around 400,000 documents that appeared to come from infostealer malware able to build detailed profiles of individual victims.

Fowler could not identify who owned the database. He notified its hosting provider, and public access was restricted several days later. How long it had been exposed, and whether anyone else accessed it, remain unknown.

840 million ID numbers in a second trove

The second database was found by Greg Pollock, director of research at UpGuard. It was an Elasticsearch server holding about 259 GB of data on people in mainland China, searchable by anyone who knew its address — again, with no password at all.

Its 99 indices held almost 1.64 billion records linking names, national ID numbers, phone numbers, student information and business registrations. That included at least 840 million distinct national ID numbers, 300 million phone numbers, about 11 million student enrolment records and nearly eight million business registrations. Some student records linked a child's name to their school, class and a parent's contact details.

UpGuard believes the records were gathered from identity registration, education, telecoms, payment and business systems and combined into an illicit identity-lookup service. Pollock could not identify the operator, and the server went dark while he was investigating it — apparently after a ransomware or other destructive attack. Other copies of the data may still exist.

What to do if your details were in the mix

Neither database has been loaded into a public checking service such as Have I Been Pwned, so a clean result there does not prove you are safe. And changing a password alone may not be enough: stolen session cookies can keep an attacker signed in even after a password reset.

Experts advise starting with your most important accounts — primary email first, then banking, payment and work accounts — replacing reused passwords with unique ones, ideally via a password manager, and turning on multi-factor authentication. Use a clean device for the changes, in case infostealer malware is still on your own machine, and use each account's "sign out everywhere" option to kill any stolen sessions.

The numbers describe stored records, not confirmed victims, and the companies named were not necessarily breached themselves. But the lesson stands: passwords alone are no longer a reliable line of defence, and unchangeable details like a school record or an ID number stay useful to scammers for years.