GitHub expands security tools after 39 million secrets leaked in 2024

GitHub

GitHub announced updates to its Advanced Security platform after it detected over 39 million leaked secrets in repositories during 2024, including API keys and credentials, exposing users and organizations to serious security risks.

In a new report by GitHub, the development company says the 39 million secrets were found through its secret scanning service, a security feature that detects API keys, passwords, tokens, and other secrets in repositories. 

“Secret leaks remain one of the most common—and preventable—causes of security incidents,” reads GitHub’s announcement.

“As we develop code faster than ever previously imaginable, we’re leaking secrets faster than ever, too.”

This is happening despite GitHub’s targeted protection measures like “Push Protection,” which was introduced in April 2022 and was activated by default on all public repositories in February 2024.

According to GitHub, the main reasons why secrets continue to leak are the prioritization of convenience by developers who handle secrets during commits and accidental repository exposure through git history.

GitHub revamps Advanced Security

GitHub announced several new measures and enhancements to existing systems to mitigate secret leaks on the platform.

“As of today, our security products are available to purchase as standalone products for enterprises, enabling development teams to scale security quickly,” explained GitHub.

“Previously, investing in secret scanning and push protection required purchasing a larger suite of security tools, which made it too expensive for many organizations.

“This change ensures scalable security with Secret Protection and Code Security is no longer out of reach for many organizations.”

The GitHub Advanced Security changes are summarized as follows:

  1. Standalone Secret Protection and Code Security – Now available as separate products, these tools no longer require a full GitHub Advanced Security license, making them more affordable for smaller teams.
  2. Free organization-wide secret risk assessment – A point-in-time scan that checks all repositories (public, private, internal, and archived) for exposed secrets, free for all GitHub organizations.
  3. Push protection with delegated bypass controls – Enhanced push protection scans for secrets before code is pushed and allows organizations to define who can bypass the protection, adding policy-level control.
  4. Copilot-powered secret detection – GitHub now uses AI via Copilot to detect unstructured secrets like passwords, improving accuracy and lowering false positives.
  5. Improved detection via cloud provider partnerships – GitHub works with providers like AWS, Google Cloud, and OpenAI to build more accurate secret detectors and respond faster to leaks.

Apart from GitHub’s initiatives and improvements, users are also given a list of recommended actions to protect themselves from secret leaks.

First, it is suggested that Push Protection be enabled at the repository, organization, or enterprise level to block secrets before they’re pushed to a repository.

GitHub also highlights the importance of reducing the risk by eliminating hardcoded secrets from source code altogether, instead using environment variables, secret managers, or vaults to store them.

The platform suggests using tools that integrate with CI/CD pipelines and cloud platforms to handle secrets programmatically, reducing human interaction that can introduce errors and exposure.

Finally, GitHub users are recommended to review the ‘Best Practices‘ guide and ensure they appropriately manage secrets end-to-end.

Bill Toulas
Read More

Latest

Newsletter

Don't miss

Famous birthdays for April 5: Sterling K. Brown, Mike McCready

Music 1 of 3 | Sterling K. Brown arrives...

Yashraj, Abdon Mech, Divyam Sodhi and All The Songs to Know This Week

Music From pop-rock band Last Minute India’s inward-looking new...

Starmer ‘deeply concerned’ by Kanye West’s UK festival booking

Music You don't have permission to access "http://news.sky.com/story/keir-starmer-deeply-concerned-by-kanye-wests-wireless-festival-booking-despite-antisemitic-remarks-13528071"...

The Vogue Business Funding Tracker

Introducing the Vogue Business Funding Tracker, a running list highlighting the most notable and intriguing investment and M&A activity in fashion and beauty. From emerging disruptors to legacy giants undergoing major changes, we spotlight the deals that are shifting the dynamics of the sectors we cover, including fashion, beauty, tech and sustainability. April 2026 Icicle

Family Business? Tee Grizzley Reacts After His Mom Accuses Him Of Leaving Her To Struggle (PHOTOS)

Y’all… it looks like some family tension might be brewing behind the scenes involving Tee Grizzley and his mom. What seemed like a regular social media post quickly turned into something deeper. And now, folks are side-eyeing the situation and wondering what’s really going on. RELATED: Tee Grizzley Shares A Message For Artists After His

SoE necessary but not sufficient, business leaders say

PE­TER CHRISTO­PHER Se­nior Mul­ti­me­dia Re­porter pe­ter.christo­pher@guardian.co.tt Heavy hand­ed but nec­es­sary giv­en the state of crime in T&T. This was a com­mon as­sess­ment from var­i­ous busi­ness groups when asked for their per­spec­tive on the lat­est de­c­la­ra­tion of a state of emer­gency in the coun­try. The T&T Cham­ber of In­dus­try and Com­merce, in a re­leased is­sued yes­ter­day