Skip to content
Brief Security & Trust ·

Fake cloud keys in public Docker Hub images were used in as little as 8 seconds

Stony Brook researchers hid decoy keys in 300 images and tracked who used them.

In brief
  • The fastest use of a planted AWS key came 7.86 seconds after publication; the median was about 51 seconds. All 100 AWS keys were used within 15 minutes.
  • Scanners mostly read image files without running the image. Docker gave the researchers no reply beyond an acknowledgment.

Stony Brook University researchers Billy Tsouvalas and Nick Nikiforakis found that bots pull secrets from public container images soon after posting. They presented the work at the ACM CCS conference, per BleepingComputer on 17 November. Over four months, they put 300 decoy images on eight registries, holding fake AWS, OpenAI and Claude keys.

BleepingComputer reported that one planted AWS key was first used 7.86 seconds after its image went live on Docker Hub. That was the fastest case; the median first call came at about 51 seconds, and all 100 AWS keys were used within 15 minutes. The AWS keys drew over 140,000 calls from more than 5,000 IP addresses, nearly all on Docker Hub. The OpenAI and Claude test accounts were drained in short bursts. Scanners rarely ran the images. They mostly unpacked the layers, the file bundles inside an image. Tsouvalas said Docker only acknowledged the May report, and an August test showed no change.

Teams that publish public images should treat the push as the moment a secret is exposed, since reading files needs no running container. These keys were decoys, but the report says revoking real leaked keys takes significant work and coordination. The researchers urge Docker Hub to scan for secrets before images go live and to limit its feed of new images.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Stony Brook University researchers Billy Tsouvalas and Nick Nikiforakis, presented at ACM CCS.