Cybersecurity news

Jessica Doner

Back to the list

50,000 Stripe Secrets Leaked in Public Code

Security Affairs,

Researchers found over 50,000 active Stripe merchant API keys exposed in public code repositories, logs, and misconfigured web servers.

Attacks and breaches

Overview

Researchers from Ransomnews found over 50,000 unique Stripe merchant API keysA secret string a program sends with an API request to identify itself and get access exposed in public code repositories, GitHub Actions logsTimestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request, and misconfigured web serversA computer or program on a network that stores data and responds to requests from client devices. These keysThe secret value that locks or opens a message belong to merchants, not Stripe itself, and the researchers confirmed that a meaningful portion of them were still active. A dataset published on 18 August 2026 contained live keys for 659 merchant accounts along with roughly 35 GB of customer and payment data. The team demonstrated that a fraudster could use a single active key to access customer lists, create fraudulent payment links, and make a test charge within 17 hours. The keys were leaked through hardcodedPasswords or secret keys written directly into source code instead of stored in a separate vault values in configuration filesA text file that stores settings, network addresses, and options for how a program or server runs, unmasked environment variablesA named setting stored in a program's running environment that often holds file paths or secret keys in build logs, and servers that failed to hide sensitive strings. As a result, 659 specific merchant accounts had their customer and payment data exposed to potential misuse.

Terms in this story

API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
logs
Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 lists the term
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
hardcoded
Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
configuration files
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
environment variables
A named setting stored in a program's running environment that often holds file paths or secret keys. Cloud apps frequently store database passwords and API tokens in environment variables, so an attacker who tricks a server into printing its environment variables can steal those secrets.
Secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
webhook
An automated HTTP message that one web service sends to another URL whenever a specific event happens. Legitimate apps use a webhook to post chat alerts when code is updated, while malware authors often abuse chat webhooks to send stolen passwords straight to their own channels.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Security Affairs website. Cite the article, not this page.

Read the full article on Security Affairs (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related