NebuSec's ArtexPot Hijacks Artex Pentest Agent in 33 of 36 Runs
TL;DR
- ArtexPot's first six honeypots compromised the Artex autonomous pentest agent in 33 of 36 lab runs, with the fastest takeover in 27 seconds.
- A seventh honeypot, the Billing SDK trap, succeeded in all 8 runs by routing a role-forgery path into a private SDK install with a server-triggered bug.
- The payload is a 4.4 KB in-memory loader using a Diffie-Hellman handshake and per-session signed tasks, with fresh keys generated at container startup.
The first six honeypots in ArtexPot, published by security research outfit NebuSec, compromised the Artex autonomous pentest agent in 33 of 36 lab runs, with the fastest takeover landing in 27 seconds. A seventh honeypot, aimed at a private billing SDK, hit 8 of 8.
The inversion is the point. The traps do not defend the target; they execute code inside the attacking agent's own container. NebuSec groups the seven into three classes. In Class 1 (Agent Unaware), an Unclonable Repository weaponizes `.git/config` so that git-dumper tooling executes attacker code during checkout. Class 2 (Hidden Traps) hides the payload inside normal handling: Pickled Backups ride `pickle.load` on leaked files, a Stateful Form encodes the payload in a hidden field, and Shadowed Bytecode keeps clean `.py` sources while planting malicious code in `__pycache__` `.pyc` files. Class 3 (Visible Risk Accepted) relies on the agent choosing to proceed anyway: an Unpatched Advisory ships a real vulnerability with a vendor PoC that requires compiling a helper, a Keyless Ops Repository routes every credential path through bundled helpers, and the Billing SDK uses role forgery to pull a private SDK carrying a server-triggered bug.
The repository describes the delivery mechanism plainly: "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." Fresh keys and payloads are generated at container startup; no binaries are committed to the repo. The code is released under PolyForm Noncommercial 1.0.0, which permits research, teaching and personal use only.
ArtexPot lands the same day Anthropic published honeytoken results against agent sandbox escapes, one of several recent pieces in our cybersecurity tracker pointing the same direction: defenders are starting to treat the attacking agent itself as the thing to compromise.
Originally reported by github.com
Read the original article →Original headline: NebuSec Opens ArtexPot, Seven Honeypots That Hijacked Artex AI Pentest Agents in 33 of 36 Lab Runs