KaliBench: A Fine-Grained Benchmark for Cybersecurity Tool Use on Kali Linux with Runtime-Free Verifiable Rewards
KaliBench shows no open-weight model exceeds 42% exact-command accuracy generating Kali Linux CLI commands without tool hints.
KaliBench is a fine-grained benchmark of 8,504 natural-language-to-command pairs covering 1,642 Kali Linux tools, 23 capability dimensions, and five security phases. It uses manuscript-grounded construction, deterministic canonicalization, alias-aware scoring, and verification via LLM checks, sandboxed execution, and human review, and it supplies runtime-free verifiable rewards for training. Across 24 configurations of general-purpose and security-focused open-weight models, none exceeded 42% exact-command accuracy in the unrestricted setting. Supervised fine-tuning and reinforcement learning with KaliBench rewards substantially improved an 8B model to roughly match a 685B mixture-of-experts model.
- 8,504 query-command pairs span 1,642 Kali tools, 23 dimensions, and five phases.
- Verification combines LLM checks, sandboxed execution, and human refinement.
- No open-weight model topped 42% exact-command accuracy without tool hints.
- SFT and verifiable-reward RL lifted an 8B model near a 685B MoE.
From the original article
1 min read at arxiv.orgLLMs 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 · arxiv.org
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.