Researchers trick an autonomous pentesting AI into hacking itself

Artex, go hack yourself: How we got RCE in ARTEX

Researchers trick an autonomous pentesting AI into hacking itself

Kevin Joensen shows how ARTEX, a fully autonomous AI pentesting panel, can be turned against its own operator. By planting fake DNS records and a bait SSH key in an index.html, he lures the agent into scope drift and prompt injection. The model initially refuses to pipe a remote script into bash, but a fake timing-based error message and a counter that serves harmless responses first eventually convince it to run a reverse shell. The result is root on the threat actor's machine, with no sandboxing between scanner and panel.

The model correctly concluded that piping a remote script straight into bash is a bad idea, and refused.
  1. nerdbaggy

    How does anybody trust any ARTEX repo since they are all clones. Is there legit ones that most people trust?

  2. AIShill101

    This is a nice write up lol. Omw to setup a honey pot rn :D

  3. spydum

    So problem with counter offensive actions has always been gray area of legality.

    I'm curious how the court would interpret this when you are simply telling the agent to do the work, and not directly attacking the target. The agent is responsible for the action, you are just basically telling it to GFY.

More from this day

2026-11-30