Skip to content

Large language model-driven AI systems exhibit emergent autonomous penetration capabilityThe Emergence of Autonomous Penetration Capabilities in Large Language Model-Powered AI Systems

arXiv· arXiv:2606.13079· Jiaqi Luo, Jiarun Dai, Zhile Chen, Jia Xu, Weibing Wang, Yawen Duan, Brian Tse, Geng Hong, Xudong Pan, Yuan Zhang, Min YangFudan University; Shanghai Artificial Intelligence Laboratory; Concordia AI; Shanghai Innovation InstituteIndexed by this site · 25 days ago· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors built 300 target machines containing real CVE vulnerabilities to evaluate the autonomous penetration capability of 19 LLMs, with success rates of 10.7%–69.3%, which the authors state are positively correlated with the models' general capabilities.

Questions
Autonomous penetration is a core sub-capability of the high-risk cyberattack capabilities of frontier AI systems, but the authors consider that existing evaluation methods are opaque, scenarios are unrealistic (CTF-style flag-finding, single-service target machines), and LLMs are given too much prior knowledge, so they cannot reflect the real level of autonomous penetration.
Methods
Built 300 Docker target machines: 30 real CVE vulnerable services that allow RCE, paired with 1 (Tier 1) or 3 (Tier 2) non-vulnerable secure services as noise; the general agent architecture is given only the target IP and calls Nmap, WhatWeb, and Metasploit via MCP; the criterion for success is obtaining a reverse shell.
Experiments and results
The success rates of the 19 models range from 10.7% to 69.3% (Tier 1: 12.0%–69.3%); the Pearson r between success rate and LiveBench total score is 0.886 (Tier 1) and 0.830 (Tier 2); the main causes of failure are insufficient tool capability (46%) and improper tool use (42%).
Limitations and future work
The authors state that the metric covers only obtaining an initial shell, and does not include post-exploitation stages such as lateral movement and privilege escalation, nor does it consider active defenses such as honeypots; the experiments cover only 30 CVEs, each model-target machine pair is repeated 3 times, and the paper does not report confidence intervals for each model's success rate (given only for two exception models).
Experimental setupGemini 3 Pro Preview、Claude Opus 4.5 Reasoning et al. · 300台自建目标服务器(30个CVE,Tier 1/Tier 2两级环境)、LiveBench(用于通用能力相关性分析) · penetration success rate、Pearson相关系数
Threat model
The attacker is an LLM-driven AI system that performs autonomous penetration against target servers under a black-box setting: with no prior knowledge of the target and no task-specific instructions, given only the target IP, it autonomously reconnoiters, identifies, and exploits vulnerabilities through general-purpose cybersecurity tools (Nmap, WhatWeb, Metasploit), ultimately obtaining a reverse shell to fully control the target server.
Evaluated models
Gemini 3 Pro PreviewClaude Opus 4.5 ReasoningGPT-5.2 (high)GPT-5.1 (high)Kimi K2 ThinkingGLM-4.7Doubao Seed 1.8 (251215 High)Doubao Seed 1.6 (251015 High)ERNIE 5.0 Thinking PreviewHY 2.0 ThinkMiniMax M2.1MiniMax M2Deepseek-V3.1Deepseek-R1(0528)Deepseek-coder-v2Qwen3-235B(250725)Qwen3-32BQwen2.5-72BLlama-3.3-70B
Benchmarks
300台自建目标服务器(30个CVE,Tier 1/Tier 2两级环境)LiveBench(用于通用能力相关性分析)
Metrics
penetration success ratePearson相关系数
AI summaryResearchers built an autonomous penetration testing evaluation framework and evaluated 19 open-weight and closed-source large language models on 300 target servers, with penetration success rates ranging from 10.7% to 69.3%. The framework sets up two types of target environments, Tier 1 and Tier 2, deploying 1 and 3 secure services with no known vulnerabilities, respectively, coexisting with one vulnerable service. The agents use a general architecture and are equipped with general cybersecurity tools, with no target-specific prior knowledge provided. The authors observed that autonomous penetration capability continues to improve as overall model capability improves.

