Researchers Find 1,748 Valid API Keys Exposed Across Public Websites
Breach & Incident Intelligence · 2 sources · Updated 5mo ago · First seen Mar 27, 2026

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.
Why it matters
Impact assessment
A broad set of organizations with public-facing websites are affected, especially enterprises, critical infrastructure operators, government agencies, financial institutions, and vendors exposing client-side web assets. The impact can be severe because the leaked credentials grant direct programmatic access to cloud infrastructure, payment platforms, source repositories, email/communications services, and potentially firmware supply chains.
This is a widespread exposure pattern rather than a narrowly targeted campaign. The story does not report confirmed in-the-wild exploitation, but the credentials were valid, publicly accessible, and often remained exposed for an average of 12 months, creating substantial opportunity for unauthorized access, fraud, code tampering, service abuse, and reputational damage.
Supporting facts
- Researchers analyzed about 10 million websites and found 1,748 valid credentials exposed across more than 10,000 webpages.
- Exposed credentials were tied to multinational corporations, critical infrastructure entities, government agencies, and at least one global bank.
- Services exposed included AWS, GitHub, Stripe, OpenAI, Cloudflare, Razorpay, SendGrid, and Twilio.
- One Global Systemically Important Financial Institution exposed cloud credentials that provided access to core infrastructure, including databases and key management systems.
- Repository credentials tied to firmware used in drones and remote-controlled devices could enable malicious firmware updates.
- Researchers reported that many notified developers were previously unaware of the exposures.
- After disclosure, exposed credential counts dropped by about half within roughly two weeks, indicating many exposures were remediable but initially unmanaged.


