In a significant security breach, hackers have exploited Amazon Web Services (AWS) access keys, obtained from compromised AI prompts, to explore cloud storage and secret management services. The cybersecurity firm Dragos uncovered this activity, tracing it back to credentials deliberately inserted into test prompts.
Uncovering the Breach
The swift testing of these stolen keys resulted in tens of thousands of AWS API calls. Although the accounts were empty and under surveillance, the incident highlighted the potential targets for cybercriminals, rather than confirming an actual data theft.
From July to November 2026, Dragos distributed nearly two million prompts containing unique identifiers and decoy credentials, known as canary tokens. By monitoring requests to these identifiers, researchers could trace the source of the suspicious activities back to the original AI prompts. Evidence of exposure was found across three AI hosting platforms, though it was not indicative of widespread theft.
Impact and Response
According to Malwarebytes, some credentials were intercepted even when hosting providers rejected the prompts. Neither Malwarebytes nor Dragos identified a specific malware responsible for the breach. In related reporting, OpenRouter removed three providers and altered the zero-data-retention policy for 125 endpoints, asserting no direct breach of its systems.
In one of the largest incidents, approximately 200 AWS test keys were compromised. Dragos had shared each key only once with a provider, and some requests were blocked before the AI model processed them. This suggests that the theft could occur at the initial point of receiving traffic.
Preventive Measures and Future Outlook
Hackers utilized these keys to list Amazon S3 buckets and probe AWS Secrets Manager and Systems Manager Parameter Store. While listing buckets can reveal file storage locations, it does not confirm data extraction. More concerning is the potential access to additional credentials if permissions allow it.
Dragos identified attempts to manipulate AWS services, such as creating Bedrock API keys and IAM users, although these actions were not confirmed as successful changes. This demonstrates the risk of an attacker re-entering systems through newly created identities after initial credentials are revoked.
Organizations are advised to deactivate compromised AWS keys immediately, replace them if necessary, and scrutinize AWS CloudTrail logs for unusual activities. Ensuring that credentials are stripped before submission and limiting sensitive operations to approved providers can mitigate risks. Dragos emphasized that retention settings alone are insufficient to prevent data theft at the reception point.
In conclusion, the breach underscores the importance of robust security measures and the need for organizations to remain vigilant against evolving cyber threats. Continuous monitoring and proactive response strategies are vital for safeguarding cloud environments.