Researchers built an autonomous penetration testing evaluation framework and evaluated 19 open-weight and closed-source large language models on 300 target servers, with penetration success rates ranging from 10.7% to 69.3%. The framework sets up two types of target environments, Tier 1 and Tier 2, deploying 1 and 3 secure services with no known vulnerabilities, respectively, coexisting with one vulnerable service. The agents use a general architecture and are equipped with general cybersecurity tools, with no target-specific prior knowledge provided. The authors observed that autonomous penetration capability continues to improve as overall model capability improves.

Related events and news

1 events · 2 news mentions

News that mentions this paper

Concordia AI 分析中国开源模型的安全风险与治理

  • 安远AIcites the paper's id or link
    中国开源最强 AI 模型,安全吗?
    After all, the best AI models are already capable of enabling sophisticated cyber attacks and an open version would be harder to control.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Existing autonomous penetration evaluations are opaque, scenarios are unrealistic, and there is too much prior information; the authors build a more realistic evaluation framework to test 19 LLMs.

    Core question: how to realistically and transparently evaluate the capability of LLM-driven AI systems to autonomously penetrate target servers without human intervention.

    • Problem scenario: The authors state that autonomous penetration is a core enabling capability within the high-risk cyberattack red lines of frontier AI systems, and could launch attacks at unprecedented scale and speed, overwhelming human defenses.
    • Existing shortcomings: The authors point out three types of problems—the evaluation methods of OpenAI and Anthropic are opaque and hard to reproduce; most benchmarks are CTF-style flag-finding or simplified environments with single vulnerable services; many evaluations provide LLMs with excessive priors such as service versions, entry hints, or even exploitation paths.
    • Core observation: Real servers usually run multiple services and most are non-vulnerable; secure services constitute noise, requiring the agent to conduct full reconnaissance and identify the real attack surface; real penetration testers have very few priors.
    • Paper's approach: Build an evaluation framework containing 300 target servers (30 real CVEs, two complexity tiers Tier 1/Tier 2) and a general agent scaffold, and evaluate 19 LLMs.
    • Threat model:
      • Goal: Identify and exploit vulnerabilities in the target server to obtain a reverse shell, achieving arbitrary code execution and full control.
      • Knowledge: Black-box setting, with no prior knowledge of the target's source code, runtime state, configuration, etc.
      • Capability: Given only the target IP, autonomously reconnoiter, plan, and exploit through general tools (Nmap, WhatWeb, Metasploit), with no human intervention.
      • Victim system: A Dockerized target server running multiple network services (at least one containing an RCE vulnerability), with NX/DEP and ASLR enabled by default.
  2. What related research exists?

    Related work falls into three categories: vendor system card evaluations, CTF-style academic benchmarks, and penetration platforms; the authors point out the limitations of each.

    Vendor system card evaluations

    • OpenAI GPT-5.2 system card [6] and Anthropic Claude Opus 4.5 system card [8]—evaluate autonomous penetration capability in a cyber-range environment; the authors point out that their scaffolding, target configuration, vulnerability setup, and evaluation protocol are opaque, making reproduction and systematic comparison difficult.

    CTF-style and simplified-scenario academic benchmarks

    • PentestGPT [7], CyberBench [10], NYU CTF Bench [11], etc.—evaluate LLM attack and defense capability with capture-the-flag tasks; the authors point out that the goal of finding a predefined flag is inconsistent with real penetration (obtaining an interactive shell, arbitrary code execution), and that most target servers contain only one exploitable service.
    • Phuong et al. [12], Rodriguez et al. [13], Barrett et al. [14]—evaluate frontier model dangerous capabilities or quantify cyber misuse risk, and are likewise classified by the authors as simplified-scenario work.

    Benchmarks that provide too much prior information

    • AutoPenBench [9]—the authors point out that it exposes prior information such as service names and versions, entry hints, and predefined exploitation paths.
    • CVE-Bench [16]—the authors point out that it provides implementation details of the vulnerable service, target IP and port, and attack goals, and in some cases even gives specific exploitation instructions.

    Penetration testing platforms

    • Vulhub [22] and Hack The Box [21]—the authors point out that they are designed for human training, lack mechanisms to automatically verify compromise and track agent progress, and usually expose only vulnerable services without benign background services.

    Positioning: The authors state that this paper differs in that: the method is fully public, uses real CVE vulnerabilities with reverse shell as the goal, introduces security service noise, and gives the LLM only the target IP as minimal prior information. This paper has no comparison baseline method; the evaluation subjects are the 19 LLMs themselves.

  3. How does the paper address this problem?

    A general agent scaffold (three modules: thinking/memory/tools) plus 300 two-tier Docker target machines, with only the target IP given.

    Overall approach: use a general-purpose agent scaffold to drive the evaluated LLM to complete end-to-end penetration without human intervention, use real CVE target machines with noisy services to reproduce real penetration scenarios, and judge success by whether a reverse shell is obtained.

    Agent scaffold design

    • Three-module architecture (Figure 1): the thinking module generates plans and candidate actions; the memory module maintains long-term memory; the tool module interacts with the external environment. After parsing, actions are executed by calling tools via the Model Context Protocol (MCP).
    • Thinking module: only a role setting (authorized penetration tester) and minimal task information (target IP, local IP, goal of obtaining a reverse shell) are given, after which no constraints, hints, or manual guidance are added. The authors state this is to isolate the model's intrinsic autonomous penetration capability and avoid confusion introduced by prompt engineering.
    • Memory module: sliding window plus recursive summarization—the most recent 3 rounds of interaction are kept in full, and earlier interactions are recursively summarized by the underlying LLM, to mitigate context overflow and track progress.
    • Tool module: Nmap (host discovery, port scanning, service version and OS identification), WhatWeb (web technology fingerprinting), Metasploit (vulnerability verification and payload); Metasploit is implemented with an open-source MCP server, Nmap and WhatWeb are lightweight MCP servers implemented by the authors themselves, and tool descriptions directly use each tool's default help information.

    Target server design

    • Vulnerable services: from publicly disclosed CVEs from 2015–2025, select vulnerabilities that affect free and open-source software, can be reproduced in a controlled environment, and can lead to RCE, yielding 30 CVEs covering 25 services (Table 3).
    • Security services: deploy the latest stable versions of real services with no publicly known vulnerabilities as noise, taken from the 14 most commonly deployed applications identified by FOFA mapping (Table 2, including sshd, mysql, redis, nginx, etc.).
    • Two levels of complexity: Tier 1 is 1 vulnerable service + 1 security service; Tier 2 is 1 vulnerable service + 3 security services. For each vulnerable service, 5 Tier 1 and 5 Tier 2 target machines are built, 300 in total; security services are randomly sampled and no two target machines have exactly the same service combination.

    Experimental procedure and success determination

    • Environment: the agent and the target machine are in two separate Docker containers placed on an isolated subnet; open-source models are deployed with vLLM default configuration on 8 H100s, and commercial models are accessed via HTTP API.
    • Run limits: each trial is limited to 40 minutes or 40 steps, and is forcibly terminated when the limit is reached.
    • Success determination: check whether the AI system maintains a process that can interact with the target server's shell; each model–target machine pair is repeated 3 times, and at least 1 success is taken to mean the model can penetrate that target machine.
  4. What experiments did the paper conduct?

    The 19 models achieved success rates of 10.7%–69.3% on 300 target machines, strongly correlated with LiveBench scores, with failures mainly due to tools.

    Experimental setup

    • Evaluated models: 19, including open-source and closed-source (Table 1): Qwen3-235B(250725), Qwen3-32B, Qwen2.5-72B, Claude Opus 4.5 Reasoning, ERNIE 5.0 Thinking Preview, Doubao Seed 1.8/1.6, Deepseek-V3.1, Deepseek-R1(0528), Deepseek-coder-v2, Gemini 3 Pro Preview, Llama-3.3-70B, MiniMax M2.1/M2, Kimi K2 Thinking, GPT-5.2 (high), GPT-5.1 (high), HY 2.0 Think, GLM-4.7.
    • Benchmark: self-built 300 target servers (30 CVEs, 5 Tier 1 + 5 Tier 2 per vulnerability); general capability scores are taken from LiveBench.
    • Metrics: penetration success rate (proportion of target machines on which an interactive reverse shell is obtained); Pearson correlation coefficient with the LiveBench total score.
    • Determination method: determined by whether a process interacting with the target shell is maintained, with no LLM judging; each model–target machine pair is repeated 3 times, and at least 1 success counts as penetrable.
    • Limits: each trial is limited to 40 minutes or 40 steps.

    Main results

    Figure 3 gives the overall success rates of the 19 models on Tier 1/Tier 2 (the main text gives ranges and individual values; per-model values are subject to the bar chart in Figure 3, and some bar values are illegible in the text conversion):

    Swipe horizontally to read the table

    MetricTier 1Tier 2Source
    Success rate range (19 models)12.0%–69.3%10.7%–68.7%Main text 4.1.1
    Highest success rate69.3%68.7%Main text 4.1.1
    Average gap between Tier 1 and Tier 2about 7.3% (Tier 1 higher)—Main text 4.1.1
    • The authors state that the success rates of systems driven by Gemini3-pro-preview and Claude-opus-4-5 are close to 70%, and that models released in 2024 already exceed 10% success rate.
    • The authors state that MiniMax-M2.1 and Qwen3-235B having slightly higher success rates on Tier 2 than Tier 1 are exceptions, but their confidence intervals (MiniMax-M2.1: Tier 1 [20.83%, 34.96%], Tier 2 [21.43%, 35.67%]; Qwen3-235B: Tier 1 [15.54%, 28.56%], Tier 2 [19.05%, 32.85%]) overlap substantially, and the authors consider the difference not statistically significant, mainly due to model randomness.

    Correlation with general capability

    • What was measured: correlation between success rate and LiveBench total score (Figure 4; some models are omitted because LiveBench has no score for them).
    • Results: Pearson r = 0.886 (Tier 1), r = 0.830 (Tier 2).
    • Authors' interpretation: autonomous penetration success rate is strongly positively correlated with the underlying LLM's general capability, and the authors believe model developers focus on capability improvement while paying insufficient attention to its misuse risk.

    Failure cause analysis

    • What was measured: classification of failed execution trajectories across models and environments (Figure 5).
    • Results: insufficient tool capability accounts for 46% (WhatWeb cannot identify the specific framework, Metasploit lacks an exploit module for the corresponding CVE), improper tool use accounts for 42% (incomplete scan parameters miss high-port services, search keywords too narrow to find exploits, wrong exploit selected, port conflicts or payload mismatched to the target environment); there are also secondary causes such as mistaking security services for attack targets (more common in Tier 2, where security services account for 75%), over-probing, and context window overflow.
    • Authors' interpretation: for frontier models, the main current limits on success rate are tool capability and tool use, rather than the model's intrinsic reasoning capability.

    Other ablations and analyses

    • Exploiting vulnerabilities after the knowledge cutoff: Gemini 3 Pro Preview has a knowledge cutoff of January 2025, yet still successfully exploited CVE-2025-3248, disclosed in April 2025, via a Metasploit module (Table 6, Tier 2 environment); the authors state that as long as the tool contains the corresponding exploit, the model can compensate for the knowledge gap.
    • Case studies: Qwen2.5-72B completes the full process from reconnaissance to exploitation of CVE-2021-25646 in a Tier 2 environment (Table 4); Qwen3-235B succeeds against CVE-2017-12636 after selecting the wrong service, changing the payload, and resolving a port conflict (Table 5).
    • Effect of environment complexity: the average success rate on Tier 1 is only about 7.3% higher than on Tier 2, and the authors consider that the additional security services bring only limited noise.
  5. What are some points that can be further explored?

    The authors state that the metric covers only initial shell acquisition, and discuss post-exploitation extension, attack-defense asymmetry, and multiple mitigation directions.

    Limitations noted by the authors and future directions

    • Limited scope of the metric (4.1.1 and Introduction Results): The authors state that this work is only a first step in evaluating attack potential; the metric covers only obtaining an initial shell on a single target host, and real large-scale attacks also require automated post-exploitation (lateral movement, privilege escalation), and honeypots and active defenses in real environments would further affect success rates.
    • Post-exploitation extension (Discussion): The authors discuss the possibility of starting from an initial foothold to conduct automated internal network reconnaissance, lateral movement, and even worm-like self-propagation, and consider this worthy of attention from the research community and policymakers.
    • Mitigation directions (Discussion): The authors discuss directions such as filtering exploit materials from training corpora (though this may harm normal coding and security capabilities), developing targeted behavior editing and alignment techniques, strengthening refusal of autonomous penetration requests, and implementing controlled access for models with strong penetration capabilities.
    • Open problems in alignment assurance (Discussion): The authors consider that for open-source models, post-training alignment may only suppress rather than eliminate capabilities acquired during pre-training, and these capabilities may be recovered through fine-tuning, jailbreaking, etc.; how to prevent misuse while retaining beneficial capabilities remains an open research question.
    • Calls for governance (Discussion): The authors call for international collaboration on controlled access to high-risk models, pre-deployment risk assessment, responsible vulnerability disclosure, and cross-border incident response.

    Scope of experiments

    • A total of 19 models were tested, including open-source and closed-source, with release dates from June 2024 to December 2025 (Table 1).
    • The target machines cover 30 CVEs and 25 services, all free and open-source software vulnerabilities that allow RCE; each vulnerability has 5 Tier 1 plus 5 Tier 2 machines, 300 in total.
    • Each model-target machine pair was repeated 3 times, and at least 1 success counts as penetrable; each trial is limited to 40 minutes or 40 steps.
    • The toolset is fixed to Nmap, WhatWeb, and Metasploit; no web search, external vulnerability intelligence, or CVE database was provided.
    • The paper does not report overall confidence intervals for each model's success rate (only given for two exception models, MiniMax-M2.1 and Qwen3-235B), nor does it report sample sizes for the classification of failure cases.
  6. Summarize the main content of the paper

    300 real CVE target machines plus a general agent framework to evaluate 19 LLMs, with success rates of 10.7%–69.3%, positively correlated with general capabilities.

    This is a paper evaluating the autonomous penetration capabilities of LLM-driven AI systems, addressing the problems the authors identify in existing evaluations—opacity, CTF-style scenarios, and excessive prior information—by building an evaluation framework with a public methodology.

    • Problem to solve: Under black-box, no-human-intervention conditions with only the target IP given, measure the end-to-end autonomous penetration capability of current AI systems against real servers and its influencing factors.
    • Method highlights: A general agent scaffold (three modules: thinking, memory, tools; calling Nmap/WhatWeb/Metasploit via MCP); 300 Docker target machines based on 30 real CVEs that allow RCE, divided into Tier 1 (1 secure service) and Tier 2 (3 secure services) by the number of secure services; success is judged by obtaining a reverse shell, and each model-target machine pair is repeated 3 times.
    • Main results:
      • The 19 models' success rates are 10.7%–69.3% (Tier 1: 12.0%–69.3%, Tier 2: 10.7%–68.7%, Figure 3); the authors state that Gemini3-pro-preview and Claude-opus-4-5 are close to 70%.
      • The Pearson r between success rate and LiveBench total score is 0.886 (Tier 1) and 0.830 (Tier 2); the authors state that autonomous penetration capability strengthens as general capability improves.
      • Among failure cases, insufficient tool capability accounts for 46% and improper tool use for 42% (Figure 5); the authors consider that for frontier models, tools rather than reasoning capability are the main bottleneck.
      • Gemini 3 Pro Preview, using a Metasploit module, successfully exploited CVE-2025-3248, which was disclosed after its knowledge cutoff; the authors state that tools can compensate for gaps in model knowledge.
    • Authors' conclusion: Current LLM-driven AI systems already possess preliminary end-to-end penetration capability, and it continues to improve as models become stronger; the authors call for early pre-deployment red-team evaluations, development of targeted alignment and controlled access mechanisms, and promotion of international governance collaboration.

Related papers

Read originalarxiv.org