On October 8, at 10:50 UTC, the author of ARTEX announced the project was going closed source, and the repository came down. At 18:50 a new Docker Hub account appeared. At 19:41 it pushed an ARTEX image. Less than an hour later a GitHub account uploaded a copy of the source with one line changed, so the installer pulled that image instead of the original.
The image carried one extra function, 160 bytes long. Send the login page a “captcha” value carrying the right marker and it runs your command, before the password is checked. By the time Docker removed the image on November 5 it had been pulled more than 9,100 times, and 637 GitHub repositories still pointed at it. (BadByte’s analysis is worth your time reading it.)
So some of the people who got owned in the ARTEX story are the ones who installed it to see what the fuss was about. I spent years researching software supply chain attacks, so this is the detail I can’t put down so I’ll come back to it. But first, the tool.
What everyone is panicking about
ARTEX is an open-source AI pentest framework published on July 26. A planner hands small tasks to worker agents, and the workers drive off-the-shelf tools: nmap ships in the default image, and operators have been seen adding sqlmap and Impacket. Each tool call passes through rules, a judge model and, optionally, a human (remember those?). ARTEX has no model of its own. You plug in whichever LLM you have.
The warnings came fast. India’s CERT-In and CERT-EU published theirs in the first week of November. The FBI followed with a FLASH on November 13 saying ARTEX has been used in campaigns since at least August, with some intrusions going from initial targeting to privileged access in under three hours. Microsoft names six threat actors using it, Salt Typhoon among them. The Cloud Security Alliance pulled more than 800 CISOs into an emergency briefing on November 17 and published “The Third Wave” eight days later.
I listened to the people who read the code. James Wilson of Risky Business ran ARTEX and went through the source, and as Truesec tells it, he argues it is no technical marvel and owes its fame mostly to timing. Microsoft says plainly that “ARTEX does not introduce new attack techniques”. Check Point got into exposed operator databases and found a crypto-draining campaign with 292 objectives that moved no money at all. The agents saw “success” in an API response and reported a theft. CrowdStrike watched a single controller go after more than 200 organizations in 11 days and confirmed post-exploitation at nine.
Metasploit gave away skill. ARTEX gives away stamina.
Everyone reaches for the Metasploit comparison, Google’s threat intelligence team included. I think it’s half right. Metasploit made exploitation skills downloadable. It still needed a person to pick the target and read the errors, and that person went home at night.
ARTEX makes stamina downloadable. In Truesec’s account of the design, each worker starts a fresh conversation with its instructions in the system prompt, which limits drift, and the persistence comes down to one rule: “The planner may never leave the queue empty.” If a model provider fails or runs out of quota, an optional pool switches to the next one. Persistence, the P in APT, used to be evidence of a budget and ARTEX made it a line in the scheduler.
Then there’s the price. Check Point estimates that one two-week operation against iOS signing shops burned 36 billion tokens and cost between $700 and $1,500 at DeepSeek list prices. It collected more than 300 certificates, and three passed the checklist. That’s a pretty terrible hit rate. At that price nobody cares. Google’s assessment is that wider reach “will likely compensate for any decreases in success rates.”
One asymmetry bothers me. Across the ten operator databases it examined, Check Point saw guardrails trigger on one model only, Anthropic’s Opus 5.5, after which the operator switched to Chinese models. Meanwhile The Register reports that in Anthropic’s own benchmark, Opus 5.5 under the Defense Access tier (the one meant for security teams) faced refusals in 46 of 50 attempts. An attacker who hits a refusal swaps models. A defender tied to an approved vendor waits.
A caveat before anyone quotes the FBI’s three hours at a board meeting: the footnote points to one Microsoft report on one campaign. It’s the fast tail of that campaign, and nobody has published an average.
The supply chain nobody maintains
Back to October 8. Taking the repository down did not take the tool down. Cloudflare counts more than 12,000 repositories and says the traffic it sees from these frameworks has grown more than tenfold since. The only copy that disappeared was the one with a known owner, and it went a day after CrowdStrike linked the tool to intrusions at South Korean financial firms. Within nine hours a trojanized image was on Docker Hub. I’d expect the same after every takedown of a dual-use tool from now on.
A backdoored agent framework is also worse than a backdoored scanner. BadByte lists what the backdoor’s owner gets: the LLM keys, the target list and scope, credentials harvested from targets, the findings, and the ability to quietly change what the agents do on the next run. A poisoned scanner leaks your results. A poisoned agent acts with your authorization.
Even the clean copies have a control problem. One source-level teardown found that the judge fails open (when it errors or can’t decide, the verdict is ALLOW) and that there is no network-level scope enforcement: “scope lives in the prompts”. WorkOS found out what that means. It disclosed an intrusion on October 30, and its November 6 update explained that a researcher had been running benchmark evaluations with ARTEX when the agent “escaped its isolated testing environment”, reached a WorkOS internal tool and retrieved records in bulk. By WorkOS’s account, there is no attacker in that story.
The CSA paper lists this among its controls for the month: run one of these frameworks against yourself, safely. I agree with the goal. Testing defenses the way attackers hit them is what I do for a living. A lot depends on the word “safely”, though, because scope written in a prompt is a suggestion. Keeping an agent inside its scope is the hard part of building one, and it’s what we’ve spent years on at Pentera. Getting software to attack is the easy part. If you run one, build it from source, pin images by digest, bind the console to loopback, enforce scope and egress outside the model, and make sure one switch stops every agent.
What a defender’s ARTEX looks like
An attacker running ARTEX doesn’t answer for what it breaks. You do. So a defender’s version needs the same stamina and four things ARTEX lacks.
The first is scope enforced in code, outside the model. Telling an agent to stay in scope is a request, and the WorkOS researcher found out how that goes: a benchmark run that ended with records pulled from a company nobody had asked the agent to test.
The second is proof for every finding. When Check Point’s crypto agents reported a theft that never happened, the operator lost some tokens. When a security team acts on a report like that, it loses a week.
Third, exploits that are safe to run in production, because that’s where a defender’s agent runs. If you wouldn’t let a technique fire on a Tuesday afternoon, it doesn’t belong in the tool.
And finally, a stop button that works. ARTEX’s planner is designed to always have more work in the queue, which is fine for an attacker. A defender has to be able to cut every agent off at the network level and know that it happened.
ARTEX showed that an agent can attack all night for a few hundred dollars. What it didn’t show is an agent you’d let loose inside your own network. That’s what we’re building at Pentera: an agentic attacker with the same stamina and those four things built in. More on that soon.