malwarebytes.comยท24 november 2026

A bot tested an AWS key within 8 seconds of exposure

Image for the article: A bot tested an AWS key within 8 seconds of exposure
Image via malwarebytes.com

Researchers at Stony Brook University found that bots can test and exploit exposed cloud access keys within seconds of publication, using them to run up charges on associated accounts. The fastest observed use of a key occurred just 7.86 seconds after it was published. Attackers used up about $60 in prepaid OpenAI and Anthropic credit, highlighting the rapid exploitation of exposed keys. To mitigate risks, developers should avoid publishing keys in public repositories, scan for exposed keys before publication, and limit key permissions. Providers like AWS recommend using temporary credentials and setting spending limits to prevent unauthorized usage.