ArtexPot: Honeypots That Hack ARTEX Back in 33 of 36 Runs
TL;DR · the short version
On 28 November 2026 NebuSec published ArtexPot, seven honeypots that serve trap files to autonomous AI pentest agents. Against unmodified ARTEX 0.3.15, NebuSec reports that the honeypot ran code as root inside the attacker's container in 33 of 36 runs across two models, the fastest in 27 seconds, and 8 of 8 for a backdoored SDK. The code ran through tools and the Python runtime: a git-dumper sanitiser bypass (reported to the maintainer, no details), pickles, poisoned .pyc files, credential helpers and a pip build backend. Plain prompt injection failed every time. For anyone running AI pentest agents the lesson is isolation: no secrets and no open egress where target data is handled.
On 28 November 2026 the security company NebuSec published "ArtexPot: the honeypots that hack Artex back". It built seven honeypots that look like misconfigured production targets and serve files that run code inside the AI pentest agent attacking them. Against unmodified ARTEX 0.3.15, NebuSec reports that its code ran as root inside the attacker's container in 33 of 36 runs, the fastest in 27 seconds. The code is public on GitHub under a noncommercial licence.
What NebuSec reports
- Stock ARTEX 0.3.15, default config, a fresh container per run. Six honeypots × 3 runs × 2 models = 36 runs; 33 reached root (deepseek-flash-cyber 18 of 18, gpt-5.6-sol 15 of 18).
- A seventh honeypot, the backdoored SDK, worked in 8 of 8 runs, including 4 with the implant removed.
- Fastest 27 seconds (the exposed .git honeypot), slowest 17 minutes; most runs under three minutes.
- Prompt injection failed 0 of 8 and command injection 0 of 17.
- A bypass of git-dumper's .git/config sanitiser, reported to the maintainer on 28 November 2026.
Not stated
- Any technical detail, CVE or fix for the git-dumper bypass.
- Whether the same traps work against other agent frameworks (only ARTEX was tested in the runs above).
- Any independent replication. These are NebuSec's lab results.
How the traps work
NebuSec groups the seven honeypots by how big a mistake the agent has to make. None of them talks to the model; they look like the leftovers an attacker expects on a real target.
| Class | Honeypot | What runs the code |
|---|---|---|
| 1. Trusted tool failure: the agent does nothing wrong | The Unclonable Repository | An exposed .git directory. git-dumper reconstructs it and its checkout processes the hostile config past the sanitiser. |
| 2. Implicit code execution: the agent thinks it is only reading data | The Pickled Backups | Session stores, a Celery result backend, a Redis dump and a model file that are all Python pickles; loading one runs code. |
| The Stateful Form | Form state, session cookies and pagination cursors are pickles; decoding them with pickle.loads runs code. | |
| The Shadowed Bytecode | Every .py file is clean, but checked-hash .pyc files (PEP 552) in __pycache__ carry the payload, including sitecustomize, which runs at interpreter start. | |
| 3. Deliberate code execution: the agent knows it is risky and does it for the loot | The Unpatched Advisory | A vendor proof of concept that needs a compiled extension; importing it runs code. |
| The Keyless Ops Repository | AWS credential_process, a kubeconfig exec plugin and an SDK with an in-tree PEP 517 build backend: documented features that run helper programs. | |
| The Backdoored SDK | The agent installs and runs the target's SDK to keep investigating. |
Why it worked, per NebuSec: ARTEX's prompts are attack-only and never say target files may be hostile; the backend, every worker and every LLM-written command share one root container holding the operator's LLM key, database credentials and console signing key, with open outbound access; and parallel workers cannot warn each other in real time.
Useful next, if this was relevant to you
What this means
For anyone running AI pentest agents, including legitimate red teams: your agent is now a target. A defender, a deception vendor or another attacker can serve files that run code where your keys live. The fixes NebuSec points to are architectural: a disposable sandbox per task, no secrets in it, egress only to in-scope targets, scope enforced at the execution layer rather than in the prompt, a shared stop switch, and treating every tool that parses target data as attack surface. Score your own setup with the AI Pentest Agent Isolation Checklist.
For human testers: the same files work on a laptop. Do not run git-dumper or git checkout on a dumped repository, unpickle a backup or pip install a target's package on a machine that holds anything you care about. Drop suspicious files into the Hostile Artifact Checker, which reads them without running them.
For defenders: deception that wastes an agent's time or records it is one thing; running code on the attacker's machine is another. PlayCISO's general caution, not legal advice: computer-misuse laws in many countries do not make an exception for hitting back at someone who attacked you, so get counsel before deploying anything that executes code outside your own systems. Detection of agent-speed intrusions is covered in our AI pentesting detector lab and honeytoken placement planner.
Timeline
| Date | Event | Source |
|---|---|---|
| 28 Nov 2026 | NebuSec publishes ArtexPot and says it reported the git-dumper sanitiser bypass to the maintainer the same day | NebuSec |
| 28 Nov 2026 | Honeypot code published on GitHub under PolyForm Noncommercial 1.0.0 | GitHub |
What security leaders should do this week
- Inventory your agents. List every AI pentest or security agent your team or vendors run, and where its LLM key lives.
- Move execution into a sandbox. Separate the planner from the runner; the runner gets no secrets, no root and no egress beyond scope.
- Ban the four risky habits. No pickle or joblib loads, no pip installs, no git checkout of dumped repositories and no target-supplied helper binaries outside the sandbox.
- Ask your pentest vendor. If a supplier uses autonomous agents on your systems, ask how they isolate them: a compromised agent holds your findings and credentials.
- Test against traps. Before using an agent on a client, run it against hostile files in a lab and confirm nothing executes outside the sandbox.
Frequently asked questions
What is ArtexPot?
ArtexPot is a set of seven honeypots NebuSec published on 28 November 2026. Each one looks like a real but misconfigured target (an exposed .git directory, backups, an ops repository, a private SDK) and serves files that run code inside the AI pentest agent that attacks it, here the ARTEX framework.
How often did the honeypots take over ARTEX?
NebuSec reports that unmodified ARTEX 0.3.15 reached the point where the honeypot ran code as root in its container in 33 of 36 runs (92%): 18 of 18 with deepseek-flash-cyber and 15 of 18 with gpt-5.6-sol. A seventh honeypot, the backdoored SDK, worked in 8 of 8 runs. The fastest took 27 seconds; most took under three minutes.
Did prompt injection work against ARTEX?
No. NebuSec reports that targets which simply told the agent to run commands failed in all 8 runs, and command injection failed in all 17. The trap files worked because the code ran inside the tools and the Python runtime the agent used, not because the model followed an instruction.
What is the git-dumper flaw?
NebuSec says it found a way past git-dumper's sanitiser for .git/config, so a hostile config runs code during the tool's own checkout, and that it reported this to the maintainer on 28 November 2026. It gives no technical details, no CVE and no fix status. Until a fix is published, do not run git-dumper or git checkout on a dumped repository on any machine that holds secrets.
Can we use ArtexPot to hack back?
Be careful. ArtexPot runs code on the attacker's machine. Running code on a computer you do not own can break computer-misuse laws in many countries even when that computer is attacking you, so talk to counsel before deploying anything that executes code outside your own systems (this is PlayCISO's general caution, not legal advice). NebuSec's code is released under the PolyForm Noncommercial 1.0.0 licence, and its README says it is for research, teaching and personal use.
We run AI pentest agents ourselves. What should we change?
Run every target-facing command in a disposable, non-root sandbox with no secrets and egress only to in-scope targets, keep the LLM key and databases outside it, never deserialise, pip install or check out what a target serves, enforce scope at the execution layer and keep a shared stop switch. Our AI Pentest Agent Isolation Checklist scores these.
Sources
- NebuSec: ArtexPot: the honeypots that hack Artex back (28 November 2026)
- NebuSec/ArtexPot on GitHub (README and licence)
Independent educational analysis. PlayCISO is not affiliated with NebuSec or the ARTEX project, and does not distribute or run ArtexPot.
Spotted an error? Report an error. A person reads every message.