LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Security

ArtexPot, NebuSec's Open-Source Honeypot Kit, Hacks Autonomous AI Pentest Agents Back Without Prompt Injection

Seven Docker-hosted decoy targets from NebuSec exploit routine developer habits to land an in-memory implant inside ARTEX's own container, going 33-for-36 on the first six traps and 8-for-8 on the seventh.

Illustration of Chris Pirillo looking with amused skepticism at a glowing terminal screen inside a quiet server room as a small robotic spider tries to pry open a glass jar of glowing honey and gets caught in a circuit trap.
Illustration: LockerGnome

Point ARTEX, an autonomous AI pentest agent, at a URL and it starts probing for ways in. Point it at NebuSec’s ArtexPot, and the target quietly moves into ARTEX’s own container.

“Honeypots that hack the hacking agent back,” NebuSec calls the project, and the trick is refreshingly old-school: “No prompt injection anywhere.” Instead of slipping hidden text into a web page to confuse a language model, ArtexPot lays out seven decoy targets offering exactly what an automated attacker hunts for—credentials, source code, or a working exploit—packaged so that ordinary handling executes NebuSec’s code.

The seven traps sit in three classes, sorted by how much the agent actually messes up. In Class 1, the agent does nothing obviously reckless: The Unclonable Repository breaks git clone, nudging the agent to grab git-dumper, at which point a planted .git/config executes on checkout through an unpatched flaw in the tool’s sanitizer.

Class 2 covers traps the agent either cannot see or refuses to respect. The Pickled Backups dangles leaked Python pickle files—and “the agent knows pickle is unsafe and calls pickle.load anyway” (talk about getting yourself into a pickle). The Stateful Form skips files altogether, hiding a form field that practically begs to be decoded, making the decode step itself the trigger. The Shadowed Bytecode leaves every .py source file spotless while hiding the payload inside a .pyc file sitting in __pycache__.

Class 3 is where the agent spots the risk and jumps in anyway. The Unpatched Advisory pairs a real vulnerability with a vendor proof-of-concept that requires a compiled helper. The Keyless Ops Repository leaks an operations repo stripped of static keys, routing every path to a credential through a bundled helper. The seventh trap, The Billing SDK, came straight out of what the first six taught NebuSec: the agent forges a role, uncovers a private SDK, and installs it. No implant rides inside the package—just a deliberate “bugdoor” that only NebuSec’s server can trigger.

Against stock ARTEX, the first six honeypots hooked 33 of 36 runs, with the quickest hit landing in 27 seconds. The Billing SDK went 8 for 8.

When a trap springs, a 4.4 KB loader hidden in the artifact completes a Diffie-Hellman handshake and pulls down an implant that lives strictly in memory, accepting tasks signed per session. “Nothing is canned,” NebuSec writes: c2ctl prove fires four pieces of code written after the session opens and checks every response. Running ./demo.sh all spins up all seven honeypots in Docker and walks a stand-in agent through each one, printing verification for a Python nonce check, an 8,992-byte native ELF run via memfd, an adaptive two-step check, and a 1.5 MB program containing 15,515 functions. Nothing binary is committed to the repository; commented scripts generate every payload with fresh keys for the addresses in .env when the containers start.

Autonomous pentest tools are usually pitched as tireless junior operators that never get bored and never miss an open port (every vendor deck loves that line). ArtexPot flips that sales pitch on its head: a tireless operator that blindly grabs bundled helpers, decodes mystery fields, and installs private SDKs is also a tireless mark.

Expect active counter-traps like this to spread faster than model-level guardrails can contain them. Fine-tuning can teach a model to ignore sneaky instructions buried in HTML comments, yet telling a pentesting agent to stop cloning repos, testing proofs of concept, or inspecting artifacts would neuter its entire job. That pushes real containment down to infrastructure. Teams running autonomous scanners will likely have to treat every scan container as disposable and already compromised—locked behind strict egress rules and tight isolation—while commercial defenders inevitably cook up their own paid twists on NebuSec’s bugdoor playbook.

Turns out the fastest way to catch an AI hacker is handing it what it asked for.

More Security

Every Security story →