Skip to content

When AI Hunts AI: Inside HekerAI’s ARTEX Campaign Against Exposed ML Infrastructure

Japneet SinghJapneet Singh· Head of Research6 min read

Key takeaways

  • The targets are AI infrastructure: the same tool that hit finance, government and manufacturing now goes after notebooks, ML pipelines, workflow engines, MCP servers and GPUs.
  • The agent writes the attack code itself: ARTEX ships no code for anything we observed, so the payloads, including the Jupyter implant, were very likely written by the model during the attack.
  • It checks its own work, planting unique markers, running commands meant to fail and asking for things that don’t exist: habits that are easier to detect than its payloads, IPs or brand name.
  • A file it plants, ipykernel_launcher.py, runs every time Jupyter starts a notebook.
  • Basic security would have stopped it: apart from a few path-traversal attempts, nearly every request used a normal API on a service with no login.

Introduction#

Since late October 2026, an operator has used ARTEX, an open-source AI penetration-testing agent, to attack exposed AI and machine-learning services. It runs ARTEX under the name HekerAI and labels its work c211. It was still active in late November. In the traffic we observed, it targeted Jupyter notebook servers, Kubeflow Pipelines, Prefect, MCP servers, LLM APIs, Docker, and MLflow.

The operator is after GPUs, cloud credentials, and secrets. On Jupyter servers, it ran code that inventories GPUs, queries cloud metadata services, and searches for cloud and cluster credential files. On an MCP server, it used a web-fetch tool to reach the Docker API running on the same machine. In mid-November, it planted an implant on four exposed Jupyter servers that runs each time a notebook starts.

HekerAI is not alone. At least 11 ARTEX consoles, including HekerAI consoles, sent traffic to the exposed AI services we observed. Treat any notebook server, pipeline console, workflow engine, MCP server, or model API reachable from the internet like an exposed admin panel, because anyone who reaches it can often run code through it.

A timeline of 969 requests linked to the operator between 27 October and 23 November 2026. 27 October: first requests, Ollama and Open WebUI probes. 9 November: code runs in Jupyter for GPU inventory and credential files. 11 November: Kubeflow sweeps and cloud metadata queries. 13 November: an MCP secret request, a database query and a Docker API request. 17 November: an implant planted on four Jupyter servers. 18 to 19 November: self-test runs on Jupyter servers. 23 November: still active.
Figure 1 · Key steps in the operator’s campaign.

Key Takeaways#

ARTEX misuse is already well documented. Here is what this campaign adds:

  • The targets are AI infrastructure. Published ARTEX campaigns hit finance, government, technology, and manufacturing. Here, the same tool targets notebooks, ML pipelines, workflow engines, MCP servers, and GPUs. ARTEX has no special code for Jupyter, Kubeflow, or MCP servers. It doesn’t need any: the model already knows how these APIs work.
  • The agent writes the attack code itself. ARTEX ships no code for anything we observed. Its workers are language models with a shell, so the payloads, including the Jupyter implant, were very likely written by the model during the attack.
  • It checks its own work. It plants unique markers, runs commands meant to fail, and asks for things that don’t exist. These habits are easier to detect than its payloads, IPs, or brand name, which keep changing.
  • Persistence. A file it plants, ipykernel_launcher.py, runs every time Jupyter starts a notebook.
  • Basic security would have stopped it. Apart from a few path-traversal attempts, nearly every request used a normal API on a service with no login.

Threat Actor Profile: HekerAI#

HekerAI runs a renamed ARTEX build from two Contabo servers and reaches targets both directly and through rotating proxy exits. We don’t know what c211 stands for.

AttributeDetail
NamesHekerAI (console brand), c211 (self-applied tag)
ToolingRenamed ARTEX build
Active period27 October to 23 November 2026
InfrastructureTwo Contabo servers, console on port 8787: Console A 213.199.49[.]235 (hekerai[.]app); Console B 169.58.19[.]2; 40 rotating proxy exits
Volume969 requests from 42 IP addresses

Table 1 · HekerAI at a glance.

Rotating proxies#

Blocking the two console IPs would have stopped 70% of the requests, but none of the Kubeflow sweeps, the MCP session, or the implant uploads. Those came through 40 rotating proxy exits, often one or two requests per IP.

The operator’s infrastructure. Two HekerAI consoles at Contabo: Console A at 213.199.49[.]235, hekerai[.]app, run tag c211; and Console B at 169.58.19[.]2, with no c211 tag seen but the same console title and run-number style. 681 requests went straight from the consoles to the exposed AI services, and 288 went through 40 proxy exits: residential exits using the user agent HekerAI-tools/1.0, commercial ISP-proxy ranges, and a smaller set of hosting exits. The proxy exits carried all the Kubeflow sweeps, the MCP session and the implant uploads. The exposed AI services are Jupyter, Kubeflow Pipelines, Prefect, MCP servers, MLflow, LLM APIs and Docker.
Figure 2 · The operator’s infrastructure as seen in the traffic.

What Is ARTEX?#

ARTEX describes itself as an autonomous penetration-testing system. An operator sets a goal in a web console (port 8787 by default). A planner model breaks the goal into tasks, and several worker models carry them out with a shell, a web fetcher, and any MCP servers the operator connects. The attack code in this campaign was therefore very likely written by those worker models as each task ran.

The developer took the project closed source in October, citing misuse, and the original repository is no longer public. An English fork, BaaRai/ARTEX, remains public and widely used.

How ARTEX runs a task. The operator sets a goal in the console, on port 8787 by default, and can steer tasks by chat. The goal goes to a planner model, which splits it into tasks, reads the results and adds new tasks. A task counter, one per installation, gives each new task the next number. Worker models (a language model with a guarded shell that needs no human approval, a web fetcher and MCP tools) write the code they run, send requests to the exposed AI service, many of them tagged with a task number and a self-test, and return results to the planner.
Figure 3 · How ARTEX runs a task.

Criminal and state-linked use of ARTEX has been reported in depth since October by CrowdStrike, Microsoft, Google Threat Intelligence, Check Point, Censys and Talos. We don’t repeat that work here.

What It Did to AI Services#

Most of the services below exist to run code, and they answered the agent without a login.

ServiceWhat the agent did
JupyterRan code in kernels and terminals: host details, GPU inventory, cloud metadata (AWS, Google Cloud, Azure), and credential files such as ~/.kube/config and ~/.aws/credentials. Then planted an implant.
Kubeflow PipelinesListed pipelines, runs, and cluster nodes, and tried to start runs.
MCPConnected, listed the tools, then asked to read a secret, run a database query, and fetch the Docker API.
LLM APIsListed models and asked each to repeat a marker.
DockerVersion checks.
MLflowListed experiments.
PrefectListed deployments and flow runs.

Table 2 · What the agent did on each exposed service.

A Jupyter Implant That Hides in Kernel Start-up#

When Jupyter starts a notebook kernel, Python looks in the notebook’s folder first, so a file named ipykernel_launcher.py placed there runs instead of the real launcher.

See it in action.

The agent uploaded the same file to four exposed Jupyter servers within two minutes. Each time a notebook starts in that folder, it collects host, GPU, and cloud-metadata details, then starts the real launcher so the notebook works normally. Once planted, the file stays until deleted, survives kernel and server restarts, and runs with the notebook user’s permissions each time.

An MCP Fetch Tool Reached the Internal Docker API#

On the MCP server, the agent used a web-fetch tool to reach the Docker API at 127.0.0.1, the server’s internal address. Owners often treat that address as safe because nothing outside the server can reach it, but a fetch tool on an exposed MCP server can.

Why Tool Signatures Miss It#

None of ARTEX’s default names appeared: not its MCP client name (artex) or its web fetcher’s user agent (norma). The operator renamed the console and replaced the user agents. A detection rule that looks for ARTEX’s name, default title, or default user agents would have missed every request in this campaign.

The Agent Tests Its Own Work#

Before trusting a result, the agent checked it. It printed unique markers and checked that they came back, ran commands that had to fail, and asked for things that don’t exist. These checks are easy to search for in Jupyter, LLM gateway, and Docker logs. Each marker also carries an ARTEX task number, which can link incidents to the same installation.

Other ARTEX Consoles Are Probing AI Services Too#

At least 11 ARTEX consoles sent traffic directly to the exposed AI services we observed, targeting LLM endpoints, Jupyter, MCP servers, and Ollama. Some may be authorized testers, but this suggests some ARTEX operators already target AI services. Two of these consoles behaved like HekerAI: one asked for paths that don’t exist and was tagged with a run number, and another named its user agent after the task it was doing, as HekerAI did in its Kubeflow sweeps. Because different operators show the same behavior, it most likely comes from the ARTEX agent rather than from any one operator.

Recommendations#

First, list every notebook server, pipeline console, MCP server, and model API your organization exposes to the internet, including ones run by teams outside central IT. Then:

  • Require authentication on all of them, including Jupyter, MCP servers, Kubeflow Pipelines, and MLflow. A token or password would have blocked nearly everything described here.
  • Never expose the Docker API, and stop MCP fetch tools from reaching internal addresses such as 127.0.0.1.
  • Keep secrets and database tools off internet-facing MCP servers.
  • Look for files named ipykernel_launcher.py in Jupyter notebook folders. The real one never sits there.
  • If a Jupyter notebook server was exposed, rotate every credential it could read and limit its cloud role to what it needs.

Indicators of Compromise#

What it isIndicatorSeen (2026, UTC)Where to look
Console A server213.199.49[.]235 (ports 443, 8787)2 Nov to 21 NovFirewall, proxy and web-server logs
Console A domainhekerai[.]appCertificate issued 28 OctDNS and proxy logs
Console B server169.58.19[.]2 (port 8787)16 Nov to 23 NovFirewall, proxy and web-server logs
Console login pageHekerAI - Autonomous Penetration Testing Console; favicon mmh3 1414712307Shodan, from 4 NovInternet scan data such as Shodan
Launcher implant (same file on all four servers)SHA-256 1a1e363311cdc4dabfd1175944faeb40de413c5065faa6ae73c0b4f18951ec0e (2,288 bytes)17 NovFile scans and EDR on notebook servers
User agents on proxied requestsHekerAI-tools/1.0, HekerAI-waveH-<N>8 Nov to 13 NovJupyter, MCP and Kubeflow access logs
User agent of the Kubeflow sweepsMozilla/5.0 (compatible; kubeflow-plane-readonly/1.0)18 NovKubeflow Pipelines API logs
Task-named user agentsMozilla/5.0 (lane-b), (lane-d), (lane-e read-only)27 Oct to 19 NovOllama, Open WebUI and Kubeflow access logs
Self-test markersNONCE=c211-i<N>, READBACK=c211-i<N>-rb, c211-i<N>-must-error, c211-i<N>-patient, NONCE_c211-i<N>_START, NONCE_c211-i<N>_END, c211-nonexistent-<hex>18 Nov to 21 NovCode run in Jupyter kernels (network capture or proxy logs)
Requests designed to fail (ctrl_missing_404 from public abuse reports)zzz-no-such-i<N>, zz-nope<N>, proof<N>, i<N>_ctrl_missing_40413 Nov to 18 NovJupyter and Kubelet access logs
Docker and Kubeflow test strings (Docker ones from public reports)c211probe, c211-nonexistent-probe:0, C211_KFP_OK, c211-recon-6 Nov; Docker strings in public reportsDocker and Kubeflow API logs
LLM echo challengeReply with exactly: I<N>-<ip>-<port>18 NovLLM gateway or model API request logs
Implant file on diskipykernel_launcher.py outside site-packages, calling runpy.run_module(“ipykernel_launcher”)17 NovFiles in notebook folders
Implant output and markeri<N>_probe.txt in the notebook folder, /tmp or ~; folder i<N>d17 NovFiles in notebook folders, /tmp and home folders
Earlier persistence attemptsitecustomize.py in the notebook folder; /tmp/.zz<N>; zzproof<N>.txt13 NovFiles in notebook folders and /tmp

Table 3 · Indicators of compromise, with where to look for each.

MITRE ATT&CK Mapping#

TacticIDTechniqueObserved behavior
ReconnaissanceT1595Active ScanningScanned for exposed AI services
Resource DevelopmentT1588.002Obtain Capabilities: ToolUsed a renamed build of ARTEX
Resource DevelopmentT1583.001Acquire Infrastructure: DomainsRegistered a domain for its console
Initial AccessT1190Exploit Public-Facing ApplicationUsed open APIs that needed no login
ExecutionT1059.006Command and Scripting Interpreter: PythonRan model-written Python on Jupyter servers
PersistenceT1574Hijack Execution FlowPlanted a file that runs whenever a notebook starts
Defense EvasionT1036.005Masquerading: Match Legitimate Resource Name or LocationNamed the implant after Jupyter’s own launcher
Credential AccessT1552.001Unsecured Credentials: Credentials in FilesLooked for cloud and Kubernetes credential files
Credential AccessT1552.005Unsecured Credentials: Cloud Instance Metadata APIQueried cloud metadata services
DiscoveryT1082System Information DiscoveryCollected host and GPU details
DiscoveryT1613Container and Resource DiscoveryListed Kubeflow pipelines, runs and nodes
DiscoveryT1046Network Service DiscoveryReached the Docker API through an MCP server’s internal address
CollectionT1074.001Data Staged: Local Data StagingSaved what it collected to files on the server
Command and ControlT1090.002Proxy: External ProxySent part of its traffic through rotating proxies
Command and ControlT1105Ingress Tool TransferUploaded the implant through Jupyter’s file API

Table 4 · MITRE ATT&CK techniques observed in this campaign.

MITRE ATLAS Mapping#

MITRE ATLAS covers attacks on AI systems. Table 5 lists the ATLAS techniques that the ATT&CK table does not already cover. The three MCP techniques describe attacks made through an AI agent, here the agent called an exposed MCP server directly.

ATLAS tacticIDTechniqueObserved behavior
ReconnaissanceAML.T0006.002Active Scanning: Scan for Exposed AI InfrastructureScanned for exposed Jupyter, Kubeflow, MCP, and model servers
Initial AccessAML.T0132Misconfigured or Publicly Exposed AI ServicesUsed AI services that needed no login
AI Attack AdaptationAML.T0124Autonomous Attack OrchestrationARTEX’s planner split the goal into tasks for worker models
AI Attack AdaptationAML.T0117Autonomous Attack-Path AdaptationThe agent read results and chose its next step without a human
AI Model AccessAML.T0040AI Model Inference API AccessQueried exposed LLM APIs and asked each to repeat a marker
DiscoveryAML.T0007Discover AI ArtifactsListed Kubeflow pipelines and MLflow experiments
DiscoveryAML.T0084.001Discover AI Agent Configuration: Tool DefinitionsListed the tools on an exposed MCP server
ExecutionAML.T0053AI Agent Tool InvocationCalled MCP tools to read a secret, query a database, and fetch the Docker API
Credential AccessAML.T0098AI Agent Tool Credential HarvestingAsked an MCP tool to read a secret

Table 5 · MITRE ATLAS techniques observed in this campaign.

References#

Japneet Singh

Japneet Singh

Head of Research

Japneet leads the Research team at Metano. Two decades in cybersecurity, one decade in AI x cybersecurity. Hands on practitioner, leading by example. Interested in applying AI to defensive and offensive security.