KaliBench: A Fine-Grained Benchmark for Cybersecurity Tool Use on Kali Linux with Runtime-Free Verifiable Rewards
KaliBench measures whether LLMs can turn analyst requests into exact Kali Linux commands across 1,642 tools.
KaliBench is a benchmark of 8,504 natural-language-to-CLI pairs spanning 1,642 Kali Linux tools, 23 capability dimensions, and five security phases. Deterministic canonicalization, alias-aware scoring, LLM validation, sandboxed execution, and human review support runtime-free verifiable training rewards. Across 24 configurations, no open-weight model exceeded 42% exact-command accuracy without tool hints. Supervised fine-tuning and reinforcement learning with KaliBench rewards brought an 8B model to performance comparable to a 685B mixture-of-experts model.
- 8,504 query-command pairs cover 1,642 Kali Linux tools
- No open-weight model exceeded 42% exact-command accuracy unrestricted
- Checks combine LLM validation, sandbox execution, and human review
- SFT and verifiable-reward RL lifted an 8B model near a 685B MoE
From the original article
1 min read at huggingface.coLLMs are increasingly applied to cybersecurity workflows, where they are expected to translate analysts' intent into tool invocations. However, existing evaluations focus on knowledge-based assessments or end-to-end agentic tasks, and do not directly measure LLMs' ability to generate executable commands for real-world cybersecurity tools.
By Pengfei Li, Naufal Suryanto, Sicheng Zhang · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.