
AI Agents Are Now Stealing Your API Keys at Machine Speed: Inside the ARTEX Campaign Targeting LiteLLM, Dify, and Cloud AI Infrastructure
Between October 3 and mid-November 2026, Amazon's MadPot threat intelligence team captured records from autonomous AI agents running on ARTEX, an open-source AI-powered penetration-testing framework, targeting internet-exposed AI applications including LiteLLM, One API, Dify, Langflow, RAGFlow, and others. The agents exploited default credentials, unauthenticated endpoints, authentication-bypass headers, and known CVEs to harvest AI provider API keys at scale, then verified and pooled those keys to fund further reconnaissance. China-linked operators were assessed with moderate confidence based on Simplified Chinese prompts and China time-zone metadata. Hundreds of targets across AI platforms, CI/CD pipelines, and cryptocurrency exchanges were enumerated, with Cloudflare separately confirming 400 database dump attempts in a single hour from a compromised CI/CD token. This campaign illustrates a structural shift in attacker economics: AI agents now automate vulnerability discovery, credential harvesting, and key validation end-to-end, dramatically compressing the time between exposure and exploitation. The FBI issued a FLASH alert confirming ARTEX use across multiple sectors globally since at least August 2026, underscoring that agentic AI offensive tooling has moved from proof-of-concept to mainstream criminal infrastructure.
Kill Chain










