PHP Warns of Critical Security Flaws Affecting All Supported Versions, Fixes Coming November 19 · 5h 10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers · 15h F5 Warns 6 Critical BIG-IP Flaws Can Crash Traffic in Specific Setups, May Allow RCE · 15h CVE-2026-123633 and CVE-2026-123007: Critical NGINX HTTP/2 Vulnerabilities · 16h Critical Apache Roller RCE Flaw Under Active Exploitation, No Authentication Required · 16h Java4Shell Flaw Threatens Global Enterprises, Java Application Ecosystem · 16h How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938) · 18h Vulnerabilities in LMS software · 20h New Attack Bypasses TPM Lockout to Crack Windows Hello and BitLocker PINs in Days, Not Years · 21h AI Pentesting Checklist for Web Apps: 15 Questions to Ask Before Choosing a Vendor · 21h PHP Warns of Critical Security Flaws Affecting All Supported Versions, Fixes Coming November 19 · 5h 10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers · 15h F5 Warns 6 Critical BIG-IP Flaws Can Crash Traffic in Specific Setups, May Allow RCE · 15h CVE-2026-123633 and CVE-2026-123007: Critical NGINX HTTP/2 Vulnerabilities · 16h Critical Apache Roller RCE Flaw Under Active Exploitation, No Authentication Required · 16h Java4Shell Flaw Threatens Global Enterprises, Java Application Ecosystem · 16h How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938) · 18h Vulnerabilities in LMS software · 20h New Attack Bypasses TPM Lockout to Crack Windows Hello and BitLocker PINs in Days, Not Years · 21h AI Pentesting Checklist for Web Apps: 15 Questions to Ask Before Choosing a Vendor · 21h
🛡️
ACyber Sentinel Security Assessment Team
← Back to feed
⚡ Intelligence Report

Amazon Uncovers AI Agent Campaign Targeting LiteLLM, Dify, and Other Apps for API Keys

Amazon Uncovers AI Agent Campaign Targeting LiteLLM, Dify, and Other Apps for API Keys

Attackers' AI agents have been hunting for weak spots in internet-exposed AI apps such as LiteLLM, One API, and Dify to steal the AI provider keys stored inside, according to the agents' own records.

The records, which Amazon's threat intelligence team captured with decoy servers, describe stolen keys being used to run the AI models that powered the search for more keys.

The team said this week that it cannot verify the outcomes reported by the agents. It has moderate confidence that the agents ran on ARTEX, an open-source AI tool for penetration testing.

The records include a playbook of known entry points for each targeted product. It lists default administrator credentials such as LiteLLM's default master key, unfinished installs that an outsider could take over, and known flaws in Langflow and RAGFlow.

In a separate case reported this week, Cloudflare's incident responders saw ARTEX gain access to a compromised API token that had been used for CI/CD. The token had no IP restrictions or rate limiting, and the activity that followed included 400 database dump requests in an hour. The company has not said whether those requests returned any data.

An operator gives ARTEX a target and a goal, and a planner agent splits the goal into tasks for worker agents that run security tools. To decide each next step, the agents send their work to a large language model (LLM).

The decoy servers, part of a network called MadPot, posed as popular LLM services. From October 3 to late last week, the agents sent it requests that often carried a campaign's full history, including the operators' instructions and the agents' reported findings.

Those captured agent records describe work done on systems MadPot does not watch. "Amazon Threat Intelligence did not observe that activity as it happened and cannot verify the outcomes the agents reported, but the records show what the actors were pursuing," the team said.

The team assessed, with moderate confidence, that the operators were separate China-linked groups, citing Simplified Chinese prompts and China time zone settings, among other evidence.

In the main campaign, the agents looked for internet-exposed AI apps, extracted the provider keys stored inside, verified that the keys worked, and added them to a shared pool. They focused on apps that hold keys for many providers, because one weak admin page there can expose many accounts.

Targets named in the records include LLM gateways and proxies such as One API, New API, Veloera, Sub2API and LiteLLM, and AI app builders such as Dify, FastGPT, Langflow, RAGFlow, Open WebUI, LobeChat and Ollama.

The playbook also covers management and provider settings endpoints that need no login, an authentication bypass through the isCliRequest header in One API family systems, and server-side request forgery (SSRF) through URL-fetch features to reach cloud metadata services. Other entries cover secrets left in client-side JavaScript, source maps, debug routes and environment files.

When the agents found cloud credentials, they targeted managed services that host AI models, secret stores, and application identities, prioritizing premium AI models over general cloud access.

To find leaked keys, the agents used internet scanning services and certificate transparency logs, and searched GitHub repositories and event archives, npm and PyPI packages, container image layers, notebooks, model-hosting spaces, paste sites, and Telegram channels.

The records cover hundreds of targets across AI app platforms and other systems. The team notified AWS customers who may have been affected.

Microsoft reported last week that attackers were using agentic AI tools such as ARTEX for GitHub secret hunting, looking for exposed credentials that included API keys for AI inference.

On August 26, the company described an earlier RAGFlow attack, in which a hidden hook captured AI provider keys as users entered them, and a compromise of a LiteLLM gateway that exposed provider keys.

