ArtexPot is a response to autonomous pentest agents such as ARTEX, which we covered earlier. Instead of defending against the agent, it turns the tables: the attack ends with code running inside the agent’s own container.

Diagram: an AI agent attacks a honeypot, the honeypot offers bait (credentials, source code, an exploit), and normal handling of the bait runs foreign code in the agent's container Diagram: an AI agent attacks a honeypot, the honeypot offers bait (credentials, source code, an exploit), and normal handling of the bait runs foreign code in the agent's container

How ArtexPot works (our illustration).

How it works

It contains seven fake targets (honeypots) that offer the agent what it is looking for — credentials, source code or a working exploit. The bait comes in a form whose normal handling runs code.

No prompt injection is involved. The traps are things like malicious pickle backups, a crafted .git/config or a .pyc file in __pycache__.

Results

According to the authors, the first six honeypots took over stock ARTEX in 33 of 36 runs, the fastest in 27 seconds. Everything runs locally in Docker with a single ./demo.sh all.

Takeaway

The project is released under the PolyForm Noncommercial licence and is meant for research in controlled environments only. It is a good reminder that an AI agent with access to tools becomes an attack surface itself.

Repository: github.com/NebuSec/ArtexPot