← Latest papers
🤖 AI

Decoupling Reconnaissance and Exploitation: Measuring the Capability Boundaries of LLM-Based Web Penetration Testing

This paper proposes a two-stage decoupled evaluation framework that separates reconnaissance from exploitation to reveal that while LLM-based agents can achieve up to 90% success in executing known vulnerabilities, their autonomous discovery capabilities are limited to roughly 50% due to parsing failures, with distinct architectural strengths emerging across different vulnerability types.

Original authors: Liwei Yu, Shuo Li, Ming Zhou, Ge Chu, Yan Guo

Published 2026-06-25
📖 4 min read☕ Coffee break read

Original authors: Liwei Yu, Shuo Li, Ming Zhou, Ge Chu, Yan Guo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are hiring a team of expert detectives to solve a series of locked-room mysteries (these are the "web vulnerabilities"). In the past, researchers tested these detectives using a "black box" method: they gave the detective a locked room and watched to see if they could get in. If the detective failed, the researchers assumed the detective was bad at picking locks.

The Problem: The "Chain Reaction" Mistake
The paper argues that this old way of testing is flawed because it suffers from a "chain reaction" problem.

  • The Scenario: A detective might be a lock-picking genius, but if they get lost in the hallway (failed reconnaissance) or misread the map, they never even get to the door.
  • The Result: The test records them as a failure at everything, even though they could have easily opened the door if they had just known which door to try. The failure to find the door "masks" their actual ability to break it open.

The Solution: The "Two-Stage" Test
To fix this, the authors created a new, two-part test that separates "finding the door" from "opening the door."

  1. Stage 1: The Reconnaissance (Finding the Door)
    The detective tries to find the vulnerable door on their own using only their eyes and tools. The researchers measure how often they actually find the right door.
  2. Stage 2: The Exploitation (Opening the Door)
    If the detective fails to find the door in Stage 1, the researchers step in and say, "Okay, you missed it, but here is the exact address of the door. Now, try to open it."
    • This is called Ground-Truth Injection. It removes the confusion of the hallway so they can prove whether they are actually good at picking locks.

The Findings: A Big Gap in Skills
When the researchers tested five different AI detective teams (using Large Language Models) on 70 different "rooms," they found a huge gap between finding the problem and fixing it:

  • Finding the Problem: When left to their own devices, the AI detectives only found the right door about 50% of the time. They got confused by messy, unstructured clues (like confusing error messages or noisy logs).
  • Fixing the Problem: However, when the researchers gave them the exact address (the "ground truth"), the same detectives successfully opened the door 90% of the time.
  • The Takeaway: The AI isn't necessarily bad at breaking in; it's just terrible at navigating the messy hallway to find the right door in the first place.

The "Detective Styles" (Architectures)
The paper also looked at how different detective teams were organized and found that different styles work better for different types of locks:

  • The "Specialized Squad" (Multi-Agent): These teams have different members with specific roles who don't talk over each other. They are great at complex, long puzzles (like "deserialization" attacks) because if one member gets confused, the others stay focused.
  • The "Solo Detective" (Monolithic): One person does everything. They are fast and efficient for quick, simple tasks (like short "injection" attacks) but tend to get overwhelmed and forget details if the task gets too long.
  • The "Map Makers" (Graph-Driven): These teams draw a big map of connections between clues. They are excellent at spotting logic errors where you need to compare different user accounts (like "access control" issues).

The "Cheat Sheet" Effect
The researchers also tested whether giving the detectives a "cheat sheet" (a database of known vulnerabilities) helped.

  • Without the cheat sheet: Performance dropped significantly. The AI struggled to remember specific technical details.
  • With the cheat sheet: Performance skyrocketed. This proves that the AI needs a reference guide to be effective, rather than relying solely on its internal memory.

Conclusion
The paper concludes that to build better automated security tools, we need to stop blaming the "lock-picking" skills when the real problem is "navigation." By separating the two tasks, we can see that AI is actually very good at exploiting vulnerabilities if we can just help it find them first. The future of these tools lies in better "state isolation"—keeping the detective focused on the current task without getting distracted by the noise of the hallway.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →