AI Agents Raid Exposed LiteLLM and Dify Apps for Keys

Incident:
AISSI-26-150
Category:
Credential Abuse

Key Takeaways

  • Amazon Threat Intelligence published records on November 13, 2026, of AI agents stealing AI provider keys from internet-exposed AI applications.
  • Targets included LLM gateways such as LiteLLM and One API and AI builders such as Dify, Langflow, RAGFlow and Open WebUI.
  • The agents used default credentials, anonymous admin endpoints, known CVEs and leaked secrets to extract keys.
  • Stolen keys powered the models running the next round of hunting, creating a self-funding loop.
  • Amazon links the activity with moderate confidence to the open-source ARTEX framework and Chinese-nexus actors.

Stolen Model Keys Paid for the Hunt for More Keys

Organizations running AI gateways and application builders on the internet were the targets of an automated key-theft campaign documented by Amazon Threat Intelligence. Attackers' agents found exposed AI apps, extracted the model provider keys stored inside, verified them and pooled them for reuse. The campaign shows how quickly misconfigured AI infrastructure is found and monetized.

What We Know

Amazon's MadPot decoy sensors imitated popular LLM inference APIs and captured traffic from attacking agents between October 3 and November 5, 2026. Because the agents send their conversation history with each model request, single requests often contained a campaign's full operational record, giving researchers an unusual view of the attackers' plans and results.

The main campaign targeted LLM gateways and proxies, including One API, New API, Veloera, Sub2API and LiteLLM, and AI application builders such as Dify, FastGPT, Langflow, RAGFlow, Open WebUI, LobeChat and Ollama. Amazon describes hundreds of targets across its observed campaigns but has not published counts of stolen keys, and the outcomes in the agents' own records have not been independently verified.

Amazon assesses with moderate confidence that the agents ran on ARTEX, an open-source agentic penetration testing framework, operated by disparate Chinese-nexus groups. The Hacker News noted that Microsoft separately reported attackers using ARTEX to hunt GitHub for exposed credentials, including AI inference keys.

What Happened

The agents combined internet scanning, certificate transparency logs and public code sources to find candidate systems, then worked through a menu of access methods. Amazon lists claiming uninitialized installs, calling anonymous management or provider-configuration endpoints, logging in with default administrator credentials including LiteLLM's default master key, exploiting Langflow CVE-2025-3248 and RAGFlow CVE-2026-28797, abusing an authentication bypass header in One API family systems, and using URL-fetch features for server-side request forgery against cloud metadata services. They also collected secrets left in client-side JavaScript, source maps, debug routes and environment files.

Each key was graded as a lead, a confirmed working API call, or quantified impact such as readable data or spendable balance. Working keys went into a shared pool feeding the framework's own model gateway, so victims' accounts paid for the inference that drove the search for more victims. Premium frontier models were prioritized.

Most of the weaknesses are traditional: defaults, missing authentication and unpatched software. AI made them worse in two ways. Gateways and builders aggregate many provider keys in one place, and autonomous agents can work through large target lists cheaply and continuously.

Why It Matters

Model API keys are now direct financial instruments. A leaked key can run up large bills, expose prompts and data stored in provider accounts, and give attackers free access to frontier models for other operations. Because gateways and AI builders store many keys together, one exposed admin panel can compromise several provider accounts and the applications that depend on them.

The campaign also shortens the timeline for defenders. Amazon advises assuming that exposed secrets and misconfigurations will be found quickly, and its records show agents systematically triaging keys and treating ones public for more than 30 days as low value. Leaving a pilot instance online with a default password is no longer a low-probability risk.

For governance teams, the lesson is that AI infrastructure often sits outside normal production controls. Experimental gateways, notebooks and builders are stood up quickly and rarely appear in asset inventories, vulnerability scans or spend monitoring. Frameworks such as the NIST AI RMF expect organizations to inventory AI systems and manage their risks, which starts with knowing where these tools run and what credentials they hold.

PointGuard AI Perspective

This campaign targets the gap between how quickly AI tools are deployed and how slowly they are secured. PointGuard AI helps close it.

AI Discovery & Inventory finds LiteLLM, Dify, Langflow, Open WebUI, Ollama and similar tools across cloud accounts, code repositories and endpoints, including shadow deployments created for pilots. AI Security Posture Management checks them for the weaknesses these agents exploited: default or shared admin credentials, unauthenticated management endpoints, exposed provider configuration, secrets in code and configuration files, and unpatched versions with known exploits. Findings are prioritized by how many provider keys and data sources each system can reach.

Reducing the value of what attackers find matters too. Agent Identity & Access Security replaces long-lived static keys with short-lived, scoped credentials brokered at runtime from vaults, so a compromised AI app holds less that can be reused. Monitoring of AI traffic helps surface unusual usage that can indicate stolen keys being exercised, such as spikes in premium model calls from an application that normally uses smaller models.

As attackers automate reconnaissance with their own agents, defenders need inventory and posture management that run continuously. Trustworthy AI adoption depends on treating every AI gateway and builder as production infrastructure from the day it goes online.

Incident Scorecard Details

Total AISSI Score: 6.50/10

Criticality: 6, Model provider keys and data held in AI gateways and builders. AISSI weighting: 25%

Propagation: 7, Automated scanning across hundreds of targets, with stolen keys pooled and reused. AISSI weighting: 20%

Exploitability: 8, Active theft by deployed agents observed over 34 days. AISSI weighting: 15%

Supply Chain: 6, Open-source AI tools and third-party model provider accounts. AISSI weighting: 15%

Business Impact: 6, Likely financial abuse of stolen keys; no named victims or quantified losses. AISSI weighting: 25%

Sources

Third-Party Sources

PointGuard AI Sources

AI Security Severity Index (AISSI)

0/10

Threat Level

Criticality

6

Propagation

7

Exploitability

8

Supply Chain

6

Business Impact

6

Scoring Methodology

Category

Description

weight

Criticality

Importance and sensitivity of theaffected assets and data.

25%

PROPAGATION

How easily can the issue escalate or spread to other resources.

20%

EXPLOITABILITY

Is the threat actively being exploited or just lab demonstrated.

15%

SUPPLY CHAIN

Did the threat originate with orwas amplified by third-partyvendors.

15%

BUSINESS IMPACT

Operational, financial, andreputational consequences.

25%

Watch Incident Video

Subscribe for updates:

Subscribe

Ready to get started?

Our expert team can assess your needs, show you a live demo, and recommend a solution that will save you time and money.