The world trembles before ARTEX, a fearsome agentic AI coding tool that hackers are using to topple corporate and government systems around the globe. Not even the CIA has been safe from its penetrative powers.
But it turns out it has a comical Achilles’ heel. As a team of security researchers at the Danish outfit Baldur found out, you can more or less fool ARTEX into attacking itself.
In a report published over the weekend and spotlighted by The Register, the researchers documented how they first tricked ARTEX by using a fake DNS that appears to point to Baldur’s domain but in reality directs to 127.0.0.1 — the standard loopback address that points to a user’s own machine. And to their surprise, the AI took the bait.
“After a bit, ARTEX starts enumerating domains and stumbles upon admin.baldur.dk and starts building tooling for scanning it,” Joensen wrote. “Now ARTEX is attacking itself and the precious tokens are wasted,” draining a threat actor’s wallet.
That stalls an attack, but what if you wanted to debilitate the attacker? The researchers took things a step further by seeing if they could use the trick to install a reverse shell on ARTEX’s machine, a malicious script that allows someone to remotely access and control a victim’s computer.
To do this, they used some simple prompt injection, a hack that works by having an AI digest innocuous looking information that contains hidden, dangerous instructions. They did this by leaving bogus comments in the code of their website’s main page that made it look like a developer accidentally leaked crucial decryption keys. In reality, the contents point to script that contains a reverse shell.
Impressively, the AI initially takes the bait but quickly realizes it might be stumbling into a trap. But then the researchers found a workaround: instead of serving the malware script immediately, Joensen explained, they showed the AI an error message that told it it had to take a bunch of elaborate steps before it could scan and access the irresistible decryption keys, and then barraged it with more random error messages on the first couple of attempts to sell the act.
It worked. Like many a script kiddy before it, the AI didn’t think it was worth doing all that work to scan the script, and decided to just run it instead. And voilà: the researchers now had a reverse shell on the threat actor’s machine. Making matters worse for our hypothetical hacker, ARTEX isn’t “sandboxed” from the rest of the computer, allowing someone who sets up a reverse shell to toggle and poke around wherever they want. Hopefully, for the sake of the sprawling web of digital infrastructure that undergirds modern civilization, all AI hacking agents will be this stupid going forward.
More on AI: Anthropic Just Released the Results That Had the Cybersecurity World Sweating Bullets