A novel attack campaign has emerged involving hackers using Amazon Web Services (AWS) keys harvested from exposed AI prompts to scan cloud storage and breach secret-management systems. Researchers intercepted these activities by deploying decoy credentials inside test prompts and tracking how attackers interacted with them.
How Exposure Occurred
Between July and November 2026, cybersecurity firm Dragos embedded nearly two million prompts that included fake credentials, unique links, and decoy hostnames. When attackers clicked one of those links or tested the fake credentials, researchers were able to trace the activity back to the prompt—revealing exposure at three separate AI-hosting providers. Notably, even prompts marked for zero data retention were not immune. Some provider rejections occurred before a model ever processed a prompt, yet credentials were still compromised. A number of keys were tested mere hours after prompt submission. All affected AWS accounts were monitored and purposefully empty, meaning no real production data appears to have been accessed. Still, the rapid and widespread probing illuminates what attackers aim to discover.
What Attackers Did with the Stolen Keys
In the largest incident identified, hackers gained access to around 200 AWS test keys. Once an exposed credential was confirmed valid, attackers proceeded to enumerate S3 buckets and examine AWS Secrets Manager plus Parameter Store to hunt for passwords, API tokens, and configuration settings. Though bucket listings don’t prove data theft, they unveil where sensitive data might reside. Other attacker behavior included attempts to enable models in Amazon Bedrock, create API keys for Bedrock, and add new IAM users—actions that, if successful, could leave lingering access even after compromised credentials are revoked. Although these actions were documented, researchers note only some were completed; many were merely attempted.
Security Gaps and What Can Be Done
The incident underscores limitations in current encryption and data retention policies. Encryption protects data while in transit, but once a prompt reaches a provider, its contents may still be exposed—even if marked with zero retention. Credentials embedded in AI prompts should be treated expertly. Teams discovering live AWS keys leaked in prompts are advised to deactivate them immediately, replace where needed, and audit CloudTrail for anomalous cloud activity—like strange bucket listings, secret access attempts, or unexpected IAM user creations. Providers and organizations alike should enforce policies to strip sensitive credentials before submission and constrain critical workloads to approved platforms, since retention settings alone are not a strong safeguard at the point of ingestion.
Dragos also published a list of indicators of compromise, such as AWS CloudTrail user agents labelled “artex-agent” and “artex-judge-r121”—identifying patterns seen during activity involving stolen test keys that can aid detection.
This incident follows previous AI prompt-exposure breaches. Notably, some attackers accessed credentials even when prompts were rejected by the hosting provider. Separate findings involving an AI router identified issues with multiple providers being removed and zero-data-retention status revoked for many endpoints. However, the same sleep in policy enforcement could leave those systems vulnerable.
This campaign reveals emerging risks around how AI providers and users handle prompt data. Leakage of credentials poses much more than an academic threat—it opens doors into secret vaults, file stores, and extended privilege. Organizations must rethink how identity data is managed in AI contexts, asking whether tools meant to prevent risk are actually effective where it matters most: the point of input.