Skip to content
Start with Identity
News

AWS keys planted in public container images were used within eight seconds

Stony Brook researchers published 300 honeypot images across eight registries with planted AWS, OpenAI and Anthropic keys. The fastest AWS key was used 7.86 seconds after publication, the median in 51 seconds, and all 100 AWS keys within 15 minutes, mostly from Docker Hub.

By SWI Community TeamNov 17, 2026

Researchers Billy Tsouvalas and Nick Nikiforakis of Stony Brook University presented a four-month experiment at ACM CCS this week, BleepingComputer reported on November 17. They published 300 honeypot images across eight public container registries, seeded with AWS, OpenAI and Anthropic API keys plus decoy SSH and database credentials. The fastest AWS key was used 7.86 seconds after its image went live; the median first call came at 51.19 seconds, and all 100 AWS keys were used within 15 minutes. The planted AWS keys drew more than 140,000 API calls from about 5,000 IP addresses, almost all of it from Docker Hub images. The OpenAI and Anthropic keys were quickly used to drain test balances. The scanners rarely ran the images; they unpacked layers and read the secrets statically. The researchers say they reported the work to Docker in May and saw no change in an August retest.

Why it matters

The window between pushing an image and a stranger using the key inside it is now shorter than most CI pipelines take to finish. Detection after publication cannot win that race, so the control has to be before the push: scan every layer for secrets in the build, and fail the build when one is found. Deleting a layer or a tag later does not help; anyone who pulled it already has the key.

Assume any credential that has ever been in a public image is compromised and rotate it, then check cloud logs for calls you did not make. Better, stop baking keys into images at all. Containers can get short-lived credentials at runtime through workload identity federation or the platform's metadata service, which leaves nothing in a layer worth stealing. This is the same secrets in CI problem we saw in public Gitee repositories, on a faster clock.

Source: BleepingComputer, ContainerBots project

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction