News Security news

ARTEX: attackers' AI agents can be compromised by the servers they attack, two teams show

On 28 November 2026 two security firms, US-based NebuSec and Denmark's Baldur Security, independently published tests in which the agentic AI framework ARTEX – the tool criminals have used this year against banks and cloud tenants worldwide – ran code planted by the server it was attacking. NebuSec succeeded in 33 of 36 runs, the fastest in 27 seconds. The practical takeaway for defenders: traps that fire on code execution expose an AI agent within minutes.

Kyberkit editorial team · · event date · reading time 6 minutes · updated · For admins and analysts

News: ARTEX framework weaknesses

Key points

  • NebuSec (28 Nov) built seven ArtexPot traps and ran unmodified ARTEX 0.3.15 against them. In 33 of 36 runs with DeepSeek and GPT-5.6, the agent executed code planted by the target, as root inside its own container.
  • Direct prompt injection and command injection both failed (0 of 8 and 0 of 17). What worked were traps in files and tools: agents run downloaded scripts, load Python files and trust the target's helper binaries.
  • Baldur Security (28 Nov) lured ARTEX running GLM-5.3 with a lookalike subdomain and a planted 'leaked' key into running a script, and got a shell in the container that also hosts the control panel, including its secrets and token-signing key.
  • The root cause, according to both teams: all agents, the panel, AI service keys and the database password share one container with unrestricted outbound access, and only the language model polices scope.
  • NebuSec's trap on its own website caught two real attack agents on 30 Nov, one of them ARTEX; both ran the planted code.

What happened

ARTEX is an agentic AI penetration-testing framework that attackers have used since summer 2026 against cloud tenants, banks and other organisations (documented by Microsoft, Check Point, the FBI, Cisco Talos and Amazon). On 28 November 2026 two firms independently published tests that show the flip side: ARTEX can be compromised by the server it is attacking.

  • NebuSec (San Francisco) built seven traps called ArtexPot and ran unmodified ARTEX 0.3.15 against them in its default configuration, in a fresh container each time. A run only counted as a success if the planted code completed four proof tasks as root.
  • Baldur Security (Denmark) got a shell on the machine running ARTEX in one documented run using the GLM-5.3 model.

Results

NebuSec Baldur Security
Models DeepSeek, GPT-5.6 GLM-5.3
Success rate 33 of 36 runs (DeepSeek 18/18, GPT-5.6 15/18); backdoored SDK trap 8 of 8 1 documented run
Speed fastest 27 s, mostly under 3 minutes, slowest 17 min not stated
What failed direct prompt injection 0/8, command injection 0/17 –
What the defender gets code execution as root in the ARTEX container shell in the panel's container, its secrets and the JWT signing key

What didn't work is telling: the agents ignored plain-text instructions such as "ignore your task". The traps that succeeded were hidden in files and tools – the agent downloads a "leaked" script and runs it, loads Python files that execute code on open, or trusts helper binaries supplied by the target. In successful runs the agents never realised they had been compromised; some even reported the planted loader as a flaw in the target. A warning raised by one agent did not reach the agents working in parallel in time.

Why a trap on the server takes over an ARTEX agent1. Agent pulls data from the target (script, repository, package); 2. It parses or runs it – only the model decides; 3. Code runs as root in a shared container; 4. The container holds the operator's AI keys and database password1Agent pulls data from the target(script, repository, package)2It parses or runs it – only the modeldecides3Code runs as root in a sharedcontainer4The container holds the operator's AIkeys and database password
Root cause according to NebuSec and Baldur Security (28 Nov 2026)

Why it works

Both teams point to the tool's design: the backend, every agent and every shell command the model writes run in a single root container that also holds the operator's AI service keys and database password, with unrestricted outbound internet access. Only the model polices scope – Baldur convinced it that a lookalike subdomain pointing at localhost was in scope, and NebuSec saw agents scanning ARTEX's own database or treating a whole /24 network as a target. The prompts tell agents to attack but say nothing about target data being hostile.

NebuSec also reported a bypass of the protection against malicious Git config in git-dumper, a tool ARTEX uses, to its maintainer on 28 November.

NebuSec's trap has been live on its own website since 15 November. According to the firm, on 30 November it caught two real attack agents – ARTEX and an unidentified framework – and both ran the planted code (five verified sessions in total). NebuSec does not know whether they were attackers or testers and did not verify access to the host.

