Menu

Docker Hub Leaked Keys: Abused 7.86 Seconds After Upload
📰

Docker Hub Leaked Keys: Abused 7.86 Seconds After Upload

DEV Community: security·HackerMe·about 8 hours ago
#sco0jTo2
#devtosecurity#devto#dev#keys#docker
Reading 0:00
15s threshold

If someone builds or hosts your website or web app, ask them one question this week: do we publish any public container images, and are our passwords and keys kept out of them? New research shows that keys left inside public Docker Hub images can be found and used in seconds, not days.

What happened

Two researchers at Stony Brook University, Billy Tsouvalas and Nick Nikiforakis, wanted to measure how fast attackers find secrets hidden inside public container images. A container image is a packaged copy of an app, with its code and settings, that developers upload to a "registry" such as Docker Hub so servers can download and run it.

Over four months, in two rounds, they published 300 test images across eight public registries. Inside, they planted decoy secrets: AWS cloud keys, OpenAI and Anthropic (Claude) API keys, and fake SSH and database logins. They also added small "beacons" that would alert them if anyone built or ran the images.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.