By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Secret Sprawl in Public Repos is Worse Than Ever, Finds New Report
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Secret Sprawl in Public Repos is Worse Than Ever, Finds New Report
News

Secret Sprawl in Public Repos is Worse Than Ever, Finds New Report

News Room
Last updated: 2025/03/31 at 5:55 AM
News Room Published 31 March 2025
Share
SHARE

Security firm GitGuardian has announced a report showing that the unintended exposure of credentials such as API keys and passwords, known as “secrets sprawl,” has worsened significantly during 2024. The report found an increase of 25% in secrets found in public GitHub code repositories compared to the previous year.

The report, “The State of Secrets Sprawl 2025,” was based on scanning public GitHub activity and anonymised customer data. Researchers detected nearly 23.8 million new hardcoded secrets in public GitHub commits alone during 2024, suggesting an increasing trend in sensitive credentials being leaked from development environments.


(Image courtesy of GitGuardian)

Secret sprawl has been cited as the cause of a number of high-profile hacking incidents over the past year, such as a leak of all of the New York Times source code, and a credential leak at business analytics company Sisense.

A big contributor to the increase is the rise in “generic” secrets which don’t have a recognisable format like API keys or OAuth tokens. According to the report, these are often hardcoded passwords, database connection strings, custom authentication tokens and encryption keys. These accounted for 58% of detected secrets last year, up from 49% in 2023. The report suggests that automated scanning tools, such as GitHub’s own protection mechanisms, often miss this secret format.

The report lauds the efforts of tools such as GitHub’s Push Protection, which is designed to block commits containing known credential patterns. The leaks of OpenAI keys and GitHub app keys, in particular, have dropped dramatically thanks to their inclusion in this tool, which uses simple pattern matching to identify these keys. These tools do struggle with generic secrets and credentials that don’t have standard prefixes, however.

There was also a big contrast in the findings between public and private repositories, with private repositories eight times more likely to contain secrets. This suggests that developers have a false sense of security and assume that the private nature of the repository removes the risk – a practice that the report suggests amounts to security through obscurity.

The report also found secrets leaked in places other than source code repositories – with collaboration and project management tools such as Slack, Jira and Confluence often containing many secrets. More incidents were considered critical in these tools than in GitHub – and these were generally attributed to less security-aware employees and fewer safeguards being built into these other tools.

Graph of top 10 specific secrets leaked

(Image courtesy of GitGuardian)

The researchers also scanned public Docker Hub images at a large scale. This revealed over 100,000 secrets, including AWS and GCP keys, and some seemingly belonging to Fortune 500 companies. The report suggests that the lack of a partner notification system for secret exposure on Docker Hub contributes significantly to this.

Going on to look at the validity of the secrets found, the report found that many exposed secrets stay active long after they’ve been published, with 70% of secrets detected in 2022 were still active in 2024. The researchers suggest that ineffective credential lifecycle management, particularly for non-human service accounts, is to blame, citing examples of some organisations provisioning keys with multi-year lifespans as they don’t have a robust ability to rotate keys. Leaked credentials often had excessive permissions – 96% of leaked GitHub tokens had write access, thus increasing the potential damage from a compromised secret.

GitGuardian has used machine learning in this new report to improve secret hunting. Previously, the team had erred on the side of caution to avoid false positives with their secrets detection engine. Any element of doubt about whether a string was a secret would lead to its rejection. The new ML models made the researchers more confident in validating less-structured secrets.

GitHub has been increasingly proactive in writing tools to try to reduce secret sprawl, with GitHub Secret Protection available to help detect and prevent secret leaks. GitHub has also used AI for Copilot secret scanning to deal with the the nuanced and varied structures of generic passwords. Similarly, GitLab has GitLab Secret Push Protection fulfilling a similar objective.

The GitGuardian report is available to download now.

 

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Startup Founder Claims Elon Musk Is Stealing the Name ‘Grok’
Next Article NetEase to launch mobile version of new martial arts game Where Winds Meet next week · TechNode
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Canadian legal tech startup Clio swoops to acquire vLex for $1B – News
News
How an Open Model and a Pile of Data are Changing Time Series Analysis | HackerNoon
Computing
The ‘warm’ phone & ‘random’ text message to watch out for, tech experts warn
News
no other great technology is having a stock market as good as she
Mobile

You Might also Like

News

Canadian legal tech startup Clio swoops to acquire vLex for $1B – News

5 Min Read
News

The ‘warm’ phone & ‘random’ text message to watch out for, tech experts warn

3 Min Read
News

How to Watch Man City vs. Al-Hilal From Anywhere for Free: Stream FIFA Club World Cup Soccer

9 Min Read
News

Wall Street’s Next Great Shift: From AI Stocks to AI Trading

8 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?