KaliBench: A Fine-Grained Benchmark for Cybersecurity Tool Use on Kali Linux with Runtime-Free Verifiable Rewards
TL;DR - KaliBench evaluates how accurately LLMs translate natural-language cybersecurity tasks into executable Kali Linux commands. Its fine-grained, deterministic signals also provide runtime-free verifiable rewards that substantially improve tool-use training.
- The dataset contains 8,504 query-command pairs covering 1,642 tools, 23 capability dimensions, and five security phases.
- Evaluation uses deterministic canonicalization and alias-aware matching, backed by LLM validation, sandboxed execution, and human refinement.
- No tested open-weight model exceeded 42% exact-command accuracy without explicit tool hints across 24 model configurations.
- Fine-tuning and reinforcement learning with KaliBench rewards improved an 8B model to performance comparable with a 685B mixture-of-experts model.