HardEval: An Execution-Verified Benchmark for AI-Driven Security Hardening and Compliance Remediation
Not on the map. Why?
Abstract (arXiv)
Implementing Security Technical Implementation Guide (STIG) controls remains a demanding operating-system administration task. Each natural-language security requirement must be translated into a precise and persistent configuration change. These changes span Secure Shell (SSH) configuration, authentication policy, audit rules, and kernel parameters. Existing benchmarks do not measure whether a model can perform this task on a live system. Code benchmarks evaluate isolated programs without persistent system state, while agent benchmarks largely focus on applications rather than operating-system configuration. In this paper, we introduce HardEval, an execution-verified benchmark for evaluating language-model-assisted security hardening. HardEval is built from Red Hat Enterprise Linux 8 STIG controls that fail on an unhardened baseline system. Expert-written reference remediations and Open Vulnerability and Assessment Language (OVAL) checks serve as hidden ground truth for grading; they are never shown to the model, and each task states only the required security outcome while withholding the implementation. The model produces a Bash script, which is executed on a live virtual machine and graded from fail to pass using the corresponding OpenSCAP/OVAL compliance check. Evaluation of fourteen frontier and open-weight configurations reveals large and uneven capability differences across security domains. A recurring failure mode is plausible security code that does not satisfy the exact compliance condition. For four open-weight configurations, multi-run Wilson confidence intervals preserve the observed ordering. HardEval is publicly available.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 13 of its 15 references that are in the map. Submitted 16 Oct 2026.
Builds on
13 of 15 references.
References · 13
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,872
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,401
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,384
- 2021Measuring Coding Challenge Competence With APPScited by 938
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 603
- 2023LLMSecEval: A Dataset of Natural Language Prompts for Security Evaluationscited by 67
- 2024CYBERSECEVAL 3: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Modelscited by 67
- 2026HardSecBench: Benchmarking the Security Awareness of LLMs for Hardware Code Generationcited by 6
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks
- 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarios
- 2026Towards Reliable Local Security Agents: Verifiable Post-Training for Linux Privilege Escalation
- 2026Enhancing Linux Privilege Escalation Attack Capabilities of Local LLM Agents
- 2026Patch-to-PoC: A Systematic Study of Agentic LLM Systems for Linux Kernel N-Day Reproduction
- 2026PrivEscalate: Measuring and Augmenting the Threat of LLM-Automated Linux Privilege Escalation ↗
- 2026CWE-bench: Refocusing Agentic Security from Exploitation to Defense