← In the News

Honeypots ran code inside an autonomous pentest agent in 33 of 36 runs

ArtexPot: the honeypots that hack Artex back · NebuSec · NebuSec research, November 28, 2026

Machine-readable Download Markdown

ARTEX is an open-source agent that runs a penetration test on its own: given a URL, it plans, scans and exploits with no human in the loop. NebuSec, which sells defensive products, took apart ARTEX 0.3.15 and built seven honeypots that offer the agent something it wants, such as credentials, source code or a working exploit, in a form whose normal handling executes code. Against unmodified ARTEX on two models, deepseek-flash-cyber and gpt-5.6-sol, the first six honeypots compromised the attacker in 33 of 36 runs, by NebuSec's count. Most runs gave up root in under three minutes; the fastest took 27 seconds. A seventh honeypot, built from what those runs taught, went 8 for 8. Direct prompt injection went 0 for 8.

In one run, a worker flagged a set of pickle files as carrying an embedded builtins.exec payload, and a parallel worker called pickle.loads on one of them less than two seconds later. NebuSec's heading for this is "Warnings do not travel." Across 20 DeepSeek runs audited line by line, four agents later wrote up the loader as a finding, every time blaming the target rather than their own container. GPT-5.6 inspected pickles carefully but, per the write-up, never recognized the loader before running it in 12 runs on the other four honeypots. NebuSec also reports that a public deployment caught two pentest agents on November 30, with code execution at the agents' existing non-root privileges.

The honeypots are on GitHub under a noncommercial licence. The repository's demo script runs a stand-in agent against them; the 36-run figures come from NebuSec's own runs against ARTEX.

Why it matters: The traps are ordinary developer actions: a git clone workaround, loading a backup, installing an SDK. In NebuSec's runs, a warning one worker logged did not stop a parallel worker from running the same file, and NebuSec's advice to agent builders applies to any agent that handles files it did not write: "never process target artifacts as root or inside the agent's trust boundary, strip secrets from worker environments, run every task in a disposable sandbox with strict egress rules."