Researchers Find 1,748 Valid API Keys Exposed Across Public Websites
Researchers from Stanford University, the University of California, Davis, and TU Delft found 1,748 valid API credentials exposed across roughly 10,000 public webpages after analyzing about 10 million websites, revealing a broad secret-leakage problem outside traditional code repositories. The credentials, identified with TruffleHog and detailed in the study Keys on Doormats: Exposed API Credentials on the Web, provided access to services including AWS, GitHub, Stripe, and OpenAI. The exposed secrets were tied to multinational corporations, critical infrastructure operators, government agencies, and at least one global bank.
Most of the exposed credentials were embedded in JavaScript resources, often inside bundled files generated by tools such as Webpack, creating direct paths into cloud infrastructure, payment systems, and software repositories. Researchers said AWS keys made up more than 16% of verified exposures, and cited cases including cloud credentials linked to a global bank’s core infrastructure and firmware repository credentials associated with drones and remote-controlled devices, raising the risk of malicious firmware updates. After responsible disclosure, the number of exposed credentials dropped by about half within two weeks, but the study found such secrets often remain publicly accessible for an average of 12 months and sometimes for years.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
Exposed credential count drops by about half within two weeks
Within two weeks of the researchers' notifications, the number of exposed credentials fell by roughly 50%, indicating that some affected organizations remediated the issue. Historical analysis in the study also found that exposed credentials typically remain public for about 12 months and sometimes for years.
Researchers notify affected organizations of exposed credentials
After identifying the exposed secrets, the researchers notified affected organizations so they could revoke or remove the credentials. The findings showed many exposures were embedded in JavaScript resources, often in bundled files generated by build tools such as Webpack.
Study finds 1,748 valid API credentials exposed across 10,000 webpages
The researchers verified 1,748 valid exposed API credentials across more than 10,000 webpages, including keys for AWS, GitHub, Stripe, and OpenAI. The exposed credentials affected organizations such as multinational corporations, critical infrastructure entities, government agencies, and at least one global bank.
Researchers scan 10 million websites for exposed API secrets
Researchers from Stanford University, the University of California, Davis, and TU Delft conducted a large-scale analysis of roughly 10 million websites to identify exposed credentials on public webpages, focusing on leakage outside source code repositories.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


