ArtexPot Looks to Turn Tables on AI Pen Testing Tool
Researchers developed a new honeypot system designed to hijack malicious Artex agents from inside their own containers.
Researchers introduced a new Artex honeypot that may act as an effective defense against one of the more powerful threat tools in recent memory.
Artex, the AI-powered penetration testing tool, has become one of the largest security stories in recent months. Published to GitHub in July by independent developer Autumn-27, Artex can brute force passwords, dump databases, abuse APIs, and more. And because it’s powered by agentic AI, it can operate at inhuman speeds.
It originally was released for legitimate use, but threat actors began abusing it over the summer; this abuse grew widespread over the fall. Autumn-27 deleted the original GitHub repository at the end of October, but many forks remain and attacks continue. The Cybersecurity and Infrastructure Security Agency (CISA) said yesterday that it has responded to “numerous” incidents involving agentic offensive frameworks (AOFs) targeting federal, state, and local government agencies as well as critical infrastructure agencies.
The use of AI agents separates it from conventional pen testing tools like Cobalt Strike, which are capable but highly interactive, and not capable of machine-speed compromise. Microsoft, for instance, recently observed an AI agent move from scanning GitHub for secrets to exfiltrating data from an Azure Key Vault in five minutes.
To date, much of the advice for defenders has involved hardening Internet-facing systems and credentials, and hunting for exposed secrets. This advice still holds, but researchers from NebuSec recently introduced a new defense, called “ArtexPot,” that attempts to hack the Artex agents that target it.
Seven Honeypots in One
ArtexPot is an open source honeypot system, available through GitHub, that takes advantage of weaknesses in the AI pent testing tool.
According to a NebuSec blog post, Artex has three core design flaws that make it particularly suited for reverse hacking. One, the tool is solely told to attack and includes virtually no self-defensive or OPSEC instructions to speak of. Two, the back end, plus every worker and shell command, share a single container running as root. And three, workers can’t share warnings in real time.
ArtexPot includes seven honeypots chained together so that an Artex attack ends with honeypot code running inside the agent’s own container, enabling the defender to effectively hijack the malicious agent. The honeypots include three types of traps: unpatched flaws in tools the agent trusts; “loot” such as tokens and passwords that are gated behind the risk Artex can identify; and actions that look plausibly harmless from a target standpoint but are not. Six of the honeypots include payloads, while the seventh includes a back-doored SDK.
“Once an agent takes the bait, we write whatever payload we want on our command-and-control (C2) server and execute it as root inside the attacker’s container. No matter how hostile that payload is, the agent never gets to inspect it, and not a single agent ever realized its own container was owned,” NebuSec wrote. “From there, the operator’s entire attack box is ours: we can pull their LLM API keys and database credentials, forge logins to their Artex console, read every target, finding, and stolen credential in their campaign, poison their results or kill the run, and pivot into their own network.”
A Strong Proof of Concept
In 33 of 36 runs spent testing default configurations of Artex 0.3.15 against the honeypots, the target compromised the attacker, the security vendor claimed.
A NebuSec spokesperson tells Dark Reading that ArtexPot, by design, cannot directly attack anyone, as it is passive and only responds after an agent chooses to attack the honeypot.
“The main publication risk is that attackers may study the project and harden their agents against these specific techniques,” the spokesperson says. “We do not believe secrecy is an effective long-term security strategy here. Manipulating autonomous agents is not an obscure technique that only we understand. … Releasing ArtexPot gives the industry a reproducible way to understand the risk and improve agent security standards.”
Guy Amir, CEO and co-founder of Vision Security, says that while ArtexPot represents a “strong proof of concept,” the honeypot project is more practical than many will assume.
“NebuSec proved something defenders have suspected for a while: AI attack agents are greedy and trusting. They grab anything that looks like credentials or source code, and they don’t get suspicious the way a human operator does,” he says. “Most companies shouldn’t take it all the way to a shell on the attacker’s machine. That crosses from defense into offense, which is a legal problem in most countries, and you rarely know whose machine is really on the other end. But you don’t need the shell to get the value — a decoy that an agent touches gives you a clean detection, burns the attacker’s time and tokens, and shows you the infrastructure it came from.”
Originally published on Dark Reading