A new AI pentesting benchmark found that a 450-line Python loop running one agent kept pace with or outran ARTEX, a freely available multi-agent framework tied to several recent breaches. That held for every model tested, and the loop burned as little as one fourteenth of the tokens. The result suggests the model driving an attack matters far more than the tooling around it.
The tests ran against a purpose-built Active Directory lab, and each model compromised the full environment at least once. The speed is the part defenders will care about.
What ARTEX is and why it was tested
ARTEX appeared in mid-2026, and attackers were using it within weeks. South Korean banks were hit, with data on about 67,000 people exposed. CrowdStrike linked it to a campaign across 14 countries that reached over 200 organizations. The FBI put out a FLASH alert in November.
Under the hood, a planner agent divides the job into tasks and hands them to workers that run actual tools. What the workers discover is pooled in shared graphs of assets and findings. The question was whether that design adds anything over a plain single-agent loop, or whether the underlying model does the heavy lifting.
How the AI pentesting benchmark worked
The target was an altered copy of GOAD, a popular Active Directory training lab, changed so models were less likely to have seen it. It runs nine Windows Server hosts across three domains and two forests, and success meant taking over the domain controllers. Roughly 80 harmless accounts and machines add clutter, and four decoys go nowhere.
The test pitted stock ARTEX (a planner plus three workers) against a 450-line “solo” loop that has just a bash tool and a finish tool, and against ARTEX given an Active Directory instruction file. Five models drove them: DeepSeek V4.1 Flash, GLM-5.3, Claude Sonnet 4.6, Claude Opus 4.8 and Amazon Ergo 1.0.
An earlier lab was set aside because models half-recognized its layout and two setup errors leaked answers. The results here come from the second, more heavily disguised lab.
The simple loop won
With default settings the solo loop beat ARTEX on every model: by 6 minutes with DeepSeek, and by a factor of 4.5 with Ergo. Noise didn’t drop, though. For four of the five models, each setup tripped 14 to 40 detections. ARTEX just stretched them across a longer attack.
Ergo showed the gap most clearly. On its own it took all three domains in 55 minutes. Inside ARTEX it needed 250.
The likely causes sit in the scheduler:
- The planner pushes for two or three attack routes in parallel and discourages settling early.
- Workers get cut off after 20 minutes, a limit Ergo’s workers reached on 18 of 32 tasks.
- Every new worker begins cold. Eight different Ergo workers each worked up to SYSTEM on one host.
- Ergo’s three workers were all active together for just 66 of 250 minutes.
Cutting ARTEX to one worker made it worse. With DeepSeek it had two domains after 176 minutes, while the solo loop had all three at 80.
Why the model counted for more
A rough split of the results put about 64% of the variance on the model and 21% on the tooling. With one run per configuration, that split is approximate. On the same goal and default settings, times ranged from 55 to 385 minutes and costs from $3.49 to $832.
- Ergo was fastest at 55 minutes, with 80 on a rerun, and it never refused the task.
- DeepSeek V4.1 Flash cost the least and moved quickly in both setups.
- Opus needed 86 minutes alone, yet inside ARTEX it ran twice as long and cost 5.6 times more.
- Sonnet was the laggard at 309 minutes, and it cost the most. Its solo loop once quit after a single domain.
Opus 5.5 was the only model stopped by safeguards. It declined the penetration-testing goal on the first request, whether sent through ARTEX or directly to the API. No other model balked, open-weight ones included.
Cost comes with a caveat. ARTEX skipped Anthropic’s prompt caching, so Claude models paid the full rate for repeated tokens. At the cache hit rate the other models saw, Opus’s $440 bill would have been roughly $90.
How little time defenders have
The second forest, the hardest one, was always the last to fall across the 17 complete runs, a median of 104 minutes behind the first. The first forest was easier: half the runs had a domain inside 20 minutes, and the quickest needed 8.
The gap between the first high or critical alert and the first DCSync was short. In 9 of 22 runs it was a minute or less, and 5 gave no warning at all. Measured from the first visible sign of a compromised host, a domain fell after a median of 12 minutes, and in 10 runs after under 10. Triage and response time come on top.
The best run was still far from what’s possible. An ideal run with no wrong turns would take this lab about 3 to 8 minutes, so Ergo’s 55 minutes is roughly 7 to 18 times the floor.
Reasoning mode didn’t help much either. It sped up the easy first forest, but on the hard forest Opus spent 263 minutes against 70 without it.
What to watch next
This AI pentesting benchmark points to faster models, not fancier orchestration, as the thing that shortens attacks. The sample is small, with one run per configuration, so single times are noisy. The ranking of models and the loop’s lead over ARTEX looked stable across both labs.
Security teams should plan around a response time measured in minutes. The benchmark also reopens questions about export controls on models and GPUs, and about how far open-weight models trail closed frontier ones. Here, a cheap open-weight model kept pace with the expensive ones.
Source: vincenzoiozzo.com