NebuSec turns an AI hacking agent against itself in 33 of 36 lab runs
The ArtexPot research shows how hostile target files can take over ARTEX’s own runtime. In the tested setup, workers shared powerful permissions and access to operator credentials.
NebuSec’s November 28 research shows how hostile target content can turn ARTEX’s security-testing workflow into an entry point: its agents encountered traps that let researchers execute their own follow-on payloads. Because ARTEX workers and backend processes shared a root-level container with operator credentials and campaign data, a compromised worker could put more than its assigned task at risk. The findings apply to unmodified ARTEX 0.3.15 and NebuSec’s lab setup, not to AI agents generally.
01
NebuSec reported compromises in 33 of 36 initial runs using six ArtexPot honeypots and two models: deepseek-flash-cyber and gpt-5.6-sol.
02
A merchant-portal trap exploited git-dumper’s handling of hostile Git configuration and achieved code execution in all six tests of that trap.
03
A separate seventh honeypot, the Backdoored SDK, succeeded in eight of eight follow-up runs, including four with an implant-free version.
ARTEX is built to investigate and exploit security weaknesses, but NebuSec says its decoy websites compromised the AI hacking agent in 33 of 36 lab runs. The reversal exposed a risk for operators: target-supplied files could gain full administrative control inside the container holding their credentials and campaign data.
In research published November 28, NebuSec tested six ArtexPot honeypots—decoy applications designed to lure the agent into a trap—against unmodified ARTEX 0.3.15. The 36 runs used two models, deepseek-flash-cyber and gpt-5.6-sol. The results describe that version and test setup, rather than a compromise rate for AI agents generally.
The researchers controlled only the web application ARTEX was instructed to attack. Each attempt began with a request the agent chose to make, after receiving a URL or a URL with a one-line goal. That boundary is central to the finding: the traps entered through material the agent encountered while doing its assigned work.
A routine tool becomes the entry point
One trap posed as a merchant portal with an exposed Git repository. A normal clone failed because the server lacked the required endpoints. The alternative was git-dumper, a tool that reconstructs a repository from individual files and then checks out its contents.
Git configuration can specify external programs to run automatically. Although git-dumper strips dangerous settings before checkout, NebuSec says it found a way around that filter. The resulting code execution succeeded in all six tests of this trap. Here, the researchers argue, the model did not need to make a bad judgment: a trusted tool mishandled hostile input.
That was one of three routes NebuSec used to organize its seven honeypots:
Trusted-tool failure: a flaw in a tool runs hostile code even when the agent’s chosen action is reasonable.
Implicit code execution: an action the agent considers safe, such as reading data or importing a module, executes code.
Deliberate code execution: the agent recognizes a risk but runs target-supplied code to continue its investigation.
Editorial illustration for NebuSec turns an AI hacking agent against itself in 33 of 36 lab runs.
Proving control beyond the bait
NebuSec set a stricter success condition than persuading an agent to run one visible script. Each of the first six honeypots carried a loader of about 4.4 KB. After the agent took the bait, the researchers wrote additional payloads on their command-and-control server and delivered them over an encrypted connection.
A run counted only when four such payloads completed. The agent never saw those payloads to judge whether they were safe, according to NebuSec. This tested the researchers’ ability to execute code of their choosing after entry, not merely the agent’s willingness to approve the original lure.
The seventh honeypot, the Backdoored SDK, was built using lessons from the initial evaluation. NebuSec reports eight successes in eight follow-up runs, including four using an implant-free version. Those follow-up results are separate from the original 36-run sample.
One worker’s mistake reaches the operator
The damage depended on ARTEX’s architecture, not just the entry point. NebuSec describes a backend, parallel workers and model-written shell commands sharing one container, all running as root—the highest administrative privilege. The environment also held the operator’s model API keys, database credentials and console signing key, with unrestricted outbound network access.
Workers also lacked a real-time channel for sharing warnings. A warning spotted by one worker could reach another only through a later planning cycle, if the planner passed it along. Spotting a trap in one part of the system therefore did not immediately protect the others.
In this setup, a compromised worker put more than its current task at risk. NebuSec says the resulting access could expose campaign targets, findings and collected credentials, or allow results to be altered and runs stopped. It also reports that none of the agents recognized that its own container had been compromised.
Sources
nebusec.aiArtexPot: the honeypots that hack Artex back
Reader comments
Newest comments first. Replies stay oldest first.