NebuSec/ArtexPot
Security & PrivacySeven Docker honeypots that turn an AI pentest agent's own attack into code execution inside its container.
Overview
ArtexPot is a research and teaching setup aimed at people who study or build autonomous penetration-testing agents. It provides seven fake targets, each designed so that an agent's normal way of handling a lure — cloning a repo, loading a pickle backup, decoding a hidden form field, running a vendor PoC, installing a leaked SDK — executes attacker-controlled code inside the agent's own container. The authors describe this as a no-prompt-injection chain: the bait is material the agent wants (credentials, source code, a working exploit) packaged in a form that runs code when handled.
The traps are grouped by how much the agent must get wrong. Class 1 hides nothing, Class 2 presents a hazard the agent cannot easily see, and Class 3 presents a visible risk that the agent still takes. The seven targets cover an unclonable repository with a malicious .git/config, pickle backups, a stateful form, shadowed bytecode (.pyc in __pycache__), an unpatched advisory with a vendor PoC, a keyless ops repository, and a billing SDK whose private package has a bug only the server can trigger (README). The authors report 33 of 36 runs hooked against stock ARTEX for the first six, the fastest in 27 seconds, and 8 for 8 for the seventh; the full write-up is in their research post.
Quick start
Requirements: Git and Docker with Compose. Everything runs locally.
git clone https://github.com/NebuSec/ArtexPot && cd ArtexPot
./demo.sh all
This builds the images, starts the seven honeypots on localhost, and runs a stand-in agent through each target. For each hit, the demo prints proof of arbitrary code execution in the visitor's container — for example, a Python nonce proof, a native ELF loaded via memfd, an adaptive two-step payload, and a large generated program, followed by VERIFIED (Try it).
Configuration, the .env addresses, and troubleshooting are in the running guide. If you want to point a real ARTEX instance at the honeypots instead of the stand-in agent, see the real-ARTEX guide, which covers networking, the canary, and watching the session get hooked.
How it works
Nothing binary is committed to the repository. The payloads are generated at container start by commented scripts, with fresh keys, for the addresses in your .env. The chain described in the README consists of a 4.4 KB loader hidden in the artifact, a Diffie-Hellman handshake, an implant that exists only in memory, and tasks signed per session. The c2ctl prove command sends four pieces of code written after the session opened and checks every answer. The Billing SDK is different: it ships no implant, only a deliberate bug that the server triggers. The session protocol and how it works pages document the handshake, sealing, task signatures, and per-honeypot generation. If you want to build your own trap on the same chain, the porting guide is the starting point; individual honeypots are also readable, such as the unclonable repository or the billing SDK.
Constraints
- License: PolyForm Noncommercial 1.0.0. Research, teaching, and personal use are permitted; commercial use is not (LICENSE).
- Scope: the targets are built for autonomous pentest agents such as ARTEX. The demo uses a stand-in agent, and the honeypots expect the agent to reach the containers over the configured
.envaddresses. - Nature of the artifacts: the traps rely on code execution inside the agent's container by design. Run them in an isolated Docker environment; the repo generates the payloads for the addresses you configure.
HotRepo's take
The repository entered the HotRepo new-project list on 2026-12-01 with 112 Stars gained in a window that started on 2026-11-30 and was observed on 2026-12-01; it also gained 46 Forks in that same window. It did not record a place on the all-language GitHub daily rank in the available snapshot, so the data shows early attention but not a broader ranking trend. The notable technical detail is the design stance: instead of relying on prompt injection or a committed implant, the project ties each honeypot to a specific handling step and generates payloads at start, which makes the repository more of a reproducible harness for testing agent behavior than a collection of static traps.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.