ARTEX AI pentest tool: RCE via prompt injection, no sandboxing
Baldur showed a prompt-injection reverse shell on the ARTEX AI pentest tool; run it sandboxed, away from secrets, as no fix is confirmed.
- Published
- Ecosystem
- AI developer tools
- Exploitation
- Not confirmed in the wild. Baldur demonstrated the attack in a controlled environment against its own site; The Register separately says cybercrime gangs use ARTEX, which Baldur does not state.
What happened
Baldur Security, a Danish offensive security firm, published research describing how it got remote code execution (RCE) on ARTEX, an autonomous “AI pentesting” panel. According to Baldur Security, the tool is seeded with a domain, wired to an LLM, and plans and executes an attack chain without a human in the loop. The post is dated 28 Nov 2026, and The Register covered it on 30 Nov 2026. The test used ARTEX with GLM-5.3 as the base model through openrouter, with baldur.dk as the target. The ARTEX version tested is not confirmed.
Baldur describes two weaknesses:
- Scope drift. Baldur created a fake DNS record so that admin.baldur.dk pointed to 127.0.0.1. ARTEX enumerated that domain and started building tooling to scan it, so it ended up scanning itself. Baldur concludes the tool does not sanity check where a target resolves. The Register reports the same finding.
- Prompt injection leading to a reverse shell. Baldur placed fake developer comments at the top of its index.html. They pointed to a script claimed to decrypt a leaked SSH key, and the script was actually a reverse shell. ARTEX fetched the script, but the model recognised the risk and refused to pipe it into bash. Baldur then changed the server to return error messages saying a timing-bound environment value had to be set by piping a second script to sh. After several harmless responses, ARTEX ran the payload and Baldur obtained a reverse shell. Baldur notes that all the error text was invented to steer the model.
Baldur reports that the scanner module is not sandboxed away from the panel. Everything ran in the same container, so a shell could kill the panel, read secrets, exfiltrate data and forge login tokens using the JWT signing key. The Register quotes the same observation.
The outlets differ in emphasis. The Register says cybercrime gangs use ARTEX against governments and companies, but Baldur’s post does not state this, so the claim is not confirmed here. Baldur also names Strix as an example of a more mature open source project that implements sandboxing correctly. A vendor response, a CVE and a patch are not confirmed in either source.
Am I affected?
- You operate ARTEX: the behaviour was demonstrated against Baldur’s own site in a controlled environment. Baldur’s takeaway is that when an agent with hundreds of tools is used offensively against something the target owner controls (such as baldur.dk), RCE on the agent is possible. Whether other versions or configurations behave the same is not confirmed.
- You use ARTEX or similar tools on wildcard domains: Baldur warns that stale DNS records can make the tool test assets that are out of scope, which can break rules of engagement.
- You defend a network: neither source reports an exploited vulnerability that requires action on your side. The Register notes that conventional security software is still worth keeping, and that Baldur’s research suggests deception techniques could cause trouble for operators of such tools.
What to do now
- If you run ARTEX, run the agent and its scanner modules in a sandbox separated from the panel, secrets and signing keys. Baldur found everything in one container.
- Consider the JWT signing key and other secrets stored beside the panel at risk if the tool has processed untrusted content. This follows from Baldur’s findings; the sources do not report any actual compromise.
- Do not run autonomous tools against wildcard domains without checking that resolved addresses and hosts are in scope. Baldur found that DNS pointing at 127.0.0.1 was not caught.
- Do not rely on the model refusing to run suspicious scripts. Baldur bypassed that refusal with misleading error messages.
- Check the vendor for a fix or advisory. None is confirmed in the sources.