SecProbe: Adaptive Evaluation of Coding Agents on Cybersecurity Vulnerabilities

Xiaonan Luo, Yue Huang, Kehan Guo, Ping He, Chuan Zou, Chujie Gao, Lichi Li, Yuchen Ma, Zhangchen Xu, Zichen Chen, Yufei Han, Xiangliang ZhangarXiv 2026

TL;DR

SecProbe is a novel framework that adaptively evaluates coding agents on cybersecurity tasks by combining Item Response Theory (IRT) with on-demand task synthesis. By generating repository-scale vulnerability-repair tasks tailored to an agent's estimated ability, it achieves high-precision evaluation while requiring up to 29.5% fewer tasks than traditional static benchmarks.

What Problem Does This Paper Address?

As LLM-based coding agents take on more responsibility in software development, their "cybersecurity awareness"—the ability to identify and fix vulnerabilities—becomes critical. However, evaluating this awareness is difficult for three main reasons:

  1. Static Benchmarks Stale Quickly: Once a benchmark is published, its tasks often leak into the training data of future models, leading to "data contamination."
  2. Expert Labor is Expensive: Creating realistic, repository-scale security tasks with working exploits and reference patches requires significant human expertise and is hard to scale.
  3. Inefficiency: Assigning the same set of tasks to every model is inefficient. Testing a top-tier model on trivial bugs, or a weak model on complex architectural flaws, provides very little information about their true capabilities.

SecProbe tackles these issues by treating evaluation as an adaptive process that evolves alongside the agents it measures.

Methods

The core of SecProbe is a dual-loop system that couples adaptive selection with on-demand synthesis (see Figure 1).

Figure 1: SECPROBE couples adaptive evaluation with on-demand multi-agent task synthesis.
  • The Outer Loop (Adaptive Evaluation): The framework uses a Bayesian two-parameter logistic (2PL) IRT model. It estimates three things: agent ability ($\theta$), task difficulty ($\beta$), and task discrimination ($\alpha$). After each round of testing, it calculates an "information gap" to identify which ability levels are currently under-measured.
  • The Inner Loop (Multi-agent Synthesis): If the existing task pool doesn't have a task that fits the needed difficulty or vulnerability type, SecProbe triggers a pipeline of five specialized LLM agents:
  • Online Security Researcher: Consults online sources to understand a specific CWE (Common Weakness Enumeration).
  • Task Architect: Designs a repository-scale blueprint for the task.
  • Exploit Test Strategist: Develops functional and exploitation tests.
  • Repository Engineer: Builds the actual code, injects the vulnerability, and creates a reference patch.
  • Security Reviewer: Audits the final product to ensure it is realistic and solvable.

Datasets

The authors instantiated SecProbe to create a pool of 353 tasks spanning:

  • 6 Languages: Python, C++, Go, Java, TypeScript, and Rust.
  • 151 CWE Types: Covering a vast range of security weaknesses, from XML injection to buffer under-reads.
  • Repository Scale: Unlike "snippet-based" benchmarks, these tasks have a median of 1,009 lines of code and 28 files, requiring agents to reason across multiple components.

The coding and security characteristics of this generated pool are summarized in Figures 2 and 3.

Coding characteristics of the 353-task pool. Security characteristics of the 353-task pool.

Key Insights and Ideas

  • Synthesis Fills the "Information Gap": Most adaptive testing assumes a large, pre-existing bank of questions. SecProbe recognizes that in the fast-moving world of AI, the "perfect" test case for a new model might not exist yet. Synthesis allows the benchmark to "grow" into the ability regions where models are currently clustered.
  • Discrimination Matters: The framework doesn't just look for hard tasks; it looks for discriminative ones—tasks that are most likely to reveal the difference between two agents with similar ability levels.
  • Failure Modes are Complex: Through patch-level reviews, the authors found that agents often fail not because they miss the bug entirely, but because they provide "incomplete coverage"—fixing one path to a vulnerability while leaving others open.

Key Results

  • Frontier Models Struggle: Even the best-performing configuration (GLM-5.3 with the Terminus-2 harness) only achieved a 28.33% success rate. This highlights a massive remaining gap in agent cybersecurity capabilities.
  • Efficiency Gains: SecProbe reached its measurement confidence targets using 25.6% to 29.5% fewer tasks than random or one-shot synthesis baselines.
  • High Quality: Human experts rated the synthetic tasks highly (>4.0/5.0) across dimensions like realism, security validity, and complexity.
  • Cost-Effective: Generating a complex, repository-scale task costs approximately $0.64, making it a viable way to scale security benchmarking.

Limitations and Future Work

  • Dual-Use Risk: The authors acknowledge that a system capable of automatically synthesizing vulnerabilities and exploits has dual-use potential and could be adapted for malicious purposes. They mitigate this by operating in isolated environments.
  • Synthetic vs. Real-World: While the tasks are designed to be realistic, they are still synthetic. Future work could involve grounding synthesis even more deeply in real-world CVE metadata.
  • Language Imbalance: While the framework supports six languages, the current pool is heavily weighted toward Python and C++. Expanding the diversity of the task pool remains an ongoing goal.

Summary updated

BibTeX
@misc{luo2026secprobe,
  author = {Xiaonan Luo and Yue Huang and Kehan Guo and Ping He and Chuan Zou and Chujie Gao and Lichi Li and Yuchen Ma and Zhangchen Xu and Zichen Chen and Yufei Han and Xiangliang Zhang},
  title = {{SecProbe: Adaptive Evaluation of Coding Agents on Cybersecurity Vulnerabilities}},
  year = {2026},
  eprint = {2609.33763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33763},
}
Figure