arXiv(opens in a new tab)cs.CRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.08765

Benchmark Scores Are Pipeline-Dependent: A Reliability Audit of Cybersecurity LLM Benchmarks

Aymene Berriche, Cathrine Shalby, Mohannad Alhanahnah, Yazan Boshmaf

Abstract

Large language model (LLM) benchmarks are often treated as fixed datasets with stable scores, yet their outcomes depend on configurable evaluation pipelines. We audit eight cybersecurity benchmarks across 10 proprietary, open-weight, and cybersecurity-specialized LLMs. By modeling benchmarks as measurement pipelines, we identify 15 systematic failure modes and show that a single pipeline choice can change a model's score by more than 80 percentage points and substantially alter model rankings. At the cross-benchmark level, two semantically similar task pairs rank the same models differently because of incompatible evaluation conventions. Under an evaluation harness that standardizes pipeline choices while preserving task semantics, nine of 10 models shift by at least three ranks on at least one benchmark. These results show that cybersecurity LLM benchmark scores are pipeline-dependent and motivate pipeline-aware auditing as a core requirement for reliable model evaluation.

1 Introduction

Large language model (LLM) evaluation is increasingly benchmark-driven. Benchmark scores guide model selection, support claims of state-of-the-art performance, influence deployment decisions, and shape leaderboards. Yet, these scores are often interpreted as stable measurements of model capability, even though they are produced by configurable evaluation scripts involving prompts, inference settings, output extraction, scoring, and aggregation.

Prior work shows that LLM evaluation is sensitive to prompt wording, decoding, evaluator design, answer extraction, and scoring (Shi et al., 2024; Sun et al., 2024; Wang et al., 2023). These effects are amplified in generative settings, where outputs are open-ended, multiple answers may be valid, and evaluation often relies on heuristic extraction or approximate matching. Consequently, benchmark outcomes may reflect the measurement process as much as underlying model capability.

We study this problem in cybersecurity, a high-stakes domain whose benchmarks span factual recall, vulnerability analysis, threat-intelligence extraction, attacker attribution, attack-technique mapping, mitigation selection, and general security reasoning. These tasks depend on evolving, structured authoritative sources such as CVE, CWE, CVSS, and MITRE ATT&CK (Sikos, 2023), making evaluation especially sensitive to pipeline errors and inconsistent labels. Such failures can distort claims of model specialization, obscure genuine capability differences, and mislead deployment decisions. Cybersecurity also provides a mature and heterogeneous benchmark ecosystem that has not been systematically audited, including in recent large-scale meta-evaluations (Bean et al., 2025).

In this paper, we ask: to what extent do design choices of evaluation pipelines affect the reliability of cybersecurity LLM benchmark outcomes? We argue that benchmarks should be viewed not as static datasets paired with fixed metrics, but as measurement pipelines that transform tasks and model outputs into numerical performance estimates (§2). Under this formulation, a benchmark score is conditional on its evaluation pipeline's stages, consisting of dataset construction, prompt specification, inference, extraction and scoring, and aggregation.

We audit eight cybersecurity benchmarks comprising 48,662 questions across 23 tasks against 10 proprietary, open-weight, and cybersecurity-specialized LLMs (§3) and identify 15 recurring failure modes across the evaluation pipeline (§4). Fixing these failures can shift a model's benchmark score by over 80 percentage points. For example, RedSage-Bench (Suryanto et al., 2026) uses “\n” as a stop sequence, causing generation to halt at the first newline. For Qwen3.6, this sequence fires inside the reasoning preamble before any answer token is produced, yielding empty outputs. Generating until the end-of-sequence token, using a token budget large enough for the reasoning span to close, and stripping the reasoning span before extraction, recovers 85.9 percentage points.

Across benchmarks, broader task coverage can still yield redundant measurements and unstable model rankings (§5). Using Principal Component Analysis (PCA), we find that the first component explains 95.25% of the variance across the 23 task × 10 model score matrix, showing that most tasks largely capture the same broad performance dimension. However, task-induced rankings can still disagree. Two semantically similar task pairs in CTI-Bench (Alam et al., 2024) and AthenaBench (Alam et al., 2025) show weak rank agreement under Kendall's τ\tau-b (0.29 and 0.24), with pairwise inversions revealing changes in specific model orderings. These discrepancies stem largely from incompatible scoring conventions, specifically binary versus partial-credit scoring and alias handling.

