Over 543,000 valid credentials exposed in public GitHub repositories
Over 543,000 valid credentials remained exposed in public GitHub repositories despite security measures, with the median credential staying accessible for 784 days.
Overview
Researchers from Truffle Security found that more than 543,000 valid credentialsThe login details, such as a username and password or key, that prove who an account belongs to were exposed in public GitHub repositories in July. These credentials remained accessible for a median time of 784 days, with some dating back to 2009. The exposure occurred despite GitHub's Push Protection feature, which scans code to block accidental leaks of sensitive data. About 36.8% of the exposed credentials were leaked after the protection became available to all users in February 2024. The number of working credentials per million files rose from 3.72 in 2015 to 11.62 in 2025. Many of the exposed secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys, such as databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software connection strings, are not blocked by the default protection settings.
Terms in this story
- 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
- 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.
- database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- large language models
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
- 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
- access tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. 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)
- service account
- A non-human login account used by an automated program, server, or background job to talk to other systems. Attackers hunt for service accounts inside a network because they often have broad permissions, never change their passwords, and do not use interactive multifactor prompts. Security+ objective 4.6 lists the term
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 BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (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.
- Kind of story: Research and reports
"...researchers identified 543,699 unique credentials..." Found by reading the article; these exact words are in it - Security+ 3.3 Compare and contrast concepts and strategies to protect data.
"......security measures to prevent accidental leaks of sensitive data." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Over 543,000 valid credentials exposed in public GitHub repositories..." Found in the headline - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......security measures to prevent accidental leaks of sensitive data." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of credential sources and restrictions related to credential usage
"More than 543,000 credentials exposed in public GitHub repositories..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of open source tactics that enable initial access (e.g. social engineering, phishing)
"...push protection effect githubs safeguard against accidentally leaking credentials..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role