
An open-source honeypot called ArtexPot turns the ARTEX AI penetration-testing framework against its operators by exploiting weaknesses in the platform and running payloads with root privileges inside the attacking environment. NebuSec, which developed ArtexPot, says its traps achieved remote code execution against ARTEX version 0.3.15 in less than three minutes on average, with the fastest compromise taking 27 seconds.
Researchers at cybersecurity firm NebuSec built ArtexPot after identifying three attack vectors that could allow an ARTEX agent to take control of the platform without detecting that it had been compromised. The company also said a public deployment of the honeypot successfully captured another, unidentified penetration-testing framework.
ARTEX AI becomes a target for attackers
ARTEX launched in July as an AI-powered security penetration-testing tool that automates multiple stages of a cyberattack, including reconnaissance, vulnerability discovery, exploitation and data breaches.
By October, cybercriminals had begun using it. The first reported account involved an attack on South Korea’s financial sector attributed to Chinese actors.
Chinese hackers have also been accused of using ARTEX in attacks against more than 200 organizations in the government, telecommunications, pharmaceutical, semiconductor, defense, nuclear and financial sectors.
Since September, Microsoft has observed Chinese-aligned attackers using penetration-testing frameworks to gain “privileged access to an organization’s cloud infrastructure,” sometimes within three hours.
The framework has become so popular among malicious actors that the FBI warned in mid-November that multiple attackers were weaponizing it. In a public alert this weekend, the FBI urged defenders to incorporate AI automation into incident-response processes to keep pace with the machine speed of current attacks.
Honeypot exploits ARTEX design weaknesses
ArtexPot contains seven honeypots that exploit three design weaknesses in ARTEX, turning the framework’s engine into what NebuSec describes as a “gift to the defender.”
- Attack-only prompt: The agent lacks operational-security instructions and is not prepared to handle hostile files supplied by a target.
- Privileged shared container: A container running with root privileges has outbound network access and contains operator keys, including LLM API and signing keys, as well as credentials.
- Limited coordination: Parallel AI agents do not share security alerts in real time.
ARTEX workers, backend services and generated code run in a shared container with root privileges and unrestricted outbound network access. A compromise of any of these components could therefore expose operator credentials, campaign data, identified vulnerabilities and previously collected credentials.

Source: NebuSec
Prompt injection was not enough
NebuSec’s ArtexPot testing included eight prompt-injection attempts against a single target. Each attempt instructed the agent to fetch and run a script.
The approach failed in seven cases because ARTEX workers downloaded the script but did not execute it. ARTEX’s planner detected the attempted injection and instructed the workers to perform only a static inspection.
The researchers said command injection also failed, noting in a report this week that “the agent quoted or encoded untrusted input and flagged it as honeypot bait.”
NebuSec conducted 36 initial tests against ARTEX 0.3.15 using the DeepSeek-Flash-Cyber and OpenAI gpt-5.6-sol models. According to the company, ArtexPot compromised the execution environment in 33 runs, passing all 18 tests involving DeepSeek and 15 of 18 tests involving OpenAI’s model.
Three attack vectors
The first attack class abuses a trusted tool through a public .git/ directory containing a malicious .git/config file. The technique bypasses git-dumper’s sanitizer through a zero-day flaw and executes when the tool performs a Git checkout.
The second vulnerability can enable code execution when an agent reads or imports data. Examples include Python pickle files hidden in published directories or in form states, cookies and pagination cursors, as well as poisoned hash-checking .pyc files using PEP 552. The code is executed when Python imports the corresponding module.
The third attack class relies on agents intentionally executing code supplied by the target. NebuSec used a backdoored software development kit that agents were induced to install.
In a second round of testing, the researchers replaced the SDK implant with a bounds-checking bug in the bytecode interpreter, allowing the server to serve the code.
Each trap delivers approximately 4.4 KB of loader code that opens an encrypted command-and-control (C2) session.

Source: NebuSec
Most executions completed in less than three minutes, and the backdoored SDK succeeded in all eight cases. In one example, ArtexPot gained root access inside ARTEX in 27 seconds by exploiting a zero-day vulnerability in git-dumper.
On November 28, NebuSec researchers notified the administrators of the open-source git-dumper tool about the bypass they had discovered.
ArtexPot captures penetration-testing agents
On November 15, researchers deployed an ArtexPot honeypot on the NebuSec platform and captured two automated agents probing it.
“One used ARTEX and the other used an unknown penetration testing framework,” the researchers said.
The honeypot returned five verified reverse shells. One was obtained in 57 seconds from the unknown penetration-testing framework, while another took just 14 seconds from ARTEX operating with the agent’s existing non-root privileges.
“Measured from the initial request, the shells returned 3 minutes and 42 seconds and 2 minutes later, respectively,” NebuSec noted.
The public version of ArtexPot is not the most powerful version of the honeypot. NebuSec said it also built a more capable research version that uses zero-day vulnerabilities and additional deception techniques designed to defend against AI-driven cyberattacks.
Recommendations for autonomous security tools
NebuSec recommends that developers of autonomous AI penetration-testing frameworks isolate workers in disposable sandboxes and remove sensitive credentials from their execution environments.
The company also recommends limiting outbound network connections and stopping parallel workers when a threat is detected.
NebuSec warned that hacking back without permission is illegal in many jurisdictions. It designed ArtexPot to collect only basic information from a compromised environment before terminating the connection, without maintaining persistent access.
Source: www.bleepingcomputer.com











