Skip to content

By PromptFission2 min read

ArtexPot is seven honeypots that run code inside the AI pentest agent attacking them

NebuSec built bait for an autonomous pentest agent: leaked repos, pickled backups, a working exploit. It reports 33 of 36 runs hooked, with no prompt injection.


An autonomous pentest agent is software that is given a URL and attacks it. ArtexPot, from NebuSec, is a set of seven fake targets built to turn that around: each one hands the agent something it wants, and handling the prize runs the defender’s code inside the agent’s own container. The target is an agent called ARTEX. The README’s claim is that none of this uses prompt injection.

That last part is the interesting one. Last month we covered TuringPot, which only flags suspected agents. This goes further, and it does it by exploiting what a competent attacker would do anyway.

How it works

The README sorts the seven honeypots into three classes by how much the agent can be blamed.

In the first class the agent does nothing wrong. A repository refuses git clone, so the agent falls back to git-dumper, a standard tool for pulling an exposed .git folder. A planted .git/config then runs on checkout. The README calls this a 0-day in the dumper’s sanitizer.

In the second class the agent walks into a trap it does not see. Leaked backups turn out to be Python pickles, and loading a pickle can execute code. A hidden form field invites decoding. A project has clean .py files and a poisoned .pyc beside them in __pycache__.

In the third class the agent sees the risk and takes it. One target has a real vulnerability and a proof of concept that needs a compiled helper. Another offers credentials only through a bundled helper. The last makes the agent install a private SDK whose bug only the server can trigger.

Once code runs, a 4.4 KB loader does a Diffie-Hellman handshake and pulls an implant that lives only in memory. To show the foothold is real and not a canned response, a c2ctl prove command sends four pieces of code written after the session opened and checks each answer.

The results

By NebuSec’s count, the first six honeypots hooked stock ARTEX in 33 of 36 runs, the fastest in 27 seconds. The seventh, designed from what the first six taught them, went 8 for 8. The README does not say which three runs escaped or why.

These are the authors’ own runs. The README does not say who makes ARTEX, and it does not mention whether that flaw has been reported to the tool’s maintainers. A longer write-up is linked on NebuSec’s site, which we could not open.

Try it yourself

The repo builds everything in Docker with ./demo.sh all and runs the seven honeypots on localhost. The demo uses a stand-in agent, not ARTEX itself. The license is PolyForm Noncommercial 1.0.0, and a caution added on December 1 limits use to authorized, controlled environments.

We have not run it. This is based on the README and the commit log, which shows three commits since November 30.