Researchers from the Danish offensive security group Baldur detailed the ease with which they could cause ARTEX to attack its own infrastructure in a report published over the weekend.
Initial testing involved tricking ARTEX using fabricated DNS entries that routed an administrative subdomain belonging to Baldur's domain to the local address, 127.0.0.1, as an initial probe of the tool's robustness. As Kevin Joensen, a principal security consultant at Baldur, noted in the report, the tool began enumerating domains after a short period, eventually finding "admin.baldur.dk" and commencing the creation of scanning tools for it. The subsequent scans conducted were, in fact, directed at the tool itself, which the agent proceeded with willingly during testing. Joensen remarked on the humorous nature of this, adding that it represented a substantial expenditure of an attacker's tokens on unproductive activity.
However, Baldur aimed to ascertain if they could achieve a reverse shell on the ARTEX instance that was operating on their own website. Achieving this required a relatively straightforward maneuver, even though the researchers first encountered resistance from the AI agent's inherent refusal to execute the script. Given that ARTEX operates with numerous tools accessible to the AI agent—a characteristic shared by many offensive cybersecurity software suites—the agent was actively reviewing all content present on the designated website. Consequently, Baldur inserted deceptive comments onto the index page of their site, which pointed toward a Bash script hosted there; this script falsely claimed it would automatically decrypt an SSH key, thereby granting the administrator full root access to Baldur’s web server.
ARTEX responded to this lure by retrieving the script, but it initially halted execution due to perceiving the inherent danger. Circumventing this protective measure and persuading ARTEX to run the code anyway proved equally simple. Joensen elaborated on the method: "Instead of serving the payload immediately, we provide an error message describing that you have to set an environment header first, and that header is timing bound and has to be piped to sh." He further explained that they incorporated a counter mechanism where random error messages were presented during the initial few requests. The strategic objective was that the AI, mirroring the decision-making process of a human operator facing such a workflow, would ultimately deem the risk worthwhile, which it did, resulting in the successful granting of a reverse shell.
Compounding the issue, Joensen pointed out that "everything is in the same container" within the specific ARTEX installation that was tested. This configuration potentially enables any entity gaining shell access to "just kill the panel, read secrets, exfiltrate data … forge login tokens," and similar actions. Furthermore, Joensen criticized the tool's architecture, stating, "Sandboxing is a basic 101 when you are doing offensive operations, which seems to be missing from ARTEX."
In summary, ARTEX presents a dual nature: it is both a hazard and flawed in its design. While it is currently being utilized by criminal organizations to target entities such as governments and corporations, Baldur contends that the tool suffers from severe immaturity as a pentesting utility and lacks sufficient sandboxing, evidenced by its inability to distinguish when a DNS record directs it toward scanning its own operational environment rather than an authorized external target. For entities seeking defense against the misuse of AI instruments like ARTEX, maintaining conventional security software remains advisable, yet Baldur's research also suggests that employing deception techniques could present significant operational difficulties for the tool's operators.
This vulnerability highlights a broader concern within the security landscape: autonomous offensive platforms, such as ARTEX, can be manipulated by the very targets they are designed to investigate. Controlled laboratory evaluations conducted late last week by two distinct security teams successfully caused the tool to execute custom code planted on the systems it was tasked with examining, with that code running with root privileges within the tested environment.
This incident underscores the inherent risks associated with deploying powerful, autonomous coding agents in security contexts. The capability of these sophisticated tools to be tricked into self-targeting or executing malicious payloads demonstrates that current platform security architectures must account for adversarial manipulation originating from within the tool's own operational logic.
Why it matters
This vulnerability highlights critical flaws in autonomous offensive security tools, showing that sophisticated AI can be manipulated by simple deception techniques. For operators, this means relying on such tools introduces significant unmanaged risk that conventional security measures must address.






