Bots used planted AWS keys in public images within seconds
Original title: Hackers Steal Exposed AWS Credentials From Docker Hub Images in Just 8 Seconds
In a Stony Brook study, the fastest AWS honeytoken was used 7.86 seconds after a Docker Hub publish.
Stony Brook researchers published 300 test images with planted AWS, OpenAI, Anthropic, SSH and database credentials across eight public registries over four months. On Docker Hub, the median time to the first AWS request was 51.19 seconds, and all 100 first-round keys were used within 15 minutes. Downloads and API calls happened without signs the images were run, pointing to bots reading layers. OpenAI and Anthropic keys drained test balances; first-round AWS resource use was blocked.
Unconfirmed: IP addresses show where requests came from, not how many attackers were involved.
- Unadvertised first-round Docker Hub images were downloaded 58,819 times.
- Those AWS keys drew 66,321 requests from 3,842 IP addresses.
- A file deleted in a later build can remain in an earlier layer.
- Docker’s security team acknowledged the report.
- Researchers urged pre-publish secret scans and limits on the public image feed.
Impact: Planted cloud and AI API keys were found and used
- 1.Scan image layers and metadata for secrets before upload, not only source.
- 2.Use BuildKit secret mounts; avoid secrets in Dockerfile ARG or ENV.
- 3.Deactivate leaked AWS keys and review CloudTrail from publication onward.
- Products
- Docker HubAWS
- Organizations
- Stony Brook University
From the original article
3 min read at cybersecuritynews.com
Automated bots used a decoy Amazon Web Services (AWS) access key just 7. 86 seconds after researchers published the Docker Hub image containing it. That was the fastest case in a controlled Stony Brook University study, not the average.
By Abinaya · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.