Reproduce “SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hwiwon Lee, Ziqi Zhang, Hanxiao Lu, Lingming Zhang
SEC-bench is an automated framework for benchmarking large language model (LLM) agents on real-world software security tasks. It successfully verifies and collects 200 Common Vulnerabilities and Exposures (CVE) instances from C/C++ projects, then evaluates LLM agents on tasks such as Proof-of-Concept generation and vulnerability patching, demonstrating a maximum success rate of 18.0% and 34.0% respectively.
Key insights
- Decomposing complex vulnerability verification into specialized sub-agent tasks significantly enhances the success rate, with SECVERIFIER outperforming single-agent baselines by 85.7% in verification.
- Current state-of-the-art LLM agents struggle significantly with real-world security tasks, achieving low success rates (e.g., at most 18.0% for PoC generation), indicating a substantial gap compared to their performance on general software engineering benchmarks.
- The inherent difficulty of security tasks for LLMs stems from the need for precise reasoning, byte-level payload crafting, and sophisticated program analysis capabilities, which are often absent in models primarily trained on textual data.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.