Research

ARTEX, the AI Attack Tool, Ran Code Its Targets Handed It in 33 of 36 Lab Runs. What Defenders Can Learn: Decoys Catch It, Its Old User Agent Is Gone, and It Ignored Plain Prompt Injection

ARTEX, the AI Attack Tool, Ran Code Its Targets Handed It in 33 of 36 Lab Runs. What Defenders Can Learn: Decoys Catch It, Its Old User Agent Is Gone, and It Ignored Plain Prompt Injection

What to do with this, if you defend a network. Three research teams found that ARTEX, the AI attack framework the FBI warned about on November 13, will run code it finds on the systems it attacks. For a defender, the useful part is not hitting back. It is what this says about how the agent behaves and how to notice it early:

  1. Plant decoys that alert when touched. In lab tests the agent cloned repositories, loaded backups, read cached files and installed helper packages it found on its targets. Fake credentials, decoy repositories and canary tokens that alert you when they are used are a cheap early warning. Use tripwires that tell you someone touched them. Do not run code on the attacker's machine: whether you are allowed to reach into an attacker's environment is unsettled law, and the researchers say so too.
  2. Do not rely on a user agent string to spot it. The "norma/0.4" user agent that WorkOS published in November marks only older ARTEX builds. Version 0.3.30, from November 14, sends ordinary browser user agents and is told to copy the target's headers. Block by network range and watch behavior instead.
  3. Do not count on prompt injection in your pages to stop it. In NebuSec's tests the agent downloaded 7 of 8 direct prompt-injection lures and ran none of them, and all 17 command-injection probes failed. What worked was content that looked like ordinary work: a repository to clone, a backup to restore, a package to install.
  4. If your own red team runs an autonomous agent, ARTEX or anything like it, treat it as privileged infrastructure. The same flaws apply to you: keep the part that touches targets away from your keys and console, and enforce scope outside the model.

What was found

Three teams, working separately, all published in the last week of November. All three trace back to the code, and none to an outlet. The Hacker News summarized them on December 1.

NebuSec (San Francisco), ArtexPot, published November 28. NebuSec built seven decoy web services, which it calls ArtexPot, and pointed unmodified ARTEX version 0.3.15 at them. In six scenarios, 33 of 36 runs ended with the agent running code the decoy chose: 18 of 18 with a DeepSeek model and 15 of 18 with a GPT model. The fastest took 27 seconds. A seventh decoy, a backdoored software kit, worked in 8 of 8 runs. NebuSec groups its decoys into three classes: a trusted tool that mishandles hostile input, reading data or importing a module that runs code without anyone deciding to, and the agent knowingly running target-supplied code to reach something it wants. The six scenarios were NebuSec's choice, so 33 of 36 describes those scenarios, not how often a real attacker's agent would fall for one. NebuSec also reported one flaw in the git-dumper tool to its maintainer on November 28.

NebuSec says its public decoy, live since November 15, caught two agents on November 30: ARTEX and one framework it could not identify. Its listener recorded five remote shell sessions, two from ARTEX and three from the other agent, all with the agents' ordinary, non-root privileges. NebuSec does not say what triggered them, and The Hacker News points out that one caption on NebuSec's page says the timelines start "during internal testing", which contradicts the claim of public traffic. We treat the live capture as unconfirmed. Five sessions are not five attackers.

Baldur Security (Denmark), "ARTEX, go hack yourself", published November 28. Kevin Joensen pointed ARTEX, running GLM-5.3 through OpenRouter, at Baldur's own domain. He planted a lookalike subdomain and a fake leaked key. ARTEX wandered out of scope onto the lookalike host. It first refused to run a remote script, then ran it after the server returned errors that looked like routine troubleshooting, and Baldur got a shell inside the ARTEX container. From there, Joensen writes, the panel, the keys and the data all sat together: "ARTEX offers no sandboxing and everything is mashed together." That is one documented run, with one model. He also found that the "pause task" control did not always stop traffic.

Café Security Research, code review, version 1.6 dated November 27. Café read the source of ARTEX versions 0.3.15 and 0.3.30 and the agent engine underneath. It ran nothing. It reports that ARTEX switches off the engine's approval step for every agent, checks scope only against its own records and not against the commands agents actually run, ships with the rule against sending data out switched off, and by default lets agent commands read the operator's AI model keys and database password. Café did not test whether a target could exploit any of this. Two findings matter for detection: newer builds send ordinary browser user agents (the "norma/0.4" string now identifies only older builds), and by default an unauthenticated health check on port 8787 names the service and its version.

What is confirmed and what is not

  • Confirmed in labs: the agent ran target-chosen code in controlled tests by two teams, and a third team found the design gaps that explain it in the source.
  • Not shown: an escape from the ARTEX container to the machine underneath, and any result against a real attacker's setup. NebuSec's live capture is unresolved, as above.
  • Not known: whether ThreatBook's restricted commercial edition, Artex Pro, has the same gaps. ThreatBook says it owns ARTEX. No fix has been published. The original author pulled the public code on October 8, but one count found 132 forks by November 19, so old copies are still out there.

Am I affected?

If you are a target. Search your web and proxy logs since August for the user agent "norma/0.4". A hit means an older ARTEX build. No hit tells you nothing, because current builds look like browsers. Ranges tell you more: our ARTEX neighborhoods post lists the network blocks the FBI's ARTEX servers sit in.

If you run ARTEX or any autonomous pentest agent, for an authorized engagement or in research:

  • Check whether the container that runs the agent's commands can read your model API keys, database password or panel signing key. If it can, assume a hostile target can too.
  • Check that nothing listens on port 8787 where the internet can reach it.
  • Limit what the agent can reach going out: only the hosts in scope, and nothing on odd ports.
  • Run each task in a throwaway environment, and test that "pause" and "stop" really stop traffic before you trust them.

How we know, and what our edge saw

We read the three primary reports (NebuSec, Baldur Security, Café Security Research) and The Hacker News summary. None of them publishes an attacker indicator. The only addresses in Baldur's write-up are its own lab servers, so we added nothing to our feed. Neither of those two lab addresses is in our corpus.

Our edge has no sighting of the "norma/0.4" user agent, or of any user agent containing "artex", since August 1, across 772,570 blocked requests, 197,851 decoy hits and 6,187 requests that reached the origin. Given what Café found about newer builds, that zero says little about whether ARTEX has visited us, only that an older build did not announce itself.

We hold earlier ARTEX infrastructure from the FBI's November 13 alert and from CSIRT Italia's list, and most of it sits in ranges that free blocklists already covered months ago. That is the read next.

Sources

Credit for this research goes to NebuSec, Baldur Security and Café Security Research. We are reporting it.

Read next: The FBI Warned About ARTEX's Servers on November 13. A Free Range List Had Two of Them Blocked Since February


How do AI models see YOUR brand?

AIPM has audited 250+ domains. 15 seconds. Free while still in beta.

Audit your site now → aipmsec.com