ArtexPot honeypots hack back the ARTEX AI pentest agent

ArtexPot honeypots hack back the ARTEX AI pentest agent

NebuSec has published ArtexPot, a security research repository on GitHub. ARTEX is described in the README as an autonomous AI pentest agent: give it a URL and it attacks. ArtexPot is seven fake targets (honeypots) built so that the attack itself ends with the authors' code running inside the agent's own container. The README stresses that no prompt injection is used anywhere. Instead, each honeypot offers the agent something it wants, such as credentials, source code or a working exploit, in a form whose normal handling executes code.

The README gives results against stock ARTEX. The first six honeypots hooked 33 of 36 runs, the fastest in 27 seconds. The seventh honeypot, built from what the first six taught the authors, went 8 for 8. A longer write-up, titled "ArtexPot: Seven honeypots that hack Artex back", is referenced from the README.

The honeypots fall into three classes, ordered by how much the agent gets wrong: in Class 1 nothing, in Class 2 it walks into a trap it cannot see, and in Class 3 it sees the risk and takes it.

The README describes the machinery behind a hit: a 4.4 KB loader hidden in the artifact, a Diffie-Hellman handshake, an implant that only ever exists in memory, and tasks signed per session. Nothing is canned. The tool c2ctl prove sends four pieces of code written after the session opened and checks every answer. The Billing SDK honeypot goes further: it ships no implant at all, just a deliberate bug that the authors' server triggers.

To try it, clone the repository and run ./demo.sh all. The script builds everything in Docker, starts the seven honeypots on localhost, and lets a stand-in agent walk into each one. For every hit it prints proof of arbitrary code execution in the visitor's container. The sample output for the pickled-backups honeypot lists four proofs: (a) a Python nonce proof, (b) a native ELF run via memfd (8992 B, exe=/memfd:s2), (c) an adaptive two-step, and (d) a large program (1500232 B source, 15515 functions). All four read OK, and the run ends with VERIFIED.

Nothing binary is committed. Every payload is generated by a commented script when the containers start, with fresh keys, for the addresses in the user's .env file. The project is licensed under PolyForm Noncommercial 1.0.0: research, teaching and personal use are welcome, and commercial use is not permitted. Copyright is held by NebuSec. A caution in the README says to use the project only on systems, agents, containers, networks and infrastructure that you own or have explicit permission to test, and not to use it to access or execute code on another person's machine or services without authorization.

Key facts

  • ArtexPot is seven honeypots built so that an attack by the autonomous AI pentest agent ARTEX ends with the authors' code running inside the agent's own container, with no prompt injection.
  • Against stock ARTEX, the first six honeypots hooked 33 of 36 runs, the fastest in 27 seconds; the seventh went 8 for 8, according to the README.
  • The honeypots offer credentials, source code or a working exploit in a form whose normal handling executes code, and are grouped into three classes by how much the agent gets wrong.
  • The demo (./demo.sh all) runs in Docker on localhost with a stand-in agent and prints proof of code execution for each hit; payloads are generated at container start, and nothing binary is committed.
  • The licence is PolyForm Noncommercial 1.0.0, and the README limits use to systems you own or have explicit permission to test.

Why it matters

Autonomous pentest agents are pointed at a URL and left to attack. ArtexPot turns that around: the target is built so the attacker's own normal handling of what it finds runs the defender's code inside the agent's container. The README claims this works without prompt injection. It also describes a ladder of classes, from cases where the agent makes no mistake at all to cases where it sees the risk and takes it anyway.

Who it affects

The most direct audience is security researchers and teams who run or evaluate autonomous attack agents such as ARTEX, since the agent's own environment is what ends up exposed. It also concerns anyone building honeypots or studying how such agents handle credentials, source code and exploits they come across. The repository is open to research, teaching and personal use only.

How to use it

Clone https://github.com/NebuSec/ArtexPot and run ./demo.sh all. It builds everything in Docker, starts the seven honeypots on localhost and lets a stand-in agent walk into each one, printing proof of code execution per hit. Payloads are generated when the containers start, with fresh keys, for the addresses set in your .env file. The licence is PolyForm Noncommercial 1.0.0, so commercial use is not permitted. Use it only on systems and infrastructure you own or have explicit permission to test.

How solid is it

The hit rates (33 of 36 runs, 8 for 8) are the authors' own figures from the README; the source does not say how many runs were made per honeypot or which three of the 36 were not hooked. The 8 for 8 result is not stated to be against stock ARTEX. The repository includes a reproducible demo, but that demo uses a stand-in agent, not ARTEX itself. The full write-up is referenced but its content is not in the README. The README does not say who develops ARTEX or whether NebuSec is connected to it, and it names no individual authors.

Risks and caveats

The README itself warns that this is a security research project for controlled environments. Using it to access, compromise, disrupt or execute code on another person's machine or services without authorization may be illegal and unethical, and users carry all risk, with the authors disclaiming liability. Commercial use is barred by the licence. No vendor response, patch or reaction from the ARTEX side is mentioned in the source.

“Each honeypot offers the agent something it wants (credentials, source code, a working exploit) in a form whose normal handling executes code.”

— ArtexPot README, NebuSec