ARTEX Targets Can Turn the AI Testing Tool Back on Its Operator

ARTEX, an autonomous AI penetration-testing tool that the FBI says criminals have used against organisations worldwide since at least August, can be compromised by systems it is instructed to scan. Separate research teams demonstrated code execution inside the agent’s container, raising concern that a target could reach credentials and other sensitive material held by the operator’s testing environment.
NebuSec tested unmodified ARTEX instances against seven decoy web services known as ArtexPot. In its first six decoys, the company reported code execution in 33 of 36 runs across two AI models; the fastest successful run took 27 seconds. A seventh scenario, added later, succeeded in all eight documented runs.
Ordinary workflows became the attack path
The decoys did not rely on simply telling the model to ignore its safeguards. NebuSec described scenarios in which the agent cloned a repository, loaded a backup, read a cached file or installed a helper package, then executed code chosen by the target. Of eight direct prompt-injection prompts included in the tests, ARTEX downloaded seven but ran none. All 17 command-injection probes also failed.
Those limitations matter. The 33-of-36 result covers selected scenarios and two model configurations, not a measurement of how often ARTEX instances would be compromised outside the lab. It nevertheless shows that an agent may reject an overtly unsafe instruction while still executing hostile content encountered during a routine technical task.
Baldur Security reached a similar result through a different setup. The Danish consultancy used a lookalike subdomain and a fake leaked key that pointed ARTEX towards a script. The agent initially declined to pipe a remote script into a shell, but later executed it after misleading errors made the sequence appear to be ordinary troubleshooting. The consultancy obtained a reverse shell in the ARTEX container during one documented run using GLM-5.3, although it did not confirm root access.
Privilege separation is the central issue
A code review by Café Security Research identified architectural weaknesses without running an exploit. The review found that ARTEX bypasses its engine’s approval step for every agent, applies scope restrictions only to its own records rather than to commands agents execute, and by default allows those commands to read the operator’s model keys and database password.
Combined with the live demonstrations, those findings distinguish model behaviour from runtime security. The model can recognise an obvious hazard, but the worker process remains a separate boundary that may process attacker-controlled repositories, files, packages and network responses. Neither research team demonstrated a break-out from the ARTEX container onto the underlying host.
Evidence from public decoys remains limited
NebuSec also reported five reverse-shell sessions observed on a public ArtexPot honeypot: two attributed to ARTEX and three to an unidentified pentest framework. All sessions used the agents’ existing non-root privileges. The company could not establish which action triggered the shells, who operated the agents, or whether activity was malicious or authorised. Its report also contains an unresolved difference between text describing public traffic and a timeline caption referring to internal testing.
There is currently no stated fix. ARTEX’s original author removed the public code on October 8, while ThreatBook, which says it owns ARTEX, said it sells a restricted commercial Artex Pro edition to vetted enterprises without stating whether it addresses these weaknesses. Forks of the original remain available, with one tracker counting 132 on November 19.
Teams running authorised agentic testing tools should therefore treat the worker as privileged infrastructure rather than a disposable script. Isolating target-facing workers from consoles and secrets, applying least privilege, using throwaway environments and enforcing scope outside the model can reduce the exposure demonstrated in these tests.

