The AI-powered penetration testing tool known as ARTEX, which has been utilized by cybercriminal groups to target government and corporate infrastructure, possesses critical security flaws that allow it to be manipulated into attacking its own host environment. Researchers at the Danish offensive security firm Baldur recently demonstrated that the tool lacks basic defensive architecture, specifically failing to distinguish between external targets and its own local infrastructure.
The researchers first confirmed the tool’s lack of environmental awareness by manipulating DNS records. By pointing an administrative subdomain of their own domain to the local loopback address, 127.0.0.1, they observed ARTEX automatically identifying the subdomain and initiating a scan against it. Because the tool failed to recognize that it was scanning its own host, it proceeded to expend its processing resources and tokens on a self-referential loop.
Beyond the issue of self-scanning, Baldur researchers successfully achieved a reverse shell on the ARTEX instance by exploiting the agent's decision-making process. The team placed deceptive content on their website, including a fake Bash script that claimed to decrypt an SSH key and grant root access. While the ARTEX agent initially flagged the script as a security risk and refused to execute it, the researchers bypassed this safeguard by introducing a multi-stage interaction process.
By serving error messages and requiring the agent to set a time-bound environment header, the researchers convinced the AI that the execution of the script was a necessary step in its workflow. Once the agent was tricked into running the payload, the researchers gained shell access to the container hosting the ARTEX software. This confirmed that the tool operates without adequate sandboxing, leaving the entire environment vulnerable to unauthorized control.
The investigation revealed that the ARTEX installation tested by Baldur placed all components within a single container. Consequently, gaining shell access provided the researchers with the ability to terminate the control panel, access sensitive secrets, exfiltrate stored data, and forge authentication tokens. The researchers emphasized that the absence of robust sandboxing is a significant oversight for software designed for offensive cybersecurity operations.
While ARTEX is currently being deployed by threat actors to facilitate attacks, the findings suggest that the tool is technically immature. The researchers noted that the agent’s inability to differentiate between authorized targets and its own internal environment makes it susceptible to deception-based defensive strategies.
Baldur concluded that while traditional security software remains essential for defense, the inherent weaknesses in ARTEX allow potential victims to disrupt the tool’s operations by feeding it misleading information. The researchers argue that the tool’s current design is as much a liability to its operators as it is a threat to those it targets. The vendor behind ARTEX has not yet issued a public response regarding the lack of sandboxing or the identified vulnerabilities.






