Open-weight LLMs achieve at most 42% exact CLI command accuracy on KaliBench
No open-weight model exceeds 42% exact-command accuracy for translating natural language to Kali Linux CLI commands
AI/ML arXiv 1 Oct 2026 Benchmark Prototype evidence
Published as “KaliBench: A Fine-Grained Benchmark for Cybersecurity Tool Use on Kali Linux with Runtime-Free Verifiable Rewards”
Why it matters
The benchmark reveals that current LLMs are still unreliable for autonomous CLI-based security tooling, but targeted fine-tuning can make lightweight models practically useful.
Summary
Providing tool documentation yields the biggest gains, boosting exact-correct from 22.3% to 73.1% and total score from 59.4% to 90.8%. Training an 8B model with supervised fine-tuning and reinforcement learning using KaliBench’s verifiable rewards raises its mean total score by 7.5 points. However, argument construction remains the primary bottleneck and post-training can even hurt performance in the hinted setting.
What they found 3
- Supervised fine-tuning and RLVR improve an 8B model’s mean total score by 7.5 percentage points.
“Training with supervised fine-tuning and reinforcement learning using KaliBench rewards improves an 8B model’s mean Total Score across the three evaluation modes by 7.5 percentage points.”
- Post-training can slightly reduce performance in the hinted mode.
“RedSage-K (GRPO) and RedSage-K (SFT+GRPO) slightly reduce H-mode TS relative to the original RedSage-Ins model.”
- The best proprietary model (GPT-5.6-Sol) attains 61.68% exact-correct on the full test set.
“GPT-5.6-Sol achieves the highest full-set Exact Correct of 61.68%”
Caveats 3
- Argument construction remains the primary bottleneck despite overall score gains.
- RedSage-K variants slightly reduce H-mode total score compared to the baseline model.
- including the focus on single-turn command generation and reliance on documentation-grounded data.
What’s new here 4
- First schema-free NL-to-CLI benchmark covering 2,372 Kali tools and 8,504 query-command pairs.
- Runtime-free verifiable reward signal derived from deterministic CLI structure.
- Fine-grained evaluation of tool selection versus argument construction across three information-availability modes.
- Demonstrates that compact 8B models can approach much larger models after targeted SFT and RLVR on the benchmark.