To isolate pipeline effects, we implement a harness that standardizes nine pipeline configuration fields, including prompt formatting, decoding, and extraction rules, wherever benchmark semantics permit. Under this harness, nine of 10 models shift by at least three ranks on at least one benchmark (§5). This has an important practical implication: cybersecurity-specialized models are often selected based on leaderboard rankings, yet those rankings can reflect evaluation-pipeline choices as much as underlying domain capability. We use these findings to formulate a set of recommendations for more reliable benchmarking (§6).

Our contributions are threefold. First, we formalize LLM benchmarks as measurement pipelines and audit every pipeline stage of eight cybersecurity benchmarks across 10 LLMs under a common framework. Second, we quantify stage-level effects through controlled perturbations of pipeline configuration fields, showing that pipeline choices affect both model scores and rankings. Third, we release an evaluation harness that makes heterogeneous benchmark assumptions explicit and reproducible. Although some individual failure modes identified in our audit have been documented before, our contribution is a systematic end-to-end audit of cybersecurity benchmarks under a single formalization. Our findings motivate treating benchmark scores as pipeline-dependent measurements and adopting benchmark audits, executable reference evaluators, invalid-response reporting, and reliability statistics as standard evaluation practice.

We note that our harness is intended as a diagnostic tool for exposing and correcting evaluation-pipeline choices, rather than as a universally correct evaluator. While our audit methodology is domain-general, the observed failure rates are specific to the cybersecurity benchmarks studied. Our goal is to identify these failures and quantify their impact, rather than to propose failure-free benchmarks or a universally applicable evaluation harness. We publicly release our audit code1^{1} and evaluation harness,2^{2} and publish our meta-evaluation results on EveryEvalEver (Batzner et al., 2026).

