Bot tested an AWS key 7.86 seconds after it was published
Researchers found that a bot tested a deliberately exposed AWS key within seconds, and attackers used up prepaid AI credits.
Reported by Malwarebytes Labs
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Yes
- Severity
- Not rated
What happened
Researchers at Stony Brook University published 300 honeypot images across eight public registries over four months, containing working access keys for AWS, OpenAI, and Anthropic.1
The fastest observed use of an AWS key occurred 7.86 seconds after publication.1
Most early activity involved bots checking whether keys worked, with nearly every bot testing an AWS key starting with GetCallerIdentity.1
Attackers used up all of the approximately $60 in prepaid OpenAI and Anthropic credits that the researchers had loaded.1
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Yes Bots and attackers used the exposed keys in real attacks, including testing AWS keys and consuming AI service credits.1
What to do
- Revoke any exposed key and replace it, then review account activity and charges.1
- Keep secrets out of code, public repositories, and container images.1
- Scan images before publishing, as a bot can find an exposed key within seconds.1
- Limit what each key can do by using narrowly scoped keys.1
- Prefer short-lived credentials over long-term access keys.1
- Set spending limits and alerts to monitor usage.1
For bug hunters
The bug class is secrets exposure, where credentials are accidentally published in code, images, or repositories. Bug bounty hunters can test for exposed secrets in public repositories, container images, and configuration files. Look for API keys, access tokens, and other credentials that grant access to cloud services or AI platforms. Check if keys have overly broad permissions and whether they are long-lived.
What to test
- Search public repositories for AWS keys, OpenAI keys, and Anthropic keys.
- Inspect container images for embedded credentials.
- Check if exposed keys have restricted permissions.
- Verify if keys are short-lived or long-term.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
Malwarebytes Labs
A bot tested an AWS key within 8 seconds of exposure