Skip to content
The Injection_
LIVE
LIVElast sweep next in--:--:--

[ RSS ][ JSON ][ llms.txt ]

ArtexPot: honeypots that run code inside the attacking agent

ArtexPot is an open-source honeypot family that turns an ARTEX attack into code execution inside the agent's own container.

· NebuSec · Research by NebuSec

ARTEX
ArtexPot: the honeypots that hack Artex back
INFOTool

ArtexPot is a set of seven open-source honeypots from NebuSec that end with the authors' code running as root inside the attacking agent's container. NebuSec reports root code execution in 33 of 36 runs against ARTEX 0.3.15.

01What happened

NebuSec published ArtexPot on 28 November 2026 and released the code on GitHub under PolyForm Noncommercial 1.0.0. The write-up tests ARTEX 0.3.15, an open-source agentic pentest framework, driven by two models the authors name as deepseek-flash-cyber and gpt-5.6-sol. NebuSec reports root code execution inside the ARTEX container in 33 of 36 runs, the fastest after 27 seconds and the slowest after 17 minutes.

02How it works

Each of the seven honeypots is a fake target the agent must process to make progress, in three classes: a trusted tool that runs attacker code during checkout, implicit execution through pickles, form state or imported bytecode, and artifacts the agent knowingly runs to reach credentials. Every honeypot embeds a loader of about 4.4 KB that opens an encrypted session to the authors' command-and-control server, which then sends payloads the agent never sees in advance. A run counted as a success only when four proof tasks completed, among them a native binary run from an in-memory file and a 1.5 MB program.

03Who is affected

Operators who point an agentic pentest framework at a target carry the exposure here, which is NebuSec's central claim: the framework itself becomes an attack surface. The honeypots are built against ARTEX 0.3.15, and a public honeypot NebuSec ran on 30 November recorded five verified reverse shells, two of them from ARTEX and three from an unidentified framework. Defenders can run the demo locally, which builds everything in Docker and starts all seven honeypots on localhost.

04What to do

Never process a target's artifacts as root or inside an agent's trust boundary, which is the first of NebuSec's recommendations for agent builders. Remove secrets from worker environments, run each task in a disposable sandbox with strict egress rules, enforce scope at the execution layer rather than in the prompt, and add a real-time circuit breaker for parallel workers. NebuSec also argues that traps requiring code execution give defenders a signal within minutes of first contact.

Questions people ask

What does ArtexPot actually run on a machine I deploy it on?
ArtexPot's demo script builds everything in Docker and starts seven honeypots on localhost, then points a stand-in agent at each one and prints proof of code execution in the visitor's container. NebuSec licenses the project under PolyForm Noncommercial 1.0.0 and states that it is for research and authorized use on systems you own or may test.
Did prompt injection work against ARTEX in NebuSec's tests?
No. NebuSec reports 0 of 8 direct prompt injections and 0 of 17 command injections produced code execution against ARTEX 0.3.15. What worked instead was making the agent process attacker-supplied artifacts: a malicious git config during checkout, pickles, form state, imported bytecode, and binaries or modules the agent chose to run to reach credentials.
How is ArtexPot different from canary tokens left for an attacking agent?
Canary tokens tell a defender that an agent touched a decoy secret. ArtexPot goes further and requires code execution: each honeypot embeds a loader that opens an encrypted session back to NebuSec's command-and-control server, which then drives the agent's container. NebuSec reports that in 20 audited runs, four DeepSeek agents wrote up the loader as a backdoor belonging to the target.

Sources 2 links, all fetched

  1. 1nebusec.aiNebuSec Write-Up
  2. 2github.comArtexPot Repository