Bots tested a working AWS access key just 7.86 seconds after researchers published the container image carrying it, underscoring how little time developers have to catch an accidental secret leak. The finding comes from Stony Brook University researchers Billy Tsouvalas and Nick Nikiforakis, who monitored planted credentials in a four-month honeypot study reported by BleepingComputer.
The researchers published 300 instrumented container images across eight public registries, including Docker Hub, embedding working AWS, OpenAI and Anthropic credentials alongside decoy SSH and database secrets. The images were not promoted, yet they were downloaded tens of thousands of times. The fastest AWS credential was tested within 7.86 seconds of publication, and the researchers observed more than 140,000 AWS API calls from roughly 5,000 IP addresses, according to the studyβs reported results.
Initial activity generally looked like automated validation rather than immediate resource theft. Nearly every bot that tested an AWS credential began with GetCallerIdentity, an API call that reveals whether the key is valid and which AWS identity it represents. About half of the observed AWS scanners stopped after that check, while roughly 6% progressed to sustained use of account resources. That pattern does not make a validated key safe: attackers can retain, resell or revisit credentials later.
The AI-service credentials showed that delayed abuse can still create a direct financial impact. OpenAI keys remained unused for weeks before one was used to consume the remaining balance in less than 24 hours, while the researchers said attackers exhausted approximately $60 loaded across their OpenAI and Anthropic accounts. In the studyβs second testing round, the keys used to burn through credits had unrestricted permissions; the researchers reported no comparable abuse of restricted keys.
There is no CVE associated with this incident because it concerns credential exposure and automated abuse of public registries, not a software vulnerability. Developers should treat any key committed to source code, a public repository or a container layer as compromised, revoke it immediately, issue a replacement and review audit logs, usage and billing for unauthorized activity. AWS recommends temporary credentials and IAM roles instead of long-term access keys, along with least-privilege policies. Registry and CI pipelines should scan secrets before publication, while teams should configure provider-specific usage alerts and hard spending controls where available.