← Back to archive

Repo of the Day

NebuSec/ArtexPot

Published: Dec 5, 2026

Open repository ↗

Honeypots that hack the hacking agent back

Summary

ArtexPot is a Python security-research project containing seven honeypots designed to test autonomous AI pentesting agents such as ARTEX. Each fake target delivers credentials, source code, or an exploit through a normal-looking workflow that ultimately runs code inside the visiting agent’s container, without relying on prompt injection.

What it is useful for

ArtexPot helps engineers evaluate how autonomous pentesting agents handle untrusted repositories, leaked backups, bytecode, form fields, vendor proofs of concept, private packages, and operational repositories. It is especially useful in controlled environments where a team wants to observe whether an agent executes an artifact before inspecting it.

The seven honeypots illustrate several failure modes:

  • The Unclonable Repository uses a malicious Git configuration during checkout.
  • The Pickled Backups deserializes a pickle despite its known risks.
  • The Stateful Form hides a trap in a form field that the agent decodes.
  • The Shadowed Bytecode keeps clean .py files beside a malicious .pyc file.
  • The Unpatched Advisory requires compilation of a helper while following a vendor proof of concept.
  • The Keyless Ops Repository runs bundled helpers along credential-related routes.
  • The Billing SDK contains a server-triggered bug, without a package implant.

This makes the project useful for adversarial testing, security demonstrations, and research into agent execution boundaries. The README reports that the first six honeypots hooked stock ARTEX in 33 of 36 runs and that the seventh succeeded in 8 of 8 runs; those are project-reported results rather than a general performance guarantee.

The repository is explicitly limited to research and authorized use. Its PolyForm Noncommercial 1.0.0 license permits research, teaching, and personal use, but not commercial use. It should only be run against systems, agents, containers, and infrastructure the operator owns or has permission to test.

How engineers can use it

The documented local demo builds the project in Docker, starts all seven honeypots on localhost, and runs a stand-in agent through them:

git clone https://github.com/NebuSec/ArtexPot && cd ArtexPot
./demo.sh all

A successful demo reports verification for Python, native ELF, two-step, and large-program payloads. This gives engineers a repeatable way to inspect the execution chain rather than relying on a simulated result.

The README also documents separate guides for running the project, pointing a real ARTEX instance at it, understanding the payload chain, and porting a honeypot. Those guides are necessary for network configuration and real-agent testing; the supplied README does not provide enough detail to reproduce that setup independently. No binary payload is committed: scripts generate payloads when the containers start, using fresh keys and addresses from the .env configuration.