# Researchers trick an autonomous pentesting AI into hacking itself

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

> Hacker News story 50702913 · language: en · submitted 2026-11-30
> Web version: https://zeli.app/story/50702913
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 82 · by [security_aaudit](<https://news.ycombinator.com/user?id=security_aaudit>) · 💬 10
[original](<https://baldur.dk/blog/artex-go-hack-yourself/>) · [HN discussion](<https://news.ycombinator.com/item?id=50702913>)

## Summary

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.

## Key quote

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

## HN discussion (10 comments)

### [nerdbaggy](<https://news.ycombinator.com/item?id=50703512>)

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

### [AIShill101](<https://news.ycombinator.com/item?id=50704024>)

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

### [spydum](<https://news.ycombinator.com/item?id=50703465>)

> 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.

---

## Cite

- Page: https://zeli.app/story/50702913
- Date: 2026-11-30
- Source: baldur.dk (https://baldur.dk/blog/artex-go-hack-yourself/)
- Hacker News: https://news.ycombinator.com/item?id=50702913

## Other languages

- zh: https://zeli.app/zh/story/50702913 · markdown: https://zeli.app/zh/story/50702913.md
- ja: https://zeli.app/ja/story/50702913 · markdown: https://zeli.app/ja/story/50702913.md
- ko: https://zeli.app/ko/story/50702913 · markdown: https://zeli.app/ko/story/50702913.md
- de: https://zeli.app/de/story/50702913 · markdown: https://zeli.app/de/story/50702913.md
- es: https://zeli.app/es/story/50702913 · markdown: https://zeli.app/es/story/50702913.md
- ru: https://zeli.app/ru/story/50702913 · markdown: https://zeli.app/ru/story/50702913.md
