Hackers Use Stolen AI Prompt Data to Search AWS Cloud Storage and Secret Management Services
Hackers exploited stolen AWS credentials from AI prompts to scan cloud storage and secrets management services.
Dragos discovered that attackers stole AWS access keys embedded in AI prompts sent to multiple hosting providers between July and November 2026, using them to list S3 buckets and search AWS Secrets Manager and Parameter Store. The largest breach exposed approximately 200 test keys; attackers tested credentials within hours of submission and generated tens of thousands of API calls. The research revealed that encryption alone does not protect prompts from providers that receive and process them, and that data retention settings do not prevent theft at the point of initial receipt.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Amazon Web Services?
Get an email when a new story names Amazon Web Services, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonDevelopers inadvertently included live AWS access keys inside prompts submitted to third-party AI hosting providers, where those credentials were harvested by attackers and used within hours to enumerate S3 buckets and query AWS Secrets Manager. The core failure was treating AI prompt interfaces as trusted, private environments when in reality the provider receives and processes every token of input in plaintext. This highlights a dangerous gap in developer security awareness: secrets embedded in prompts are as exposed as secrets hardcoded in public repositories. Critically, neither encryption in transit nor data retention policies prevented theft at the moment of initial receipt, meaning technical controls alone cannot substitute for not sending secrets in the first place.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Cloud security posture management (CSPM and CNAPP)
Misconfigured cloud storage and over-permissive roles get caught before they leak.
- AI application security
Prompt injection, data leaks through AI tools and unapproved AI use get caught.