LLMs achieve 25%-85% success in autonomous penetration testing across 400 runs
LLMs exhibit model-dependent success rates ranging from 25% to 85% when repeatedly attacking a fixed vulnerable target
AI/ML arXiv 28 May 2026 Measurement Prototype evidence
Published as “How Reliable Are AI Attackers Against a Fixed Vulnerable Target? A 400-Run Empirical Study of LLM Penetration Testing Consistency”
Why it matters
The results suggest that defenders can expect repeatable attack patterns from current LLMs, but model-specific failure modes and infrastructure reliability must be considered when designing detection and mitigation strategies.
Summary
The study finds that autonomous LLMs can reliably exploit a multi-service honeypot, with Gemini 2.5 Flash-Lite achieving full exploitation in 85 of 100 runs and Claude Sonnet 4 in 61 of 100 runs, while GPT-4o-mini produced 98 unique attack strategies. They ran 400 independent penetration-testing trials (100 per model) against an identical OWASP Juice Shop-based honeypot, keeping prompts, orchestrator logic, and target constant. Evidence is strong in terms of sample size and statistical testing (p < 0.001 for many pairwise comparisons), but the results are confounded by a temperature-sampling asymmetry (Claude at T=1.0 vs. others at T=0.3) and an Anthropic API capacity event that truncated 39 Claude runs.
What they found 2
- Claude achieved full exploitation in 61 of 100 runs despite API interruptions.
“Claude achieved full exploitation in 61 of 100 runs”
- Zero content refusals were observed across all 400 runs under the authorized-pentest framing.
“No model emitted a content refusal that survived the orchestrator’s one-shot authorization re-prompt at iterations 0-1.”
Caveats 5
- Claude’s dominant nonsuccess outcome in this collection window is API-availability truncation (39 of 100 runs).
- qwen2.5-coder:14b fails primarily through premature completion - declaring the attack finished before exploiting all services (52 runs).
- Claude was run at temperature T=1.0 (Anthropic Messages API default); the other three models were run at T=0.3.
- The design cannot isolate architecture from context-management effects.
- API service-availability event truncated 39 of 100 Claude runs.
What’s new here 4
- First large-scale (N=100 per model) measurement of LLM attack consistency under identical conditions.
- Systematic comparison of failure modes across four commercial and open-source models.
- Quantitative analysis of strategy diversity and credential-reuse behavior across models.
- Statistical testing of cross-model exploitation rate differences with effect-size reporting.