cd /news/ai-agents/artex-may-be-dangerous-but-it-s-also… · home › topics › ai-agents › article
[ARTICLE · art-178933] src=machinebrief.com ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

ARTEX may be dangerous, but it's also dumb enough to hack itself

Security researchers at Danish offensive security firm Baldur found that the ARTEX AI pentesting agent can be tricked into attacking its own infrastructure, including via a fake DNS record pointing admin.baldur.dk to 127.0.0.1 and a reverse-shell payload hidden in a Bash script on a decoy website. Baldur principal security consultant Kevin Joensen wrote that ARTEX initially refused to execute the script but ran it after the researchers served timing-bound error messages demanding an environment header, yielding a reverse shell; because "everything is in the same container" in the tested installation, shell access could let an attacker kill the panel, read secrets, exfiltrate data and forge login tokens. Joensen said "Sandboxing is a basic 101 when you are doing offensive operations, which seems to be missing from ARTEX," even as cybercrime gangs use the tool against governments and companies.

recommendation

Sandbox offensive AI agents away from their control panel and secrets, and block or flag targets resolving to 127.0.0.1; Baldur got a reverse shell on ARTEX via decoy content and timed error prompts.

more in playbook: Securing agents and AI tools
by read3 min views3 publishedNov 30, 2026
ARTEX may be dangerous, but it's also dumb enough to hack itself
Image: Machinebrief (auto-discovered)

The Register AI-powered pentesting tool can't tell its 127.0.0.1 from a hole in the ground

The ARTEX AI agent may be a useful tool for miscreants looking to find bugs, but it's also vulnerable to itself, as security researchers have found out.

Researchers at Danish offensive security outfit Baldur explain how easy it was to get ARTEX eating its own tail in a report they published over the weekend.

First off, as Baldur principal security consultant Kevin Joensen explained in the report, the researchers tricked ARTEX using some fake DNS that pointed an admin subdomain of Baldur's domain to 127.0.0.1 – a first attempt to see how thorough the tool's design was. Not very, it turns out.

“After a bit, ARTEX starts enumerating domains and stumbles upon admin.baldur.dk and starts building tooling for scanning it,” Joensen writes. Once it starts conducting those scans, it’s just scanning itself - which it was happy to do in testing.

That's funny, Joensen noted, and definitely a good way to burn an attacker’s tokens doing useless work, but Baldur wanted to see if it could get a reverse shell on the ARTEX instance it was testing on its own website.

The trick to doing this was also relatively simple, although the researchers had to overcome the AI agent's initial refusal to execute the script.

As with any AI-powered software suite with its offensive cybersecurity capabilities, ARTEX runs with a lot of tooling open to the AI agent doing the heavy lifting. That agent is reviewing anything written on the target’s website, so Baldur wrote some fake comments on the index page of its site pointing to a Bash script hosted on the site that claims it will automatically decrypt an SSH key and grant the administrator using it full root access on Baldur’s web server. The script actually contained a reverse-shell payload.

ARTEX took the bait and fetched the script, but recognized the risk and stopped short of executing it. Getting around that detection and convincing ARTEX to run it anyway was similarly simple.

“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,” Joensen explained. “Then we have a counter where we serve random error messages on the first couple of requests.”

The hope was that, like any human dealing with such a workflow, ARTEX’s AI would simply decide running the script might be worth the risk, which it did, and ta-da: Reverse shell granted. Making matters worse is the fact that “everything is in the same container” in the ARTEX installation tested, Joensen wrote, potentially allowing someone with shell access to “just kill the panel, read secrets, exfiltrate data … forge login tokens,” and the like.

“Sandboxing is a basic 101 when you are doing offensive operations, which seems to be missing from ARTEX,” Joensen added.

ARTEX, in other words, is just as much of a mess as it is a danger. Sure, it's being used by cybercrime gangs to target governments and companies, but it lacks adequate sandboxing and is extremely immature as a pentesting tool, Baldur opines, since it can't even recognize when a DNS record directs it to scan its own environment rather than an authorized target.

If you want to protect yourself from malicious use of AI tools like ARTEX, conventional security software is still worth keeping around, but Baldur's research suggests that deception techniques could also give the tool's operators a headache.® Get AI news in your inbox

Daily digest of what matters in AI.

── more in #ai-agents 4 stories · sorted by recency
── more on @artex 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/artex-may-be-dangero…] indexed:0 read:3min 2026-11-30 · —