Skip to main content
CybersecurityHacking

ArtexPot Exploits ARTEX AI Flaws to Hack Back Attackers

A lone laptop screen displays a gradient interface on a clean table in a dimly lit industrial control room.

ArtexPot’s creators say the honeypot can achieve remote code execution against ARTEX 0.3.15 in an average of less than three minutes — and in one test it obtained root in just 27 seconds.

How ArtexPot flips ARTEX against attackers

An open-source honeypot system called ArtexPot was built by researchers at NebuSec to turn the ARTEX AI pentesting framework’s own behaviors into an offensive liability for attackers. ArtexPot runs seven different traps that lure ARTEX agents into executing target-supplied payloads with the aim of compromising the attacking environment. According to NebuSec, the honeypot can run payloads with root privileges and open an encrypted command-and-control session via a compact loader of roughly 4.4 KB.

The three ARTEX design weaknesses ArtexPot exploits

  • Attack-only prompts: ARTEX agents lack operational-security instructions and are not prepared to treat target-supplied files as hostile, creating an opportunity for deceptive inputs to be acted upon.
  • Shared privileged execution: workers, backend services, and generated code run in a shared container with root privileges and outbound network access; that container can include the operator’s keys (LLM API, signing) and credentials.
  • Non‑communicating parallel agents: ARTEX’s parallel AI agents do not share security warnings in real time, so compromises against one worker can go unnoticed by others.

NebuSec summarized that because ARTEX places sensitive credentials and network-capable processes in a single high-privilege environment, compromising any of those components could expose operator credentials, campaign data, discovered vulnerabilities, and previously collected credentials.

Testing results, attack classes, and timings

NebuSec ran a battery of tests against ARTEX version 0.3.15, which the company reports was powered during those tests by DeepSeek’s deepseek-flash-cyber and OpenAI’s gpt-5.6-sol models. In 36 initial runs ArtexPot compromised the execution environment in 33: success in all 18 tests using DeepSeek and in 15 of 18 using OpenAI’s model.

The researchers describe three attack classes exploited by ArtexPot:

  • A trusted tool (git-dumper) is induced to run a malicious .git/config stored in an exposed .git/ directory, bypassing a sanitizer via a zero‑day and executing during git checkout.
  • Target-supplied data that runs when the agent reads or imports it — for example, Python pickle files in exposed directories, poisoned checked-hash .pyc files (PEP 552), or malicious form state, cookies, and pagination cursors that execute on import.
  • Deliberate execution of target-supplied code — NebuSec used a backdoored SDK that the agent was led to install; a later variant replaced the implant with a bounds-check bug in a bytecode interpreter that allowed the server to supply code.

Most successful runs completed in under three minutes. The backdoored SDK was successful in all eight of the tests that used it, and one git-dumper zero‑day exploit produced root access in 27 seconds.

When NebuSec deployed ArtexPot publicly on November 15, the honeypot attracted two automated agents: “One used ARTEX, the other used an unknown pentest framework,” the researchers say. The system returned five verified reverse shells: one shell came back in 57 seconds for the unknown framework and one in 14 seconds for the ARTEX attacker, measured from the moment of exploitation. Measured from the first external request, those shells returned after 3 minutes 42 seconds and 2 minutes, respectively.

Developer recommendations and legal warning

NebuSec sets out several concrete recommendations for developers of autonomous AI penetration‑testing frameworks: isolate workers in disposable sandboxes; remove sensitive credentials from execution environments; restrict outbound network connections; and implement mechanisms to stop parallel workers when a threat is detected. The company also cautions that “hacking back without authorization is illegal in many jurisdictions.” To limit legal exposure, NebuSec says ArtexPot was designed to collect only basic information from a compromised environment before terminating the connection rather than maintaining persistent access.

What this means for technologists, defenders, and open-source maintainers

  • Technologists and security teams: NebuSec’s results argue for immediate hardening steps — sandboxing agents, removing embedded keys, and tightening outbound egress — because the shared-container, root-privileged model is the central vulnerability ArtexPot exploited.
  • Defenders and incident responders: the FBI’s recent public alert urging adoption of AI automation into incident response is echoed here; NebuSec’s public deployment shows deception and automated traps can detect and, in controlled tests, compromise attacking frameworks, but defenders must weigh legal limits on “hack back” activity.
  • Open-source maintainers: NebuSec notified the maintainer of the git-dumper tool on November 28 about the sanitizer bypass the researchers discovered, underscoring the importance of patching toolchains and sanitizers that are trusted by autonomous agents.

ArtexPot demonstrates that flaws in autonomous pentesting frameworks can be weaponized by defenders in controlled ways, but the wider lesson is procedural: frameworks that give broad privileges and network access to generated code create a single point of failure. NebuSec will host an open conversation on December 15 featuring Eoin Hinchy, Martin Moroney, and Christina Troy to discuss what worked, what didn’t, and lessons learned — an invitation that reinforces the project’s dual message of technical remediation and legal caution.

Original story