VYPR
researchPublished Nov 24, 2026· 1 source

Bots Test Exposed Cloud and AI Keys Within Seconds of Publication

Researchers found automated bots testing exposed AWS, OpenAI, and Anthropic API keys within seconds of their appearance in public code repositories, highlighting the speed of automated credential theft.

Automated bots are rapidly testing exposed cloud and AI service credentials, with one instance of an AWS key being tested just 7.86 seconds after researchers published it in a public honeypot image. This alarming speed underscores the critical need for developers to secure sensitive keys and avoid embedding them in publicly accessible code or container images.

Researchers from Stony Brook University set up honeypots by publishing 300 container images across eight public registries. These images contained working access keys for Amazon Web Services (AWS), OpenAI, and Anthropic, all tied to monitoring systems to track any usage. Despite not advertising these images, they were downloaded tens of thousands of times, attracting the attention of automated scanning bots.

The initial activity observed was primarily bots performing a "GetCallerIdentity" request on AWS keys, a basic check to confirm if the key was active. While about half of the scanning IPs stopped after this initial probe, a significant portion proceeded to test the keys further. The researchers noted that even keys not immediately used could be sold on the dark web or exploited later.

In the case of AI service keys, the OpenAI and Anthropic keys remained dormant for weeks before being exploited. Attackers used these keys to exhaust prepaid credits, consuming approximately $60 in total across the researchers' accounts within 24 hours. This delay suggests that validated keys might be resold and held until a buyer decides to use them, or that attackers are systematically testing a large pool of stolen credentials.

The study also revealed that attackers are not only targeting cloud infrastructure but also leveraging AI service APIs. The consumption of prepaid credits on OpenAI and Anthropic platforms demonstrates a direct financial motive, as well as the potential to disrupt legitimate users by exhausting service quotas.

To mitigate these risks, the researchers recommend several best practices. Developers should rigorously scan code and container images for secrets before publishing them. If a key is accidentally exposed, it must be revoked immediately, and the associated account activity should be thoroughly reviewed for any unauthorized usage or charges. Furthermore, limiting the permissions of each key to only what is necessary and utilizing short-lived, temporary credentials can significantly reduce the potential impact of a compromise.

The findings were shared with Docker, which acknowledged the disclosure and stated its security team was reviewing the information. The researchers also suggest that registries should implement scanning for exposed secrets in uploaded images to catch such vulnerabilities before they can be exploited.

This research highlights a growing trend where automated tools and bots are becoming increasingly sophisticated in their ability to discover and exploit exposed credentials. The speed at which these bots operate leaves little room for error, emphasizing the importance of proactive security measures and continuous vigilance in managing cloud and AI service access.

Synthesized by Vypr AI