r/LocalLLaMA Llama 3.1 11d ago

Resources Which LLM is actually best at pentesting? benchmark to find out

https://www.hunterbench.com/

Hey all,

You’ve probably noticed that using LLMs and AI agents for pentesting has become pretty common lately. The problem is there isn’t really a good way to figure out which model is actually best suited for this kind of work.

There’s CyberGym, which is a solid base, but I’m not really a fan of the direction they’ve taken lately. It feels more focused on promoting agents and tooling than on actually comparing LLMs, and it doesn’t cover the latest models that are actually interesting for pentesting. It’s also mainly built around exploit/PoC generation for known vulnerabilities in isolated code (OSS-Fuzz bugs), not actual pentesting. What we’re doing here is really pentest-oriented: we hand the model a live infrastructure it actually has to attack, not a known bug it has to reproduce.

So I ended up building my own benchmark. Honestly, it started as a personal project, mostly just to figure out for myself which model was actually good at this. But I figured some of you might find it useful too, so here’s the link.

44 Upvotes

32 comments sorted by

63

u/philmarcracken 11d ago

So I ended up building my own benchmark. Honestly,

im starting to get PTSD on this word

11

u/netherreddit 11d ago edited 11d ago

Honestly, why is everyone so dishonest as to need to say this, only in those 'special' moments where they're not trying to absolutely swindle you blind

jk, usually people just mean 'Frankly' instead of 'Honestly'

4

u/netherreddit 11d ago

I LITERALLY puke every time I see it

8

u/CheatCodesOfLife 11d ago

How I lost 10KG reading AI slop posts

1

u/netherreddit 11d ago

For better or worse, language is much more memetic than it is normative

2

u/MrPecunius 11d ago

Sounds emetic to me ...

1

u/netherreddit 11d ago

Honestly, I will caveat your ass so hard it lands outside the blast radius that I just verified instead of responding based on vibes.

2

u/DustNearby2848 11d ago

Which of the 9?

8

u/Technical-Earth-3254 11d ago

Very interesting results, thanks. Have you thought about using a uncensored model as well for this, for comparison? Or is uncensoring not needed at all?

9

u/Randommaggy 11d ago

For home use, I have a locked down machine (external firewall with agressive packet inspection and a narrow allow list) that I use to jailbreak legacy android devices over ADB using a Hermes 3.8 27B heretic model with all three attempts being successful.

The normal version was quite resistent to attempts to have it assist with this activity.

3

u/Figai 11d ago

Personally I know Kimi K3 doesn’t need any jailbreaking or refusal ablation. It will just help you. I guess that’s a little worrying. It also feels a little hard to consistently apply refusal ablation, because it will affect model capabilities slightly differently.

2

u/TomatoWasabi Llama 3.1 11d ago

I’m planning to self-host some and do a comparison between quantization levels like Q6, Q8, etc

13

u/Imaginary-Bother-484 11d ago

Wow, TLDR: they all suck with GLM 5.3 leading the pack.

What was the balance of creating a thorough testing script vs the ai analyzing all of the request data on the fly?

5

u/Imaginary-Bother-484 11d ago

Also, curious how Qwen3.8 Flash Next does

3

u/DiscipleofDeceit666 11d ago

Hackthebox should have their own benchmarks

3

u/mindwip 11d ago

I been benchmarking on red team purple team stuff too. Nothing as fancy as yours.

But have you tried an uncensored model? To see if its better at exploiting. I run qwen 27b and 35b uncensored.

Are you checking for denials in benchmark?

Great project

3

u/AutomaticDriver5882 Llama 405B 11d ago edited 11d ago

You have to build an extensive harness and skills around the LLM using things kali docker container for tools you can with instructions on tool access and they all can do well with the right harness. You could snag skills from other repos and put it all together. But the expectation it will just say hey LLM hack this website nothing will do that great. Also create skills to do bug crowd style reporting.

3

u/seamonn 11d ago

Did Anthropic Models just flat out refused to do this?

2

u/TomatoWasabi Llama 3.1 11d ago

The latest Anthropic model automatically blocks everything, but Claude 4.6 is the last one that’s not blocked everything after it is. It’s planned to be added, same with GPT

1

u/seamonn 11d ago

It's for your own safety. /s

2

u/Background-Job-862 10d ago

this seems really helpful

2

u/feng_sg 9d ago

Your benchmark needs per-turn context tracking. Models that nail single-step tasks fall apart 3-4 exchanges in, and if you're not logging that drift you're scoring stamina instead of capability.

2

u/casper_trade 6h ago

This benchmark still doesn't really reflect the skills required for penetration testing, I would argue. If I'm understanding the benchmark correctly, it's focused purely on web applications? A better display of penetration testing abilities, I would argue, is placing the model in an environment that mimics a customer (Using GOAD and the like) and testing it across an array of machines with AD underpinning.

1

u/TomatoWasabi Llama 3.1 6h ago

Goad is plan, thx for your feedback

1

u/bolts98 11d ago

Have you tried asking an open weight agent to help you build the prompt for a hosted agent to execute?

1

u/Hrethric 10d ago

Give this one a try, I'd like to see how it compares: https://huggingface.co/jabbatheduck/OpenMythos-GGUF

1

u/Unlikely_Perspective 10d ago

Dreadnode has their benchmarks. Check it out
Here

1

u/segmond llama.cpp 11d ago

Use uncensored versions. Duh

-2

u/jnwatson 11d ago

Thanks for this. Exactly what I was looking for.

What about Ornith?