The AI tool criminals used this year to break into banks can itself be broken into by the servers it attacks. In late November 2026 three separate research teams showed that ARTEX, the autonomous pentest framework named in FBI and CISA alerts, will run code planted by its own target, in one study in 33 out of 36 attempts.
In short: yes, ARTEX RCE is real in lab conditions. NebuSec, Baldur Security and Café Security Research found that ARTEX runs its planner, workers, database and secrets in one unsandboxed container, so a target that tricks one worker into an ordinary-looking action, such as cloning a repository or loading a backup, can reach the operator’s machine and keys. There is no patch.
- What is ARTEX and why does this matter now?
- What did the researchers find?
- How did NebuSec’s ArtexPot get code execution?
- How did Baldur Security get a shell on ARTEX?
- What did the ARTEX code review show?
- Who is affected?
- How does this compare with earlier agent hijacking research?
- Has anyone caught ARTEX in the wild this way?
- How can defenders detect ARTEX activity?
- What should teams running AI pentest agents do?
- Should defenders hack back?
- What is still unknown?
- The bottom line
- Sources
What is ARTEX and why does this matter now?
ARTEX is an open-source, multi-agent AI penetration testing framework that appeared on GitHub in July 2026. A language model plans the attack, and worker agents run shell commands, a browser and standard security tools against the target. Our explainer on why ARTEX became popular with attackers covers its rise.
The tool did not stay in authorised hands. According to The Hacker News, the FBI warned on 13 November that criminals had used ARTEX against organisations worldwide since at least August, including one set of attacks that copied personal data on about 67,000 people from South Korean financial firms. Microsoft says several groups it tracks use the tool, and on 30 November CISA listed ARTEX first among the agentic offensive frameworks it has seen in US incidents.
So far, defenders have asked how to detect and block ARTEX. The new research asks a different question: what happens when the target fights back?
What is an AI pentest agent?
An AI pentest agent is a program in which a large language model decides which security tests to run, executes them through tools, reads the output and picks the next step without a human approving each one. ARTEX’s default layout is a planner plus three workers: a shell, a browser and a set of standard tools.
What did the researchers find?
Three pieces of work landed within a week, each from a different angle.
| Team | Published | Method | Headline result |
|---|---|---|---|
| Café Security Research | 22 Nov (v1.6 on 27 Nov) | Static code review, nothing run | Approval step skipped; secrets readable by agent commands |
| NebuSec | 28 Nov | 7 decoy services, 36 scored runs plus 8 on a seventh | Code execution in 33 of 36 runs |
| Baldur Security | 28 Nov | Live test against its own domain | Reverse shell on the ARTEX panel in one run |
The Hacker News pulled the three together on 1 December. Its shared conclusion is that the agent’s runtime is a separate security boundary from the model’s judgement, and a much weaker one.
How did NebuSec’s ArtexPot get code execution?
ArtexPot is a set of seven decoy web services that NebuSec built to see whether a target can make an AI agent execute code. NebuSec tested stock ARTEX 0.3.15 in its default configuration, with a fresh container for every run.
Two models drove the agent: DeepSeek’s deepseek-flash-cyber, given only a target URL, and GPT-5.6, given the URL plus a goal line because it refused to start with a bare URL. Each of the first six decoys got three runs per model. A run counted as a success only when four separate proof tasks completed, including running a 1.5 MB program.
The three classes of trap
NebuSec grouped its decoys by how the code gets to run:
- Trusted tool failure. An exposed
.git/directory that a standard recovery tool rebuilds; the trigger is a weakness in the tool’s sanitising, which NebuSec reported to the tool’s maintainer on 28 November. - Implicit code execution. Browsable backups, form state and bytecode caches that hold serialised Python objects or compiled code. Loading or importing them is enough. In one decoy the trigger sat only in the cached bytecode, not in the readable source file.
- Deliberate code execution. An advisory proof of concept, a private SDK or a credential helper that the agent itself decides to install or run while investigating.
None of these needs the model to be fooled by a hidden instruction. The agent does something an inexperienced human tester might also do, but it does it in seconds and as root.
The results
DeepSeek reached execution in all 18 of its runs. GPT-5.6 succeeded in 15 of 18, failing twice on the pickled backups and once on the stateful form. The seventh decoy, a backdoored SDK, worked in all eight runs across two rounds, including a round with no implant at all.
Speed was the striking part. The fastest run took 27 seconds, against the exposed Git repository with DeepSeek. The slowest took 17 minutes. NebuSec says most runs handed it root in under three minutes.
Where the agent held firm
The obvious attacks failed. NebuSec planted eight direct prompt injections, including hidden HTML comments, fake system headers, a robots.txt line aimed at AI agents and a spoofed tool result. Workers downloaded seven of the referenced scripts to read them and executed none. After the first one, the planner told workers to inspect content statically.
A further 17 command injection probes also failed: the agents quoted or encoded the input and flagged it as bait. NebuSec’s summary line is that better models will not save bad architecture, and that GPT-5.6 guards file formats rather than actions.
How did Baldur Security get a shell on ARTEX?
Baldur Security, a Danish offensive security consultancy, pointed ARTEX at its own domain using the GLM-5.3 model through OpenRouter. Principal consultant Kevin Joensen published the write-up on 28 November. The result comes from one documented run.
Refusal is not a control
First, lookalike DNS records drew ARTEX onto an admin subdomain the consultancy describes as out of scope. Then a fake debug key, placed in a comment on the site’s index page, pointed to a decryption script. ARTEX created a task, fetched the script and, at first, correctly decided that piping a remote script into a shell was a bad idea.
Baldur then had its server return invented error messages about a missing header or timing requirement. A counter served harmless errors to the first eight requests. Eventually the model chose to just try the flow, ran the script and gave Baldur a reverse shell.
What the shell could reach
The shell landed in the same container as the ARTEX panel. Baldur’s directory listing shows the panel binary, its skills and a JWT signing key, which Joensen says would allow forging login tokens. He also says the panel could be killed and its data exfiltrated. The write-up does not state outright that the shell ran as root.
Joensen’s verdict is blunt: “ARTEX offers no sandboxing and everything is mashed together.” He also reports that the panel’s pause button sometimes did not stop traffic.
What did the ARTEX code review show?
Café Security Research published a static review of ARTEX’s source, pinned to versions 0.3.15 and 0.3.30, on 22 November and updated it to version 1.6 on 27 November. It ran nothing; it read the code and registered each finding as a numbered claim. The study’s text and data are released under CC BY 4.0.
Its findings explain why the lab attacks worked:
- ARTEX bypasses its underlying engine’s approval step for every agent, leaving a small fixed floor plus ARTEX’s own rules, which an operator can delete.
- Scope limits are checked only against ARTEX’s own records, never against the commands agents actually run.
- By default, every agent command can read the operator’s AI model keys and database password, and nothing tells agents to distrust target responses.
- The rule against piping data out ships switched off.
- An unauthenticated health check names the service and version, on port 8787 by default.
Café Security was careful to say that whether a target could exploit the secrets exposure was untested in its work. NebuSec and Baldur then tested it.
Who is affected?
Three groups have a stake in this research.
Criminal operators of ARTEX and its forks. The original author pulled the public code on 8 October, but forks remain; The Hacker News cites a tracker that counted 132 on 19 November. ThreatBook, which says it now owns ARTEX, told reporters it sells a restricted commercial edition to vetted enterprises, but did not mention a fix or say whether that edition shares the flaws.
Legitimate red teams. Anyone running ARTEX, or a framework built the same way, during an authorised engagement is exposing their own console, model keys and client data to every target they scan. A hostile or compromised client asset becomes a path into the tester.
Defenders. The research gives defenders a new detection and deception option, with legal limits discussed below.
Operators get careless too
The weakness is not only in the tool. Previdian reported on 27 November that an ARTEX-linked operator exploiting the MONAI Label path traversal flaw left a staging server exposed. Previdian recovered 40 files, about 31 MB, including exploit scripts, listeners, SSH private keys and scripts aimed at seven FreeSWITCH servers. It rates its ARTEX attribution as moderate and notes that the ARTEX strings are attacker-controlled.
How does this compare with earlier agent hijacking research?
Turning a target against an AI agent is not new. What is new is doing it to a named criminal tool, at high success rates, without relying on prompt injection.
| Work | Year | Target | Main method | Reported result |
|---|---|---|---|---|
| arXiv 2410.20911 | 2024 | LLM attack agents in general | Decoys and prompt injection | Over 95% effectiveness, per The Hacker News |
| USENIX Security paper | 2025 | AI agents | Untrusted code without prompt injection | Agent ran attacker code, per The Hacker News |
| NebuSec ArtexPot | 2026 | Stock ARTEX 0.3.15 | Code hidden in routine tasks | 33 of 36 runs; prompt injection 0 of 8 |
| Baldur Security | 2026 | ARTEX panel, GLM-5.3 | Scope drift plus fake errors | 1 shell in 1 documented run |
The 2026 results flip the 2024 picture. Prompt injection, the headline technique two years ago, failed completely against ARTEX’s planner. Ordinary tasks did not. For the broader defensive deception angle, see our guide to AI agent honeypots. For how sandboxing should work, the Siren sandbox escape test is a useful contrast; Baldur also points to Strix as a more mature example.
Has anyone caught ARTEX in the wild this way?
Partly. NebuSec put a public ArtexPot honeypot on its own site on 15 November. The Hacker News reports that on 30 November two pentest agents probed it, one ARTEX and one unidentified, and the listener recorded five reverse-shell sessions: three from the unidentified framework and two from ARTEX.
All five ran with the agents’ existing non-root privileges, and host-level access was not verified. The Hacker News also flags that NebuSec’s page contradicts itself: one timeline caption refers to internal testing rather than public traffic.
Separately, The Hacker News says PortSwigger’s James Kettle described a bug bounty website that tried to prompt-inject his automated testing harness. Targets are starting to talk back.
How can defenders detect ARTEX activity?
Detection still matters more than counter-attack. Useful signals from the sources:
- Fingerprints, with caution. Previdian published a user agent,
ARTEX-CVE2026-133968, plus execution and callback marker strings and a file namedartex_shell.py. Café Security warns that version 0.3.30 sends ordinary browser user agents, so its oldnorma/0.4marker identifies only older builds. Treat all of these as attacker-controlled. - Exposed panels. Café Security’s unauthenticated health check on port 8787 identifies the service and version, which helps when hunting for operator infrastructure.
- Behaviour. Previdian’s honeypot logged 454 requests from one IP in under four hours, with about 36% of them aimed at the application’s logs, which the operator appeared to use as feedback.
- ATT&CK mapping. Previdian lists T1190 (Exploit Public-Facing Application), T1059.006 (Python), T1003.008 (/etc/passwd and /etc/shadow), T1082, T1083 and attempted T1070.004 (File Deletion). Café Security publishes a full ATT&CK layer plus Sigma and YARA rules.
Our ARTEX detection guide covers Microsoft’s hunting advice in more depth.
What should teams running AI pentest agents do?
If you run ARTEX, a fork or any autonomous pentest agent on engagements, these steps follow directly from the research, in priority order:
- Stop running ARTEX as shipped. There is no fix, and every target you scan can attempt to run code inside the same container as your console and keys.
- Separate the worker from everything else. The component that touches targets should live in a disposable sandbox with no access to the console, the database or model keys.
- Strip secrets from worker environments. Model API keys, database passwords and signing keys should never be readable by an agent command.
- Enforce scope outside the model. Use network egress rules or an execution-layer allowlist; Café Security found ARTEX checks scope only against its own records.
- Treat target content as hostile. Repositories, backups, SDKs and advisories fetched from a target should never be loaded, imported or installed outside an isolated analysis box.
- Run without root and restrict outbound traffic so a hijacked worker cannot open reverse shells.
- Test the stop button. Baldur found ARTEX’s pause sometimes did not stop traffic. A kill switch you cannot trust is not one.
- Give parallel workers a shared circuit breaker. NebuSec noted that a warning raised by one worker did not reach the others.
Should defenders hack back?
Not on their own initiative. The research proves a target can run code on an attacker’s agent, but The Hacker News points out that NebuSec’s report states no legal or authorisation basis for its captures, and that reaching into attacker environments raises questions the research does not settle.
Practical defensive uses stay on your side of the line: deception assets that waste an agent’s time, decoys that reveal which framework is scanning you, and telemetry you can share with CERTs and law enforcement. Anything that executes code on the attacker’s machine needs counsel first.
What is still unknown?
- Real-world rates. All high success rates are from lab decoys chosen by the researchers, with three runs per model per decoy and one ARTEX version.
- The commercial edition. Nobody has published whether ThreatBook’s paid ARTEX edition shares the same architecture.
- Root or not. NebuSec reports root in lab runs; its public captures were non-root, and Baldur does not confirm root.
- Forks. None of the studies tested the 100-plus forks, some of which add features such as memory and sub-agent delegation.
- The second framework. The agent that produced three of the five public shells is unidentified.
The bottom line
ARTEX is fast because it trusts what it touches, and that same trust lets a target take it over. In NebuSec’s tests, hiding code in a routine task beat the agent 33 times out of 36 while prompt injection scored zero. Anyone running an autonomous pentest agent should assume the target can reach back and build the sandbox before the next engagement, not after.
Sources
- NebuSec, ArtexPot: research on code execution against ARTEX, 28 November 2026
- Baldur Security, ARTEX, go hack yourself: How we got RCE in ARTEX, 28 November 2026
- Café Security Research, ARTEX: what the code says, v1.6, 27 November 2026
- Previdian, Uncovering an ARTEX-Linked Offensive Operation in the Wild, 27 November 2026
- The Hacker News, ARTEX AI Hacking Tool Used by Cybercriminals Can Be Hacked by Its Own Targets, 1 December 2026
- GitHub search data for ARTEX forks such as Aqr325/BaiZe, retrieved 1 December 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.