Amazon: Hundreds of AI API Keys Stolen by Self-Funding ARTEX Agent Campaigns
Amazon's MadPot decoy sensors captured ARTEX AI agents stealing AI provider API keys from hundreds of exposed AI apps, pooling the stolen credentials to fund their own LLM inference. Cloudflare and Microsoft corroborate with separate ARTEX incident response cases.
Amazon's threat intelligence team has disclosed that AI agents running on ARTEX, an open-source agentic AI penetration-testing framework, stole AI provider API keys from hundreds of internet-exposed AI applications between Oct. 3 and Nov. 5, 2026, feeding the stolen credentials into the framework's own model gateway to pay for the LLM inference that powered further credential hunting. "From Oct. 3 to Nov. 5, 2026, Amazon's MadPot... captured requests from AI agents that included operating memory from offensive campaigns that threat actors ran on ARTEX," wrote CJ Moses in the AWS Security Blog on Nov. 13, 2026. The disclosure was covered by The Hacker News on Nov. 16, 2026.
What was the specific vulnerability?
The core weakness was AI provider keys stored inside internet-exposed LLM gateways, proxies and AI app builders, reachable through default credentials, unfinished installs, known CVEs and authentication bypasses. According to the AWS Security Blog, the agents targeted LLM gateways and proxies including One API, New API, Veloera, Sub2API and LiteLLM, and AI app builders including Dify, FastGPT, Langflow, RAGFlow, Open WebUI, LobeChat and Ollama, extracting the AI provider keys stored inside, verifying they worked and pooling them. The agents' playbook listed default admin credentials, such as LiteLLM's default master key, and an authentication bypass via the isCliRequest header in One API-family systems. Known flaws included CVE-2025-3248 in Langflow, which is on CISA's Known Exploited Vulnerabilities catalog and fixed in Langflow v1.3.0, and GHSA-vvwj-fvwh-4whx in RAGFlow, fixed in v0.25.0. The playbook also covered SSRF via URL-fetch features to reach cloud metadata services, and secrets exposed in client-side JavaScript, source maps, debug routes, environment files, GitHub repositories, npm and PyPI packages, container image layers, paste sites and Telegram channels. Stolen keys were fed into the framework's own model gateway, where they powered the agents searching for more keys, a self-sustaining operation in which stolen credentials paid for the LLM inference driving further credential theft.
How was the incident detected?
The campaigns were detected by Amazon's MadPot decoy-sensor network, which poses as LLM inference APIs and captured the agents' requests carrying their own full campaign records over the 34-day window ending Nov. 5, 2026. Because the agents' operating memory arrived with the requests, Amazon could reconstruct the targets, techniques and pooled credentials. Corroborating incident response work came from Cloudflare, which stated in its blog "Adapting to AI penetration testing orchestrators" that over the past eight weeks its responders handled multiple ARTEX-related investigations. In one case, a compromised account-level CI/CD API token, which had no IP restrictions or rate limiting and was likely stolen via a third-party cloud provider, was followed by 400 database dump requests in an hour and activity at more than 69 requests per minute, with new Cloudflare Worker scripts named artex-*, artex-pgrecon-*, artex-pgw-* and artex-do-*. Cloudflare attributed the root cause to static CI/CD tokens that never expired. Microsoft separately reported, in a Nov. 5, 2026 post on its Microsoft Security Blog, attackers using agentic AI tooling such as ARTEX for GitHub secret hunting, including AI inference API keys, and on Aug. 26, 2026 it described an earlier RAGFlow attack that captured provider keys and a compromised LiteLLM gateway.
What is the current impact?
Hundreds of targets across AI app platforms and other workloads had AI provider API keys and cloud credentials stolen and pooled, with premium frontier models prioritized over general cloud access. Amazon assesses with moderate confidence that the operators were disparate China-nexus threat groups, citing simplified Chinese prompts, China time-zone configurations, targeting consistent with Chinese interests and China-nexus tooling; standing instructions excluded mainland China targets and government domains and required all outbound traffic through proxies. A second campaign used ARTEX agents to attempt KYC verification bypass at two cryptocurrency exchanges using real-time deepfake video injection; according to the AWS Security Blog, one verification vendor's server rejected the live deepfake on every attempt, and the team did not say whether forged ID-document photos passed document checks. AWS customers assessed as potentially affected were notified. Cloudflare has not said whether the database dump requests returned data.
What are the next steps?
Amazon has published IOCs in the Cisco Talos IOC repository as of Nov. 2026 so organizations running the affected technologies can review their environments. Operators of the named gateways and app builders should apply the Langflow v1.3.0 and RAGFlow v0.25.0 fixes, remove default credentials such as LiteLLM's default master key, and close the isCliRequest bypass on One API-family systems. Cloudflare advises restricting CI/CD tokens with IP restrictions, expiry and rate limiting. Organizations should also monitor for the published IOCs and review exposure of secrets in client-side code, repositories and package registries.
By the numbers
Source snapshot