References (100)

  • gpt-oss-120b & gpt-oss-20b Model Card
  • Md Tanvirul Alam, Dipkamal Bhusal, Salman Ahmad, Nidhi Rastogi, and Peter Worth. 2025. AthenaBench: A Dynamic Benchmark for Evaluating LLMs in Cyber Threat Intelligence. arXiv preprint arXiv:2511.01144. (opens arXiv in a new tab)
  • Jan Batzner, Sree Harsha Nelaturu, Damian Stachura, Anastassia Kornilova, Jon Crall, Tommaso Cerruti, Yanan Long, Yifan Mai, Sanchit Ahuja, Asaf Yehudai, and 1 others. 2026. Every eval ever: A unifying schema and community repository for ai evaluation results. arXiv preprint arXiv:2606.14516. (opens arXiv in a new tab)
  • Avijit Ghosh, Anka Reuel, Jenny Chim, Wm Matthew Kennedy, Srishti Yadav, Jennifer Mickel, Yanan Long, Andrew Tran, Anastassia Kornilova, Damian Stachura, and 1 others. 2026. Evaluation cards: An interpretive layer for ai evaluation reporting. arXiv preprint arXiv:2606.09809. (opens arXiv in a new tab)
  • The Llama 3 Herd of Models
  • Measuring Massive Multitask Language Understanding
  • Pengfei Jing, Mengyun Tang, Xiaorong Shi, Xing Zheng, Sen Nie, Shi Wu, Yong Yang, and Xiapu Luo. 2024. SecBench: A comprehensive multi-dimensional benchmarking dataset for LLMs in cybersecurity. arXiv preprint arXiv:2412.20787. (opens arXiv in a new tab)
  • OpenAI GPT-5 System Card
  • Large Language Models are not Fair Evaluators
  • Qwen3 Technical Report
  • Zhuoran Yang, Ed Li, Jianliang He, Aman Priyanshu, Baturay Saglam, Paul Kassianik, Sajana Weerawardhena, Anu Vellore, Blaine Nelson, Neusha Javidnia, and 1 others. 2026. Llama-3.1-FoundationAI-SecurityLLM-Reasoning-8B Technical Report. arXiv preprint arXiv:2601.21051. (opens arXiv in a new tab)
  • Materials that are impractical to include in the paper, such as raw generations, run logs, plotting code, and interactive notebooks, are released in the audit repository, which is also linked in the table
  • >Audit protocol</td></tr><tr><td>Audit procedure</td><td>$2.1; App. F.1</td></tr><tr><td>Stage-by-benchmark audit coverage</td><td>App. F.5; Table 18</td></tr><tr><td>Re-scoring, re-generation, and automation limits</td><td>App. F.2; Table 16</td></tr><tr><td colspan=
  • Several of the remaining differences arise from counting or release conventions rather than from our sampling
  • These comprise 2,730 MCQs and 270 SAQs
  • Each evaluation job uses four NVIDIA H200 141 GB GPUs, with tensor parallelism set to the number of visible devices
  • Local vLLM runs additionally use min_tokens=50 to avoid empty end-of-sequence completions
  • GPT-5.4 uses Azure OpenAI chat completion API with api-version=2024-12-01-preview
  • Open-weight checkpoints were retrieved at their then-current Hugging Face revisions, or from a fixed local checkpoint where applicable
  • The standardized harness preserves the benchmark question and intended answer semantics while making prompt and chat formatting explicit
  • accuracy = correct / total over all attempted questions; unparseable/empty model answers count as incorrect; judge-API failures are excluded from both numerator and denominator
  • strip <think>...</think> before judging; if an answer-level stop is configured, apply it after removing reasoning
  • lm-as-judge: one call performs answer extraction and returns a CORRECT/INCORRECT verdict
  • Hosted models and locally served OpenAI-compatible endpoints use the same evaluation workflow
  • We classify each pair by comparing the benchmark documentation with its released implementation
  • When no extractor is released, we explicitly document the one we supply
  • ><tr><td rowspan=
  • We distinguish three sources of information
  • The artifact columns indicate whether the corresponding component is released and usable as specified
  • correct+plausible
  • B. It records the prompt and inference configuration, raw model response, extracted prediction, question-level score, invalid-response status, and aggregate score for every run
  • A green check indicates that the artifact is released and usable as specified; a red cross indicates that it is absent, contradictory, or not executable as written
  • Downstream changes can be evaluated by re-scoring stored responses, while upstream changes require re-generation (App
  • Not isolated
  • We first specify the pinned judge policy, then validate its output behavior and decisions through human and targeted stress-test analyses, and finally assess sensitivity to the choice of judge using an independent model
  • This reduces dependence on benchmark-specific surface-form extractors while preserving the task's intended answer semantics
  • **Answer:** X
  • ) for line in reversed(lines): if upper(line[0]) in {A..D} and line[1] !=
  • \b([A-D])\b
  • extracted_answer
  • Across all 48,662 questions and 10 evaluated models, the judge makes 486,620 grading calls
  • Calls is the number of grading calls made by the judge
  • a classic example of a CWE-79 ... Cross-site Scripting
  • verdict=INCORRECT, justification=
  • Human verification agrees with the judge's extraction and verdict on all 80 questions, including 64 multiple-choice and 16 open-ended cases
  • the 1,733 calls for which the pinned judge returns NONE, and the 50,456 multiple-choice-family calls for which its verdict differs from a deterministic final-answer regex on the same response
  • Agree is verdict agreement
  • Two annotators independently label every question using a written guideline and adjudication procedure released with the artifacts
  • Sonnet 4.6 independently re-grades the stored outputs of the other nine evaluated models on 22 of the 23 tasks, excluding CTI-Bench attacker attribution
  • Per-model score differences are also small
  • Here we clarify how the audit was executed and how we handle cases where an effect cannot be isolated
  • We inspect every benchmark for every failure mode, yielding 120 benchmark-failure interactions
  • Dataset-stage failures are summarized across benchmarks
  • confidence
  • GPT-5.4, Qwen3.6, Llama-3.3, and RedSage-Qwen3
  • Of these, 998 are checked by the search-grounded verifier
  • The verifier returns one of four outcomes: gold correct, gold mislabel, both wrong, or uncertain
  • Among these, 238 are confirmed gold mislabels (23.8%), 653 are false-positive flags for which the gold label is correct (65.4%), 16 are both wrong (1.6%), and 91 are uncertain (9.1%)
  • What is the total length of an IP packet, including the header and payload, when the payload size is 32 bytes and the IP header size is 20 bytes? (A) 84 (B) 52 (C) 60 (D) 72
  • Option B is correct and the published gold label C is wrong
  • Total Length ... is the length of the datagram, measured in octets, including internet header and data
  • Analyze the following CVE description and calculate the CVSS v3.1 Base Score ... Summarize each metric's value and provide the final CVSS v3.1 vector string
  • ADP: CISA-ADP, Base Score: 7.5 HIGH Vector; CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Analyze the following CVE description and calculate the CVSS v3.1 Base Score
  • NVD and the Zero Day Initiative both assign the network-accessible vector; the published AV:L/UI:R values conflict with those sources
  • CNA: ZDI, Base Score: 9.8 CRITICAL Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Given the CVE-2024-5048 record, a SourceCoderester Student Management System SQL-injection issue ... True or False: remote code execution is a potential impact
  • The published gold appears incorrect and the model majority is supported by the authoritative record
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • The published gold omits at least one supported option on this multiple-answer question
  • This token triggers systematic response failures in four models
  • …Always return in this format: ‘ANSWER: X’
  • The empty responses come from the template, not from a failed generation run
  • …Choose the correct answer (A, B, C, or D) only. Always return in this format: ‘ANSWER: X’
  • ANSWER: ?\s*([\A-D])
  • No re-extraction over these stored generations recovers an answer because the model never emits one, so the defect is in the prompt rather than the extractor
  • select the correct answers
  • You are evaluating the network security of a mobile application. Select the controls that should be implemented to ensure secure communication between the mobile application and its backend servers
  • Rather than returning only the requested option, Primus-Merged frequently produces explanations or echoes the answer choices; on MAET, this occurs on 950 of 1,072 questions
  • For the given question: Which incident involved adversaries using a rogue master to control emergency systems?, and four options: A) Maroochy Water Breach, B) 2017 Dallas Siren incident, C) Stuxnet Attack, D) BlackEnergy Attack
  • 950 of the 1,072 MAET questions return an explanation or an echoed list rather than an option, so the score largely measures template compliance
  • >Task</th><th colspan=
  • All 2,189 requests therefore return HTTP 400 rather than a model generation
  • Below are multiple-choice questions concerning cybersecurity. Please select the correct answers and respond with the letters ABCD only
  • Invalid 'max_output_tokens': integer below minimum value. Expected a value >= 16, but got 5 instead
  • Comparing the documented configuration with a greedy control on the same 500 questions changes Primus-Merged from 17.2% to 57.2%, a 40.0 pp difference; correctness changes on 274 questions (Table 22)
  • Do not leave a space between the colon and the letter
  • A form ($\rightarrow$ A)
  • The difference is driven by decoding-dependent format compliance rather than a change in the underlying question
  • >Model</th><th colspan=
  • provide the final CVSS v3.1 vector string
  • The two rules disagree on 96.5% of Primus-Merged's 513 contested questions, even though both are plausible interpretations of the released pipeline
  • >Model</td><td colspan=
  • Contested only is the disagreement percentage restricted to model-question pairs for which at least one extractor returns a CVSS vector
  • Correct-over-valid reports $c/v$, whereas correct-over-total reports $c/n$
  • Analyze the following CVE description and map it to the appropriate CWE... Ensure the last line of your response contains only the CWE ID. CVE Description: In the Linux kernel through 6.7.1, there is a use-after-free in cec_queue_msg_fh
  • Correct-over-valid scoring reports $c/v = 100.0\%$, while correct-over-total reports $c/n = 0.2\%$ on the same generations
  • CTI-Bench reports mean absolute deviation (MAD), for which lower is better, whereas AthenaBench reports $100 \times \max(0, 1 - \text{MAD}/7.7)$, for
  • On RedSage-Bench, Gemma-4 scores 86.6% under logprob scoring but 45.7% under generative scoring, a 40.9 pp difference
  • CTI-Bench additionally awards plausible credit to related actors, while AthenaBench uses a strict binary verdict

Couldn't load all references. Reload the page to try again.