▲ 156 today782 starsPythonHN ×1New · 5d old
ArtexPot Deploys Honeypots That Turn AI Pentesters Against Themselves
What is ArtexPot?
ArtexPot is a set of seven fake web services that trick an autonomous AI penetration-testing agent into executing code inside its own container. It does this by offering the agent tempting artifacts, like git repos, pickled backups, or hidden form fields, whose normal handling runs attacker-controlled code.
Who it is for
Security researchers and red-team engineers should care because it shows how AI agents can be lured into self-exploitation, offering a testbed for hardening AI-driven tools.
How ArtexPot works
ArtexPot ships seven fake web services that look like real targets. Each service runs in its own Docker container and, when an ARTEX agent interacts with it, the service returns an artifact that causes code to run inside the agent’s container. The returned payloads are generated at container start and include a small loader, a Diffie-Hellman handshake and a memory-only implant that is signed per session. A custom C2 protocol (c2ctl prove) delivers four pieces of code after the session begins and validates the agent’s responses. The whole chain is scripted so that no binary files are stored in the repository; everything is created on the fly.
What you can do with it
- Run ./demo.sh all to watch a stand-in ARTEX agent get compromised by each honeypot.
- Use the honeypots to evaluate how an autonomous pentest agent handles unsafe artifacts like git clones, pickles or hidden form fields.
- Study the generated loader and handshake to understand in-memory implants delivered via common dev workflows.
- Extend the repo with your own trap by following the porting guide and reusing the same session protocol.
Good to know
- The code is released under a non-commercial license, so it cannot be used in commercial products.
- It is intended for research and authorized testing only; running it against systems you do not own is prohibited.
- All components run inside Docker containers, so you need a Docker-compatible host to use it.
Written from the project's own README.
Try it in 60 seconds
You need: Docker installed
git clone https://github.com/NebuSec/ArtexPot && cd ArtexPot./demo.sh all
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted NebuSec/ArtexPot on December 5, 2026, when it had 782 GitHub stars. It now has 782. On its busiest day it gained 156 stars. The project is 5 days old and written mainly in Python. It has been discussed in 1 Hacker News thread, the top one with 147 points. Early Signal files it under Agents, Coding, Security.
Questions about ArtexPot
- How do I install ArtexPot?
- Use one of these, depending on your setup: git clone https://github.com/NebuSec/ArtexPot && cd ArtexPot · ./demo.sh all
- What do I need to run ArtexPot?
- Docker installed