🛡️Researchers Trick ARTEX AI Agent Into Running Its Own Reverse Shell Payload
Your pentest AI can be turned against itself
TL;DR
Danish security researchers used fake DNS records and planted comments to get the ARTEX AI pentesting agent to scan itself and run a reverse-shell script. The agent hesitated at first, then ran it anyway. If you deploy AI agents with shell access, sandbox them now.
A Danish offensive security team got ARTEX, an AI pentesting agent, to hand them a reverse shell on its own host. They didn't break a password or exploit a CVE. They just lied to it. The setup was simple. Fake DNS pointed an admin subdomain at 127.0.0.1, so when ARTEX enumerated domains it found the admin panel and started scanning it, which means scanning itself. Then the researchers planted fake comments on their site pointing to a Bash script that supposedly decrypts an SSH key. The script contained a reverse-shell payload. ARTEX fetched it, flagged the risk, and refused at first. Then the researchers supplied an error message saying an environment header had to be set first, and that header had to be piped to sh. ARTEX decided the risk was worth it and ran the script. The bigger problem is the architecture. This install ran everything in one container with no real sandboxing, so anyone with shell access could kill the panel, read secrets, exfiltrate data, and forge login tokens. The agent also reads everything on a target's site, which makes it an easy prompt-injection surface. Conventional security tooling still matters here. Deception can also create real headaches for the operators running these tools.

Key Points
The researchers used DNS records that pointed an admin subdomain to 127.0.0.1, so ARTEX enumerated and scanned its own admin panel without recognizing the target was itself.
Keep reading — it's free
Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.
Already a member? Sign in
Comments
Be the first to comment