Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Docker

News Analysis

Study: Leaked AWS Keys in Docker Images Exploited by Bots in Under 8 Seconds

Stony Brook University researchers found that cloud access keys accidentally embedded in public Docker images can be discovered and abused by automated bots almost instantly, highlighting the risk of secrets leaking into container images.

DockerAWSCloud & containersData breaches

Key points

  • Researchers from Stony Brook University planted 300 decoy Docker images with embedded AWS keys on public registries.
  • Bots found and exploited the leaked AWS key in under 8 seconds after image publication.
  • The experiment shows automated credential-scanning of public container registries happens almost instantly after exposure.

According to Help Net Security, researchers Billy Tsouvalas and Nick Nikiforakis of Stony Brook University tested how quickly exposed cloud credentials get exploited once a Docker image is published to a public registry. They planted 300 decoy container images, each containing a dummy AWS access key, on public registries to observe attacker behavior in the wild.

The results were striking: bots located and attempted to use the leaked AWS key in under 8 seconds after publication. Docker images, which bundle software with all the files and configuration needed to run it, are frequently pushed to public registries by developers — and any secrets accidentally baked into those images become instantly visible to anyone who pulls them.

The speed of exploitation demonstrates that automated scanning of public container registries for credentials is continuous and near-instantaneous, leaving essentially no window for manual detection and revocation once a key is exposed.

The report does not specify further technical details, such as the exact registries used, the scale of resulting abuse, or any fixes or patches, since this was a research experiment rather than a vulnerability in a specific product.

What to do

  1. Never embed cloud access keys, tokens, or other secrets directly in Docker image layers or configuration files.
  2. Use secret-scanning tools before pushing images to public or private registries.
  3. If a key is accidentally published, treat it as immediately compromised and revoke/rotate it rather than relying on manual detection time.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Help Net Securityhelpnetsecurity.com

“Bots exploited leaked AWS key from Docker image in under 8 seconds”

A cloud access key left inside a newly published Docker image can be found and used by bots in less than eight seconds, Billy Tsouvalas and Nick Nikiforakis of Stony Brook University discovered after planting 300 decoy images on public container registries. Docker images are packaged copies of software, bundled with everything needed to run it, and developers publish them to public registries suc…

More on this topic