API secrets exposed in Docker Hub containers accessed in seconds
Researchers at Stony Brook University deployed 300 honeypot images across public registries containing AWS, OpenAI and Anthropic keys. Automated scanners pulled the credentials, with the first AWS call observed under eight seconds and all 100 keys abused within fifteen minutes, largely via Docker Hub. The study urges pre‑push secret scanning and rate‑limiting of public image feeds.

Researchers from Stony Brook University, Billy Tsouvalas and Nick Nikiforakis, carried out a four‑month study in which they uploaded 300 honeypot containers to eight public registries. Each image was seeded with AWS, OpenAI and Anthropic API keys together with dummy SSH and database credentials, aiming to track how automated agents harvest such secrets immediately after release.
The images were pulled more than 75,000 times and generated over 140,000 AWS API calls from roughly 5,000 distinct IP addresses. The quickest observed call occurred 7.86 seconds after an image appeared on Docker Hub, while the median time to the first request was 51.19 seconds. All 100 planted AWS keys were exercised within a fifteen‑minute window, with Docker Hub accounting for the vast majority of activity and Harbor showing a small fraction of abuse.
Monitoring indicated that the vast majority of interactions were performed via static inspection of image layers rather than by running the containers. The authors labeled these automated scanners “ContainerBots”, but found no proof that a single operator controls them. It remains unclear whether the scans are coordinated or represent independent tools created by different actors.
The findings were presented at the ACM Conference on Computer and Communications Security and echo earlier research showing that publicly‑available images frequently contain exposed credentials. Revoking the compromised keys requires significant effort and coordination among cloud providers and users. The team reported the results to Docker in May; the company replied only with an acknowledgment, and a follow‑up experiment in August showed no visible changes to Docker’s defenses.
Exploitation of the OpenAI and Anthropic keys quickly depleted the balances of the test accounts, illustrating the financial and infrastructural risk of leaked cloud credentials. The authors advise container registries to scan for secrets before images become public and to restrict or rate‑limit access to the feed of newly published images, thereby limiting the effectiveness of mass‑scanning tools.
Why it matters for your organization
CISOs should embed secret‑scanning steps into CI/CD pipelines and review Docker Hub access controls to block large‑scale scans. Rapid revocation procedures for leaked credentials are also essential.
Original source: BleepingComputer
Related Content
Recommended by topic similarity, tags and risk vectors of this article
Neural Override: Python RAT with Autonomous AI Targets SCADA Systems
Unit 42 discovered a Python‑based remote‑access trojan that leverages large‑language models to orchestrate attacks without operator input. The malware talks to a Telegram bot, calls the OpenRouter API and includes an undisclosed component that may target industrial control environments. Its version history reveals a rapid increase in capabilities, suggesting AI‑assisted code generation.
WhatsApp forces logout of iPhone users on legacy iOS
Meta announced that WhatsApp will automatically sign out accounts on iPhones running outdated iOS versions. The logout is triggered when the device shows evidence of compromise from a web‑based exploit, and re‑access is only possible after updating the OS.
German public transport ticketing apps offline for nearly a week after suspected cyberattack
A German tech vendor reported a security incident that disabled several public‑transport ticketing applications for almost a week. Riders in regions such as Berlin, Brandenburg, Bielefeld, Dresden and Mainz were unable to buy, renew or view tickets. The attacker’s identity and any data exposure remain uncertain.
