# What the ARTEX attacks tell defenders about AI pentesting

> Source: <https://www.aikido.dev/blog/artex-ai-pentesting-defenders>
> Published: 2026-11-24 15:47:00+00:00

ARTEX, the open-source framework that runs a team of AI agents through a penetration test, has caused quite the stir in the security community. It was just published in July, and [pulled by the developer](https://www.ic3.gov/CSA/2026/261113.pdf) after just a few months on October 8.

So why did the developer pull it at the height of its fame, [Flappy Bird style](https://www.bbc.com/news/technology-26114364)? ARTEX was hugely popular too, but for all the wrong reasons. It was built for authorized security testing. Criminals used it for exactly the opposite.

ARTEX works through a planner agent that hands tasks to worker agents that share a board of findings, and the operator connects the agents to whichever model they prefer. The orchestration runs on the attacker's infrastructure, and what gets installed on a victim's machines, such as web shells or remote access tools, depends on the operator and the campaign. The model, tools and infrastructure can all be swapped out.

Some security teams will be tempted to use it, or something like it, themselves. A lot more will find themselves on the receiving end.

## What has ARTEX been used to attack?

The [FBI says criminals have used it since at least August](https://www.ic3.gov/CSA/2026/261113.pdf), against financial services, government, technology, defense, healthcare and other sectors, and [issued a warning about it](https://techcrunch.com/2026/11/16/fbi-says-artex-ai-open-source-hacking-tool-used-to-breach-networks-in-under-three-hours/) earlier this month. In South Korea, attackers took personal data on about 67,000 people from financial institutions, and police have [arrested seven suspects over attacks on more than 90 organizations](https://www.bleepingcomputer.com/news/security/fbi-warns-artex-ai-hacking-tool-is-powering-global-cyberattacks/). ARTEX was reportedly used in most of them.

[Microsoft says](https://thehackernews.com/2026/10/china-linked-hackers-use-artex-ai.html) a China-aligned group used it to attempt sign-ins at more than 2,250 Microsoft 365 tenants, using stolen ConnectWise application identities. [Barracuda](https://www.bleepingcomputer.com/news/security/barracuda-links-cloud-breach-to-artex-ai-powered-cyberattack/) and [WorkOS](https://workos.com/security/bulletins/update-for-october-30th-2026-data-security-incident) have each disclosed breaches linked to it, with Barracuda's beginning with [a compromised third-party credential it had not yet revoked](https://techcrunch.com/2026/11/16/fbi-says-artex-ai-open-source-hacking-tool-used-to-breach-networks-in-under-three-hours/).

And pulling it out of GitHub hasn't stopped its use. [Forks, translated copies and a commercial version](https://infosecurity-magazine.com/news/artex-activity-exceeds-reported) are still circulating, and [researchers found more than 1,600 live consoles](https://www.ic3.gov/CSA/2026/261113.pdf) in early November. Some operators were careless with their own security: [TechCrunch reports](https://techcrunch.com/2026/11/16/fbi-says-artex-ai-open-source-hacking-tool-used-to-breach-networks-in-under-three-hours/) that hundreds of ARTEX consoles were left online with no password, including the one used against South Korea, so anyone who found them could see how the operators were running their campaigns.

But the wider point is that ARTEX and its iterations are just one of many open-source frameworks that aim to do the same thing, including [CyberStrikeAI, PentAGI and HexStrike](https://securityweek.com/ai-framework-autonomously-weaponized-flaws-in-real-attacks-google-says), among others.

## How did ARTEX actually assist attackers?

Well, firstly, [the FBI's list of what ARTEX exploited for initial access](https://www.ic3.gov/CSA/2026/261113.pdf) is a list of familiar problems, such as administrator passwords hardcoded in JavaScript, APIs with no authentication, IDORs, command and template injection, weak admin credentials. [AWS security researchers](https://thehackernews.com/2026/11/amazon-uncovers-ai-agent-campaign.html) saw keys left in code and default credentials, and emphasized that none of the techniques were new. Several of the incidents began with a credential that was stolen, exposed or never revoked.

AI pentesting, through frameworks or commercial products, is well equipped to find the bug classes in that list. A vendor login that wasn't revoked or a stolen application identity needs other fixes, such as MFA, credential rotation and keeping secrets out of code.

The targets were often the applications that weren't closely monitored or watched. [CrowdStrike reports](https://www.crowdstrike.com/en-us/blog/unknown-threat-actor-uses-artex-to-target-south-korean-finance/) that attackers reportedly got in through a loan progress inquiry service used by brokers at one Korean bank and an employee mobile work-support system at another, and [the FBI lists partner portals, mobile backends and sales-support tools](https://www.ic3.gov/CSA/2026/261113.pdf).

The attackers using ARTEX aren't finding novel new techniques. They're using techniques that have been known for ages. What ARTEX adds is scale: It was never this simple to launch an army of agents. Agents are persistent and leave no stone unturned.

## What should defenders do to counter?

What the ARTEX attacks show is a timing problem. [Microsoft says](https://thehackernews.com/2026/10/china-linked-hackers-use-artex-ai.html) some intrusions went from initial target to privileged access in less than three hours, so the most important thing is how long a company takes to find an issue and fix it. But we know this is a widespread problem. In [our survey of 400 security and engineering leaders](https://www.aikido.dev/state-of-ai-pentesting), we found 76% deploy significant changes weekly or faster, and only 21% validate security on every release. So most teams ship some changes that haven't been validated, creating a perfect opening for attackers to exploit.

So the answer starts with knowing what you own. [The FBI's first recommendation](https://www.ic3.gov/CSA/2026/261113.pdf) is to inventory every internet-facing application, including the peripheral ones like partner portals and mobile backends, because you can't test what you don't know about. Then run AI pentests on those applications, APIs and external networks regularly, before an attacker does, and fix what turns up quickly. (The credential best practices still matter, because no pentest replaces adopting MFA or revoking a vendor login exposed in a breach.) Tightening your WAF is sensible, though a pentest that gets blocked at the WAF can come back clean and give you a false sense of security, so test the application itself, in staging with the test traffic allowed through.

The inevitable question then becomes…

## Can't we just run an OSS pentesting framework ourselves?

It's a fair question. And sure, the way attackers have used ARTEX shows how fast and cheap this kind of testing has become. But defenders are trying to do something different. An attacker is done once an agent gets in. A defender needs to know about every bug that could let someone in, including the ones an attacker would skip, like an XSS sitting next to the remote code execution that got an agent in. Running an open-source framework for that job raises a few questions.

First, how secure is the OSS framework in question? An independent researcher reported a [backdoored Docker image](https://labs.cloudsecurityalliance.org/research/csa-research-note-trojanized-offensive-ai-tooling-20261106-c/) among the copies of ARTEX, which means anyone running a copy they didn't build could be installing someone else's backdoor. Your use of these tools should not become the path to a breach or security incident.

Second, what happens in a scenario where an agent drifts out of scope? If an attacker's agent wanders off or gets something wrong, it doesn't really cost them anything. If yours does, you have an outage, a legal problem, or a breach of someone else's system.

ARTEX does have scope controls: allow and deny rules, and command interception. But the operator writes them, and attackers choose their own exclusions. If one model provider cuts off a key, ARTEX moves on to the next, so a single provider's safeguards can't be relied on to keep an agent in bounds. For a defender, the limits have to be enforced outside the model and tied to verified ownership, so the tool only tests domains you've proven you own, before any test runs. A network-level allow list with no open internet access for the agents does that, and production stays out of scope until someone signs it in.

A tool built for defenders stops destructive commands before they run, caps the request rate and sticks to an execution window of time and set of dates for testing. It runs per the Rules of Engagement (RoE) from declared IP addresses and often with an explicit user agent identifier, so you can allowlist the two together (a user agent header on its own proves nothing). It also logs every request for your audit and review, and can be paused at any point. Logins are another sticking point. Most real applications sit behind SSO or MFA, and not every open-source offensive pentesting framework can handle that.

A defender does have something the people running ARTEX lack: access. The people running ARTEX test from the outside, without knowledge of your source code and without permission. You have both, and in [our research across more than 1,000 AI pentests](https://www.aikido.dev/reports/why-code-access-drives-higher-roi-in-ai-pentesting), having source code access discovers 7 times as many high and critical issues as greybox testing on the same targets.

Source code access is also the hardest part to incorporate yourself. With open-source frameworks, connecting your repos and keeping the index current is only the start, because an agent that holds your code and credentials is exactly what attackers hunt for. From October to early November, [AWS's decoy sensors picked up ARTEX agents going after AI gateways and agent platforms](https://www.theregister.com/a/5310223) through default keys and open admin pages, and [Google reports attackers stealing credentials that give access to frontier models](https://www.bleepingcomputer.com/news/security/google-llmjacking-attacks-rack-up-1-million-in-cloud-ai-charges/). A safer design is to keep your source code away from the part that runs commands against the target, so a tricked or compromised agent has no repository to hand over. With open-source frameworks, designing and testing that split is up to you. The same split helps keep a test executing within a controlled scope.

Open-source tools let you plug in any model and leave you to work out which one suits each stage of testing and how to run each cheaply. In [our own benchmark](https://www.aikido.dev/aikido-arena), pooled runs from cheaper models matched the flagship at a fraction of the cost. With an open-source framework you get the agents and have to build the necessary controls above yourself, from verified ownership to scope enforcement. A commercial tool built for defenders already has them.

## So what now?

Attackers abusing open-source tools is nothing new. What the FBI's warning marks is how much of an operation the agents can now run largely on their own. ARTEX is the one getting attention now, and there will be many others, but the weaknesses they go after will stay the same: mostly ordinary ones that can be fixed.

Defenders have both the source code and the permission to test it, which the people running ARTEX lack. The next year or more is likely to be painful until teams make automated testing a routine part of every release. So test every release with a tool built for defenders, and shorten the time between finding a weakness and fixing it, so the malicious agents don't get there first.

We've written more on what to look for in our guide to building or buying AI pentesting, which you can download [here](https://www.aikido.dev/reports/build-vs-buy-guide-ai-pentesting).
