How Target-Supplied Files Led ARTEX to Execute Code in Its Own Container


Cloud Security Alliance AI Safety Initiative
other
Hacking the Hacker’s Agent: Target-Side Code Execution Against ARTEX
The Hacker News
news
ARTEX AI Hacking Tool Used by Cybercriminals Can Be Hacked by Its Own Targets
SecQuill
news
NebuSec honeypots took control of the ARTEX AI hacking agent in lab tests
Selected laboratory results
NebuSec reported root execution in 33 of 36 initial runs across six purpose-built scenarios, not a field-wide compromise rate.
Artifact execution boundary
Repository recovery, Python artifact handling and target-supplied software created execution paths despite failed direct prompt-injection probes.
No host escape
The demonstrations established execution inside ARTEX’s container, without demonstrating escape to the underlying host.
Target-controlled files and repositories caused the autonomous penetration-testing platform ARTEX to execute code inside its own container, without successful direct prompt injection, according to a Cloud Security Alliance research note published December 1, 2026. NebuSec reported root execution in 33 of 36 selected laboratory runs against unmodified ARTEX 0.3.15. No escape to the underlying host was demonstrated.1
The distinction matters for security researchers and penetration testers: a model can reject malicious instructions while its tools execute hostile artifacts. In the tested deployment, target-facing commands shared a privileged runtime with the platform’s backend and operator secrets. That made the execution boundary—not just the model’s judgment—the central concern.1,3
NebuSec’s initial results covered six purpose-built ArtexPot scenarios, two model configurations and fresh containers. A seventh scenario, tested separately, succeeded in eight of eight runs. These were researcher-selected conditions, not a representative sample of deployed agents. The model configurations also received different task instructions.1,2
Other research adds evidence but does not provide equivalent replication. Baldur Security documented one container reverse shell using one model; root privileges were not confirmed. Café Security Research reviewed source code without executing an attack. Neither establishes another repeated experimental success rate.1,2
The successful traps crossed three boundaries: a trusted reconnaissance tool mishandled hostile input, an apparent data-reading operation implicitly executed code, or the agent deliberately ran target-provided software while pursuing credentials or findings.1,3
The reported git-dumper case illustrates the first route. A decoy exposed a .git directory that resisted normal cloning, steering ARTEX toward repository-recovery tooling. NebuSec says malicious repository configuration bypassed git-dumper’s sanitizer and triggered execution during checkout. A routine tool choice—not obedience to an injected instruction—provided the entry point.1,3,5
NebuSec reported notifying the maintainer on November 28, 2026. The December 1 research note described the bypass as unpatched at publication. That is a reported disclosure status, not independent verification of the defect or its current remediation. Secondary accounts are not separate reproductions.1,3
Other traps used Python pickle backups and form state, poisoned bytecode, or packages and helpers the agent ran to advance its assessment. In each case, target-supplied material acquired executable meaning inside the agent’s environment.3,5
Direct prompt-injection attempts produced no execution in eight tests, and 17 command-injection probes also failed. Those results show resistance to the tested bait—not safe handling of repositories, serialized objects or dependencies.2,4
The reported shared container held workers, backend components and model-generated shell commands alongside model-service keys, database credentials and a console signing key. It also had unrestricted outbound access. This architecture could expose operator secrets after a worker compromise.1,3,4
Accessible secrets, however, are not proof that every credential was stolen or used. Forged sessions, altered findings and further pivots are potential consequences, not demonstrated end-to-end outcomes. Root execution inside the container likewise does not establish control of the host operating system.1
NebuSec also reported five reverse-shell sessions from two frameworks visiting its public honeypot on November 30: two attributed to ARTEX and three to an unidentified framework. These reportedly used existing non-root privileges. Five sessions do not establish five operators, machines or campaigns.2
Operator identities, authorization and host access remained unverified. The Hacker News also identified conflicting wording: the account described public traffic, while a timeline caption referred to internal testing. These captures should therefore not be presented as confirmed compromises of criminal operators.2,4
The practical response is to isolate target-facing execution from the console, planner, database and credentials. Disposable, unprivileged workers, restricted outbound access and scope enforcement outside the model address boundaries that model refusals cannot reliably enforce. Artifact-processing tools need that isolation too—not just commands the agent recognizes as dangerous.1,2
For defenders, the demonstrations establish an attack surface, not authorization to execute code on someone else’s infrastructure. Passive observation and explicitly authorized laboratory testing remain distinct from active compromise of visiting agents.1,2
Target-controlled artifact
A file, repository, package or other object supplied by the system being assessed, whose contents may be hostile to the assessment tools.
Direct prompt injection
An attempt to make a model follow instructions embedded in untrusted material rather than its authorized task.
Container root versus host escape
Root execution grants administrative privileges within the container; host escape crosses the isolation boundary into the underlying system.
Sanitizer bypass
A way for dangerous input to survive a tool’s filtering or cleanup and reach a sensitive operation.
Comments