← Latest papers
🤖 machine learning

Honeyval: A Comprehensive Evaluation Framework for LLM-powered HTTP Honeypots

This paper introduces Honeyval, a comprehensive evaluation framework for LLM-powered HTTP honeypots that addresses the lack of scalable and reproducible testing by utilizing AI hacking agents and diverse backend applications, ultimately demonstrating that LLM-based honeypots offer significantly longer attacker interactions and lower detection rates compared to rule-based baselines while maintaining cost efficiency.

Original authors: Mark Vero, Fabian Kaczmarczyck, Ivan Petrov, Ilia Shumailov, Jamie Hayes, Niels Heinen, Tianqi Fan, Luca Invernizzi, Martin Vechev

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

Original authors: Mark Vero, Fabian Kaczmarczyck, Ivan Petrov, Ilia Shumailov, Jamie Hayes, Niels Heinen, Tianqi Fan, Luca Invernizzi, Martin Vechev

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 castle guard trying to catch a thief. In the old days, to catch a thief, you'd set up a fake treasure room (a honeypot) that looked exactly like the real one. But there was a catch: to make the fake room convincing, you had to put real gold and real locks in it. If the thief was clever enough to break in, they might steal your real gold or hurt your castle.

Recently, security experts started using AI (Large Language Models) to run these fake rooms. Instead of real gold, the AI just pretends to have gold. It can talk to the thief, answer questions, and act like a real system, but since it's just a chatbot, the thief can't actually steal anything or hurt your castle. This is much safer.

However, there was a big problem: How do you know if the AI is doing a good job?
Before this paper, people tested these AI guards in three messy ways:

  1. The "Script" Test: They asked the AI the same 10 questions over and over and checked if the answers looked right. (But real thieves don't ask the same 10 questions).
  2. The "Human" Test: They hired humans to try to break in. (This is slow, expensive, and hard to repeat).
  3. The "Real World" Test: They put the AI guard on the internet and waited. (This is unpredictable; you might wait months for a thief to show up, or the thief might just leave immediately).

Enter "Honeyval": The Training Ground for AI Guards

The authors of this paper built a new, comprehensive testing framework called Honeyval. Think of it as a high-tech video game simulator for cybersecurity.

Here is how Honeyval works, using simple analogies:

1. The 16 Different "Fakes" (The Environment)
Instead of testing the AI guard on just one fake room, Honeyval gives it 16 different fake scenarios to practice on. These are based on real-world web applications (like a shopping cart, a forum, or a login system). The AI guard has to pretend to be these specific systems perfectly.

2. The "Robot Thief" (The Attacker)
Instead of waiting for a human thief or asking a human to test it, Honeyval uses AI Hacking Agents. These are other AIs programmed specifically to try to break into the fake systems.

  • The Main Game: The Robot Thief tries to hack the AI Guard.
  • The Scoreboard: The system measures how long the thief stays engaged (did the AI guard keep them busy?), how much it costs to run the simulation, and whether the thief realized, "Hey, this is a fake!"

3. The "Control Tests" (The Reality Check)
To make sure the test is fair, Honeyval runs two extra checks:

  • Thief Check: The Robot Thief tries to hack real (but vulnerable) versions of the same apps. If the thief can't break into the real thing, they shouldn't be able to break into the fake one either. This proves the thief is actually good at hacking.
  • Guard Check: The AI Guard is tested by a "nice user" (a functional test suite) to make sure it actually knows how to act like the real system. If the guard can't answer a simple question correctly, it's not a good fake.

What Did They Find?

The researchers tested several different AI models to see which ones make the best "fake guards." Here are their main discoveries:

  • AI Guards are Better at "Acting": Compared to old-school fake guards that just follow simple rules (like a robot saying "Access Denied" to everything), the AI-powered guards kept the Robot Thieves busy for much longer. On average, the AI guards kept the thieves talking for about 83 requests, while the old rule-based guards only lasted about 31 requests. This gives defenders more time to study the thief's tactics.
  • They Are Hard to Spot: The Robot Thieves often couldn't tell the AI guard was a fake. In most cases, the thieves thought they were hacking a real system. The old rule-based guards were spotted almost immediately.
  • Cost Efficiency: Even though running an AI costs money, the AI guards were generally cheaper to run than the cost of the Robot Thieves trying to break in. It's a good deal for the defender.
  • The "Speed" Problem: The biggest weakness found was that the AI guards were a bit slow. It took them a few seconds to think of a reply. The Robot Thieves sometimes noticed this delay and realized, "Wait, real servers don't take 3 seconds to answer; this must be a fake!"
  • Playing Mind Games: The researchers tried giving the AI guards special instructions.
    • If they told the guard to "Convince the thief the app is safe," the thieves stayed longer (thinking they were close to a win), but they also got suspicious faster.
    • If they told the guard to try to "Trick the thief's AI," it often backfired and made the guard get caught faster.

The Bottom Line

This paper doesn't claim that AI guards are perfect or ready to replace all human security teams. Instead, it provides the first reliable ruler to measure how good these AI guards are.

They found that AI-powered honeypots are a very promising tool. They are safer than real systems (because nothing real is at risk), they are harder for attackers to spot, and they keep attackers engaged longer than simple, dumb fake systems. However, to make them even better, we need to make them faster and smarter at hiding their "AI-ness."

The authors have made their testing framework, Honeyval, available for everyone to use, so other researchers can build better AI guards in the future.

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 →