Docker Hub could be containing thousands of valuable secrets, and they’re all in plain view


There are “thousands” of secrets exposed on Docker Hub, ranging from harmless API keys to potentially harmful information.
This is according to researchers from the Cybernews Research team, who recently analyzed 10,178 Docker Hub images. In those, they found almost 5,500 container images (54%) holding secrets that could be deemed sensitive information.
From those 5,500 container images, the researchers pulled exactly 191,529 secrets. Many were duplicates which, when removed, left the researchers with exactly 48,481 unique secrets.
Billions of downloads
The most common secret was GitHub tokens, comprising 26.6% of all the secrets discovered (51,038). This one was followed by Datadog Tokens (13.9%), and Uniform Resource Identifiers (7.6%). Ten thousand private keys used for encrypting or decrypting were also discovered.
While these numbers are staggering, those with an eye for detail can discover even more potent secrets. For example, the researchers found more than 9,000 PayPal OAuth secrets, used to control access to user accounts and financial information. Furthermore, there were almost 8,000 UnifyID secrets that could expose identity data.
The containers holding these secrets have been downloaded more than 132 billion times already.
“That means that exposed secrets could be running on multiple servers around the globe, posing risks and draining cloud resources from inconspicuous Docker Hub contributors,” Cybernews researcher Vincentas Baubonis warns.
“Leaving any secrets exposed while uploading your images online poses a high risk of threat actors finding them.”
Most secrets, the researchers further explained, came from re-using packages with sensitive information.
“Developers expose diverse hidden data types and a vast amount of sensitive data. The ratio of unique secrets per each vulnerable docker image is practically eight to one, meaning that one image, exposing any secrets, is likely exposing eight of them on average,” Baubonis warned.
The research reveals a widespread practice of leaving sensitive data in container images, prompting a call for organizations to strengthen security measures. Baubonis advises developers to reset exposed secrets, encrypt sensitive data within images, and educate staff on the risks associated with embedded data.
More from TechRadar Pro
There are “thousands” of secrets exposed on Docker Hub, ranging from harmless API keys to potentially harmful information. This is according to researchers from the Cybernews Research team, who recently analyzed 10,178 Docker Hub images. In those, they found almost 5,500 container images (54%) holding secrets that could be deemed…
Recent Posts
- With the Humane AI Pin now dead, what does the Rabbit R1 need to do to survive?
- One of the best AI video generators is now on the iPhone – here’s what you need to know about Pika’s new app
- Apple’s C1 chip could be a big deal for iPhones – here’s why
- Rabbit shows off the AI agent it should have launched with
- Instagram wants you to do more with DMs than just slide into someone else’s
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010