cybersecuritynews.com·18 november 2026

Hackers Steal Exposed AWS Credentials From Docker Hub Images in Just 8 Seconds

Image for the article: Hackers Steal Exposed AWS Credentials From Docker Hub Images in Just 8 Seconds
Image via cybersecuritynews.com

Automated bots used a decoy AWS access key just 7.86 seconds after researchers published a Docker Hub image containing it, according to a Stony Brook University study. Researchers Billy Tsouvalas and Nick Nikiforakis planted various API keys and credentials across 300 test images in eight public registries over four months. While the AWS keys were blocked from consuming resources, planted OpenAI and Anthropic keys drained the researchers' test balances. The study highlights how quickly automated bots read image layers directly to exploit exposed secrets left in public container images. Security recommendations include scanning built images before uploading, using Docker BuildKit secret mounts, and deactivating compromised keys immediately.