HardEval: An Execution-Verified Benchmark for AI-Driven Security Hardening and Compliance Remediation
Manohar Vellala, Soumya Banerjee, Sandip Roy, Ross Gore, Sachin Shetty
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.CR, cs.LG
- Comments
- 8 pages, 4 figures, 4 tables. Code and data: https://github.com/manoharvellala/Hardeval The paper has 4 figure environments (two are images, two are the example-prompt panels) and 4 tables
Related papers
ChainIT Transaction Truth: Stablecoins, Web3 Wallets, and Multi-Rail Commerce. A Zero-Trust Control Plane for Verified Identity, Organizational Authority, Runtime Compliance, Secure Wallet Execution, and Immutable Settlement Evidence
Shared title terminologycs.CREric Tacl, Matthew Koepp, Tim Hines et al.
Peer Pressure: Execution-Verified Co-Evolution of Attacker and Defender Populations for Code Security
Shared title terminologycs.CRKhushbu Pahwa, Yubin Ge, Daniele Bonadiman et al.
Enabling Verifiable Output Lineage for Virtualized ML Workload Execution
Shared title terminologycs.CRPrach Chantasantitam, Adam Caulfield, Sujaya Maiyya et al.
ABF-Bench: A Verifiable Benchmark for Agentic Blockchain Forensics
Shared title terminologycs.CRXiaohang Yu, Hejia Geng, William Knottenbelt
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
Shared title terminologycs.CRJieyu Li
NPUFHE: An Efficient CKKS Execution System for Ascend NPUs
Shared title terminologycs.CRKe Changke, Jian Wang, Xuan Xu et al.