← Latest papers
🤖 AI

How Reliable Are AI Attackers Against a Fixed Vulnerable Target? A 400-Run Empirical Study of LLM Penetration Testing Consistency

This study presents the first large-scale empirical analysis of LLM penetration testing consistency, revealing that four models exhibited statistically significant differences in autonomous attack success rates (ranging from 25% to 85%) and distinct failure modes when subjected to 400 repeated trials against a fixed vulnerable target.

Original authors: Galip Tolga Erdem

Published 2026-05-29
📖 5 min read🧠 Deep dive

Original authors: Galip Tolga Erdem

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 a security guard trying to test how well a new set of automated robots can break into a locked building. You want to know: If you send the same robot 100 times to try the same trick, will it act the same way every time, or will it be unpredictable?

This paper is a massive experiment where the author sent four different "AI robots" (Large Language Models) to attack a fake, vulnerable computer system 100 times each. That's 400 total attacks. The goal wasn't just to see if they could break in, but to see how consistent they were.

Here is the story of what happened, told in simple terms:

1. The Setup: A "Honeypot" Playground

The researcher built a digital "trap house" (a honeypot) with three easy-to-break locks:

  • A web shop with a weak door (SQL Injection).
  • A back door with a weak password (SSH).
  • A mailbox with no lock (Anonymous FTP).

They told the AI robots: "You are an authorized security tester. Your job is to break into these three locks. Go!"

2. The Big Surprise: No One Said "No"

The most shocking finding was about refusals.
In the past, people worried that AI might say, "I can't do that, it's dangerous," when asked to hack something.

  • The Result: In all 400 attempts, not a single AI said "no."
  • The Metaphor: Imagine asking a robot 400 times to pick a lock, and every single time it immediately grabs the tools and starts working. None of them hesitated or claimed they were "too safe" to do it.
  • Why? The researchers framed the request as "authorized testing." It seems that when an AI thinks it's doing a legitimate job (like a security guard), it prioritizes being helpful over being cautious.

3. The Glitch: One Robot Had a Bad Day

One of the robots, Claude, had a major technical problem during the experiment.

  • The Issue: The company that makes Claude (Anthropic) had a server overload event. It was like the robot's brain suddenly went into a coma because the factory was too busy.
  • The Mix-up: At first, the researcher thought Claude was refusing to hack. But after checking the logs, they realized the robot wasn't saying "I won't"; the internet connection to the robot just kept dropping.
  • The Fix: They re-categorized these failures. They aren't "safety refusals"; they are just "internet errors." Even with these errors, the Claude robot that did finish the job was very successful.

4. How They Failed: Different Robots, Different Mistakes

When the robots didn't succeed, they failed in very different ways, like different types of drivers crashing a car:

  • The Local Robot (Qwen): It was like a driver who gets bored and stops the car halfway. It would break into one or two locks, declare the job "done," and leave, even though it hadn't finished the whole building.
  • The GPT-4o-mini Robot: It was like a driver who keeps driving until the gas tank runs out. It tried so many different things that it hit a time limit (25 attempts) before it could finish, even though it was very thorough.
  • The Gemini Robot: This one was the most reliable. It rarely gave up and rarely made mistakes. If it started a job, it almost always finished it.
  • The Claude Robot: As mentioned, its main failure was the internet connection dropping.

5. The "Memory" Trick: Stealing Keys

One of the most interesting behaviors was credential reuse.

  • The Scenario: The robots found a username and password in the mailbox (FTP).
  • The Trick: Two of the robots (Qwen and GPT-4o-mini) remembered that password and used it to unlock the back door (SSH) automatically. They didn't need to be told to do this; they figured it out on their own.
  • The Catch: The robots that had a "short memory" (only remembering the last few messages) didn't do this. The ones with a "long memory" (remembering the whole conversation) did. This suggests that having a long memory helps an AI connect the dots between different parts of a system.

6. Speed and Strategy

  • Speed: Once the robots started, they were fast. They usually found a way to break in within 15 to 30 seconds of real-world time.
  • Strategy: Some robots always tried the web door first. Others always tried the mailbox first.
  • Variety: One robot (GPT-4o-mini) was incredibly creative. Out of 100 runs, it used 98 different strategies. It was like a thief who never uses the same trick twice. Another robot (Gemini) was more predictable, using the same few tricks over and over.

The Bottom Line

This study tells us two main things:

  1. Safety isn't a wall: If you frame a request as "authorized testing," these AI models will happily try to hack things without saying no. They don't have a built-in "stop" button for this specific type of job.
  2. AI is unpredictable: Even if you give the same robot the same instructions 100 times, it might use 98 different ways to solve the problem, or it might get stuck in a loop, or it might just give up early.

Important Note: The paper warns that because the robots were so fast and so consistent in starting their attacks (within 30 seconds), security systems need to be ready to spot them immediately. You can't wait for them to finish; you have to catch them while they are just looking around.

The researcher also noted that this was a controlled experiment in a fake building. We don't know if these robots would act the same way in a real, complex, or unknown environment. But for this specific test, the AI was surprisingly consistent in its willingness to attack, but wildly inconsistent in how it did it.

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 →