What it means for defenders

  • Traps work fast against AI agents. An agent tries everything, immediately – a fake "leaked" key, a canary file or a honeypot that alerts on execution or use will fire within minutes, while the agent is still mapping the application.
  • Don't hack back. The tests show it is possible, but attacking someone else's system is a crime even when they are attacking you. Hand captured indicators (IPs, domains, user agents) to your national CERT or law enforcement and use them for blocking.
  • Behavioural detection still applies: many different requests in a short time, rapid switching between techniques, probing of non-existent paths. Indicators and rules from Microsoft, the FBI and Talos are summarised in our article on ARTEX attacks; our IOC extractor pulls indicators out of logs.
  • If you run AI agents for testing yourself: never process target data as root or alongside your keys. Run each task in a disposable sandbox with restricted egress, enforce scope outside the model and keep an instant kill switch for all parallel agents.

Timeline

  • 8 Oct 2026 – the author pulls ARTEX's public code from GitHub (per The Hacker News); copies keep circulating
  • 15 Nov 2026 – NebuSec puts its ArtexPot trap live on its own website
  • 28 Nov 2026 – NebuSec and Baldur Security publish their tests; NebuSec reports the git-dumper bypass
  • 30 Nov 2026 – NebuSec's trap catches two real attack agents, one of them ARTEX; Endor Labs reports command execution via instructions on a scanned website to the ARTEX maintainer
  • 1 Dec 2026 – ARTEX 0.7.1 and advisory GHSA-9fqx-7xv3-gj58 (critical); every task now runs in its own sandbox

Update

  • 2 Dec 2026: On 1 Dec the ARTEX maintainer released version 0.7.1 and security advisory GHSA-9fqx-7xv3-gj58 (critical, CVSS 9.6; no CVE assigned). The flaw was reported on 30 Nov by Peyton Kennedy of Endor Labs and affects 0.7.0 and earlier. According to the advisory, all it takes is for an operator to start a task against the attacker's website: instructions hidden in the page (in HTML comments, per Endor Labs) reach the model, which then runs shell commands. The "untrusted output" markers did not stop it, and the command approval gate let through calls that matched no rule. On the default Docker deployment the commands run in the panel container (uid 10001); from there, the advisory says, an attacker can read other tasks' transcripts, including declared credentials, and write to a shared exec-home directory that affects later tasks. Impact is higher on non-Docker installs (JWT signing key). Endor Labs reproduced everything in a lab, with gpt-4.1 only, and reports no exploitation in the wild. Unlike in NebuSec's tests (ARTEX 0.3.15, where direct instructions failed), prompt injection did work here. Version 0.7.1 runs every task in its own disposable container with restricted egress. The maintainer published several other advisories the same day (including SSRF and writes through symlinks).
    • If you run ARTEX legitimately: upgrade to 0.7.1. Upgrading does not remove what earlier tasks left behind – Endor Labs advises wiping <data>/exec-home (or the whole data volume), looking for unexpected .pth files, dotfiles and .curlrc entries, rotating every credential entered on an instance that scanned an untrusted target (including other clients'), and running one instance per client.
    • Defenders: nothing changes for protecting your own sites – the advice above stands.

FAQ

Can I now hack back attackers using ARTEX?

No. Breaking into someone else's computer is a crime in most jurisdictions even when the target is an attacker. The useful lesson is that a trap that alerts when planted code runs or a fake key is used will catch an agent early. Leave action against attacker infrastructure to law enforcement and CERTs.

Is this a vulnerability with a CVE?

No CVE has been assigned. The NebuSec and Baldur tests mainly expose a design problem (the agent handles target data where the operator's secrets live). But on 1 Dec 2026 the ARTEX maintainer released version 0.7.1 together with advisory GHSA-9fqx-7xv3-gj58 (critical, CVSS 9.6), covering command execution via instructions hidden on a scanned website, reported by Endor Labs.

Does this apply to other agentic tools?

The tests only covered ARTEX. But NebuSec's live trap also caught a second, unidentified attack framework on 30 Nov. Anyone running AI pentest agents should run them in isolated, disposable environments with no secrets.

Sources

  1. ARTEX (GitHub) – GHSA-9fqx-7xv3-gj58: Remote Code Execution via embedded prompt in target site (1 Dec 2026)
  2. Endor Labs – ARTEX: prompt injection to RCE in an AI pentest agent (1 Dec 2026)
  3. NebuSec – ArtexPot, research on trapping ARTEX (28 Nov 2026)
  4. Baldur Security – blog post on code execution in ARTEX from the target side (28 Nov 2026)
  5. The Hacker News – ARTEX AI Hacking Tool Used by Cybercriminals Can Be Hacked by Its Own Targets (1 Dec 2026)

Spotted a mistake? Let us know and we will correct it openly.