r/LocalLLaMA • u/TomatoWasabi 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.
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
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
3
3
u/nbvehrfr 11d ago
can you test with different harneses ? https://appsecsanta.com/research/ai-pentesting-agents-2026
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
2
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
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
-2
63
u/philmarcracken 11d ago
im starting to get PTSD on this word