cs.CROct 16, 2026

HardEval: An Execution-Verified Benchmark for AI-Driven Security Hardening and Compliance Remediation

Authors: Manohar Vellala, Soumya Banerjee, Sandip Roy, Ross Gore, Sachin Shetty

Organizations: Center for Secure & Intelligent Critical Systems, Old Dominion University, Virginia, USA · Department of Computer Science, Old Dominion University, Virginia, USA · School of Cybersecurity, Old Dominion University, Virginia, USA

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.

Figures & tables

Explore similar work

CardsList
  1. SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediation

    Jun 3, 2026Andrew Hamara, Dwight Horne, Aldehir Rojas +5Multi-Agent LLM SystemsAutonomous Cyber Defense

  2. SecCodeBench-V2 Technical Report

    Feb 17, 2026Longfei Chen, Ji Zhao, Lanxiao Cui +24Secure Code GenerationCode Generation Benchmarks

  3. ExploitBench: A Capability Ladder Benchmark for LLM Cybersecurity Agents

    May 13, 2026Seunghyun Lee, David BrumleyAI Agent Security BenchmarksLLMs for Cybersecurity