ARTEX AI Tool Can Execute Target Code Inside Its Container
ARTEX, an autonomous AI penetration-testing tool, can execute code planted on systems it is instructed to scan, according to separate security tests. The findings matter because the tool has been used by cybercriminals against banks and other organizations worldwide, and its runtime stores operator passwords and keys.
The FBI warned on November 13 that criminal actors had used ARTEX against finance, government, healthcare and other sectors since at least August. In one campaign identified by the bureau, intruders copied personal data belonging to about 67,000 people from South Korean financial firms. Microsoft has also identified several hacking groups it tracks as ARTEX users.
Two security teams separately demonstrated the problem in controlled laboratory tests, using different AI models and different techniques. Both got ARTEX to run code they had placed on the systems it was told to inspect. In the tested setup, the planted code ran with root privileges, meaning the highest level of control inside the system, within the same container as the operator's passwords and keys. A container is an isolated software environment used to run an application, but neither team demonstrated an escape from that container to the underlying host computer.
A third team, Café Security Research, reached a similar architectural conclusion by reviewing the code without running an attack. Its review found that ARTEX skips the engine's approval step for every agent, applies scope restrictions only to its own records rather than to commands the agents execute, and by default allows agent commands to read the operator's model keys and database password. The review did not test whether those missing controls could be exploited, but the live demonstrations support its warning that the agent's runtime is a separate security boundary from the model's reasoning, and a weaker one.
NebuSec, a San Francisco AI security company, built seven decoy web services called ArtexPot and directed unmodified ARTEX copies at them. Across the first six decoys, it reported code execution in 33 of 36 runs using two AI models, with the quickest success taking 27 seconds. A seventh decoy, added after those initial results and reported separately, succeeded in all eight runs. The scenarios involved ordinary tasks such as cloning a repository, loading a backup, reading a cached file or installing a helper package. Those actions caused the agent to execute code selected by the target.
The results do not show that ARTEX can simply be ordered to run any malicious instruction. Of eight direct prompt-injection attempts, where hidden instructions try to influence an AI system, the agent downloaded seven but ran none. Seventeen command-injection probes, which attempt to insert unwanted commands into an operation, also failed. The 33-of-36 result came from six scenarios chosen by NebuSec and two model configurations given different tasks, so it is not a measurement of how many ARTEX agents could be caught in real-world attacks.
Baldur Security, a Danish offensive security consultancy, used another approach. It supplied ARTEX with a lookalike subdomain under its control and planted a fake leaked key that directed the agent to a script. ARTEX initially refused to send a remote script directly into a shell because it judged that action unsafe. After Baldur's server returned misleading errors that resembled ordinary troubleshooting, the agent ran the script and produced a reverse shell, a connection that gives the tester command access back into the running environment. The documented demonstration used the GLM-5.3 model in one run, and the shell was not confirmed to have root privileges. Baldur reported that ARTEX has no sandboxing, meaning it does not sufficiently separate the worker from sensitive parts of its environment.
NebuSec also described activity closer to the public internet. It placed an ArtexPot honeypot, a decoy system designed to attract and record activity, on its website on November 15. On the following day, two penetration-testing agents, one ARTEX and one unidentified, probed it. The listener recorded five reverse-shell sessions, three from the unidentified framework and two from ARTEX. All used the agents' existing non-root privileges. NebuSec said host-level access was not verified and that it could not identify the exact action that triggered the shells.
Those captures do not establish five operators, five machines or five campaigns. They involved two frameworks, and the people who ran them, along with whether their activity was malicious or authorized, are unknown. NebuSec's page also contains an unresolved discrepancy: its main text describes public traffic, while a timeline caption says each lane begins with that agent's first request during internal testing. Until that is clarified, the sessions are reverse shells into an environment of unknown ownership, not confirmed evidence of criminals being caught in the act. Amazon reported a related but less severe result on November 13, when its decoy sensors captured agents' campaign records without causing code to run on an operator's system.
The technique is not new. A 2024 research paper proposed decoys and prompt injections that could disrupt an attacking model or compromise the machine running it, reporting more than 95% effectiveness. A 2025 USENIX paper demonstrated that an agent could be made to run untrusted code without prompt injection. The new significance of the ARTEX tests is that they show the same class of weakness in a tool being actively used by criminal actors, through two live demonstrations published at the same time.
There is no confirmed fix for readers to apply. ARTEX's original author removed the public code on October 8. ThreatBook, which now claims to own ARTEX, said in a press statement last week that it sells a restricted commercial edition called Artex Pro to vetted enterprises. The statement did not mention a security fix or say whether the paid edition has the same weaknesses. Forks of the original code remain available, with one tracker counting 132 on November 19.
Organizations operating an authorized agentic testing tool should treat it as privileged infrastructure, not as a disposable script. The documented weaknesses point to separating the worker that interacts with targets from the console and stored secrets, using the least privilege needed, running it in a throwaway environment, and enforcing the permitted scope outside the AI model rather than relying on the agent to remain within bounds. AEU-I provides security-first IT, infrastructure and consulting for organizations reviewing this kind of risk.
The wider issue also cuts both ways. A Previdian honeypot investigation late last week recovered 40 files containing an operation's own tools from an attacker's exposed staging server.