In its RAGFlow case study, the company had only low confidence about which flaw, if any, let the attackers run code. It did not link those attacks to ARTEX.

The decoy records also describe a second campaign in which agents attempted to bypass identity checks at two cryptocurrency exchanges using deepfakes.

One verification vendor's server rejected the live deepfake video on every attempt the agents made to record it. The team did not say whether the forged photos of ID documents that the agents also fabricated passed document checks.

Over the past eight weeks, Cloudflare's incident responders were called into multiple investigations involving ARTEX and tools built from it.

In more than one incident, an attacker gained access to a customer's environment with a major cloud provider and moved directly into the customer's Cloudflare account. The common root cause was static CI/CD tokens that never expired, granting broad access across the customer's cloud setup, according to the company.

In the ARTEX case, the compromised token was an account-level API token. The compromise most likely came through a third-party cloud provider, according to the company's incident findings. How the token was first stolen has not been disclosed.

New Worker scripts with names such as artex-*, artex-pgrecon-*, artex-pgw-* and artex-do-* appeared in the account, each name matching a different task. The activity ran at more than 69 requests per minute across several parts of the account. It included attempts to establish persistence and validate session tokens for other third-party apps.

Much of this activity was lightly guided by a human operator, the company believes. Whether any attempt at persistence worked has not been disclosed.

Over three days this week, more than 50 families of AI penetration testing frameworks tried to scan the company's customers, and the IP addresses seen running such frameworks now number in the thousands.

The FBI said in a FLASH alert this week that a range of attackers have used ARTEX since at least August against organizations in many sectors around the world. The alert summarizes 11 earlier reports and describes no new incident.

ARTEX's developer made its GitHub repository unavailable on October 8 after reports of abuse, but community forks, archived copies, and a commercial version called ARTEX PRO keep it available.

The alert's examples include an earlier campaign against South Korean financial institutions that stole personal information on about 67,000 people, and the ConnectWise compromise.

What Defenders Can Check

"None of the techniques in these campaigns were new. What AI agents change is the speed and persistence of the attacker," Amazon's threat intelligence team said. The agents succeeded where basic security was missing, including default or hard-coded credentials, keys left in code and public files, interfaces and inference endpoints without authentication, and unpatched software.

The team recommends treating AI apps, model gateways, and inference endpoints like other production systems, assuming that exposed secrets will be found quickly, and watching for misuse through unexpected spending or unusual usage.

Here is the status of the flaws named in the playbook:

Product Flaw Status
Langflow CVE-2025-3248, missing authentication that lets a remote attacker run code Versions before 1.3.0 are affected, and 1.3.0 is the fixed version ( release notes ). CISA added the flaw to its Known Exploited Vulnerabilities (KEV) catalog on May 5, 2025, after earlier Langflow exploitation , and the KEV entry marks it as known to be used in ransomware campaigns.
RAGFlow CVE-2026-28797, server-side template injection (SSTI) that lets any logged-in user run operating system commands on the server. The attack needs a registered account, and self-registration is on by default, the security advisory says. NVD lists 0.24.0 and earlier as affected. The advisory lists no patched version. Version 0.25.0, released on April 21, renders templates in the sandbox the advisory recommends, according to its SSTI fix notes .
One API family Authentication bypass through the isCliRequest header The team's report names no affected versions or fix.

Other checks that apply to these attacks:

  • Change default administrator credentials, such as LiteLLM's default master key, and do not leave a new install unfinished where an outsider could take it over.
  • Search configuration files, environment variables, deployment scripts, CI/CD pipelines and databases for embedded secrets, keep scanning repositories and container images for exposed ones, and rotate exposed credentials quickly, as the FBI advises.
  • Give Cloudflare API tokens an expiry date and limit the client IP addresses that can use them. Both are optional token restriction settings, and new tokens carry a cfut_ prefix that secret scanners can detect.
  • Look for Cloudflare Worker scripts named artex-*, artex-pgrecon-*, artex-pgw-* or artex-do-*.
  • Check logs for the 11 IP addresses published with the decoy findings, and for the more than 2,500 addresses that researchers at Cisco Talos link to ARTEX in their indicator files.
  • The researchers' detection rules for ARTEX are Snort 3 rules 7:76, 7:77 and 7:78, and Snort 2 rules 1:67494, 1:67495 and 1:67496. Rules 7:78 and 1:67496 are off by default and detect traces of norma, the agent harness ARTEX uses.

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.

Referenced Vulnerabilities

CVE-2026-118383 CVSS 10 CRITICAL Analyzed
CVE-2026-118383 - Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
CVE-2026-28797 CVSS 8.8 HIGH Analyzed
CVE-2026-28797 - RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent "Text Processing" Component
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These components use Python's jinja2.Template (unsandboxed) to render user-supplied templates, allowing any authenticated user to execute arbitrary operating system commands on the server. At time of publication, there are no publicly available patches.
CVE-2025-3248 CVSS 9.8 CRITICAL Analyzed
CVE-2025-3248 - Langflow Missing Authentication Vulnerability - [Actively Exploited]
Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary code.