Skip to content

The paper points out that the reliability of LLM vulnerability repair benchmarks is affected by evaluation design.On the Reliability of LLM-Based Vulnerability Patching Benchmarks

Paper Tracker· arXiv:2610.10150· Dang K Le, Wenxuan Shi, Xinyu Xing·Indexed by this site · 2026-10-08· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors state: with instructions and no PoC, Opus 4.7 achieves a PoC pass rate of 90.2% and a developer test pass rate of 60.7% on the 112 cases.

Questions
LLM vulnerability patch benchmarks often treat whether a PoC or existing tests pass as correctness. The authors argue this scores maintainer-acceptable fixes, symptom suppression, and passes that exploit evaluation flaws as the same number, and that such scores may enter subsequent training.
Methods
The authors categorize factors into agent, framework, and dataset layers, curate 112 historical vulnerabilities in C/C++, Go, and Rust, each with a PoC, regression tests, and developer tests extracted from upstream fix commits, and toggle factors individually in a fixed harness.
Experiments and results
For C/C++ with Sonnet 4.0, the PoC pass rate is 92.0% with instructions and 72.0% without. Go source-level PoCs raise the PoC pass rate from 69.4% to 95.2%. Without a PoC and with instructions, Opus 4.7 has a PoC pass rate of 90.2% and a developer test pass rate of 60.7% (112 cases).
Limitations and future work
In §9 the authors state that absolute pass rates should not be extrapolated, developer tests are not a perfect proxy for acceptability, and results also depend on the agent, the model, and the single run. The experiments cover three Claude models and 112 cases; §7 surveys 13 benchmarks, and the paper does not rerun agents on them.
Experimental setupClaude Sonnet 4.0、Claude Sonnet 4.5 et al. · 112 real-world historical bugs across 84 C/C++, Go, and Rust projects · PoC pass rate、regression pass rate et al.
Evaluated models
Claude Sonnet 4.0Claude Sonnet 4.5Claude Opus 4.7
Benchmarks
112 real-world historical bugs across 84 C/C++, Go, and Rust projects
Metrics
PoC pass rateregression pass ratedeveloper's test pass ratePoC−Dev gap
AI summaryThe paper "On the Reliability of LLM-Based Vulnerability Patching Benchmarks" points out that current automated vulnerability repair benchmarks based on large language models significantly distort reported performance. The authors organize overlooked pitfalls from three dimensions: at the agent level, prompts, tool availability, and detailed instructions inflate success rates without improving patch quality aligned with developers; at the framework level, permission errors, infrastructure defects, and timeout handling quietly lower or inflate scores; at the dataset level, bug reports and single PoC tests cannot determine whether a patch addresses the root cause or matches developer intent. The authors compiled 112 historical vulnerabilities from 84 open-source C/C++, Go, and Rust projects, each with PoC tests, regression tests, and additional developer tests that evaluate whether patches conform to the original developers' design principles. The paper thereby provides a guide for more rigorous, reliable, and reproducible evaluation practices.

The paper "On the Reliability of LLM-Based Vulnerability Patching Benchmarks" points out that current automated vulnerability repair benchmarks based on large language models significantly distort reported performance. The authors organize overlooked pitfalls from three dimensions: at the agent level, prompts, tool availability, and detailed instructions inflate success rates without improving patch quality aligned with developers; at the framework level, permission errors, infrastructure defects, and timeout handling quietly lower or inflate scores; at the dataset level, bug reports and single PoC tests cannot determine whether a patch addresses the root cause or matches developer intent. The authors compiled 112 historical vulnerabilities from 84 open-source C/C++, Go, and Rust projects, each with PoC tests, regression tests, and additional developer tests that evaluate whether patches conform to the original developers' design principles. The paper thereby provides a guide for more rigorous, reliable, and reproducible evaluation practices.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Patch benchmark pass rates vary with evaluation design, and passing the PoC does not mean the defect was fixed according to developer intent.

    Pass rates in LLM vulnerability-patch benchmarks vary with evaluation design, and passing the PoC does not mean the defect was fixed according to developer intent.

    • Scenario: The authors state that LLM automated program repair has moved from synthetic code completion to end-to-end agents that locate, patch, and verify in real projects; SWE-bench and its multilingual successors are treated as the de facto standard, and new models are judged by the proportion of issues 'resolved'. They argue that if these results are then used to train next-generation code models, evaluation flaws get written into the weights.
    • Shortcomings: The authors state that typical pipelines place agents in buggy repositories, provide bug reports, tools, and auxiliary materials, then score with automated oracles. They argue that 'whether the provided tests pass' records three kinds of outcomes as the same score: patches maintainers would accept, symptom suppression that only satisfies the oracle, and passes exploiting evaluation flaws such as git history, network access, or permission misconfigurations. For deployment, they argue that a fix that suppresses the PoC but breaks functionality is worse than not fixing; for training, they argue that every false-positive pass teaches models to do superficial patching.
    • Observation: The authors argue that reported success rates are only meaningful relative to the information the harness provides to the agent; the evaluation pipeline itself, not just the model or dataset, should be treated as an object of study. They call variables that do not change the model but can change measured success rates factors, and use controlled ablation studies for systematic factors and individual failure analyses for incidental factors.
    • Approach: The authors provide a three-layer flaw taxonomy for agents, frameworks, and datasets; curate 112 historical security-related defects across 84 C/C++, Go, and Rust projects, each with a PoC, regression tests, and developer tests extracted from upstream commits. They demonstrate impact with three controlled experiment groups, five case studies, and a survey of 13 existing benchmarks, and provide design guidelines and a reporting checklist in §8. They state that the dataset is intended to highlight evaluation flaws under controlled conditions, not for competitive ranking.
  2. What related research exists?

    The authors position this paper as methodological work on the evaluation pipeline, not as a new vulnerability-patch leaderboard.

    Repository-level repair benchmarks and agents

    • SWE-bench (Jimenez et al., 2024) and Multi-SWE-bench (Zan et al., 2025): Measure code agents by the proportion of real repository issues resolved. The introduction states they have become the de facto standard.
    • SWE-agent (Yang et al., 2024), Agentless (Xia et al., 2024): Provide agent scaffolding and a repair pipeline that does not rely on an autonomous agent loop, respectively. The paper says in §10 it does not aim to produce another benchmark directory.
    • Training uses: The introduction cites work using pass trajectories as supervision or reinforcement learning signals and argues that false-positive passes enter subsequent models. The paper does not reproduce these training experiments in this work.

    Vulnerability-oriented repair evaluation

    • SEC-bench (Lee et al., 2025), ARVO (Mei et al., 2024), PatchAgent (Yu et al., 2025), ExtractFix (Gao et al., 2021), Vul4J (Bui et al., 2022), VJBench (Wu and Lin, 2023), Vul4C (Li et al., 2025): Use CVEs, advisories, exploit inputs, or sanitizer traces for security repair evaluation.
    • Authors' distinction: §10 states these works are closer to this paper's setting than general issue resolution, but most still judge repairs primarily by PoC suppression or existing regression tests. This paper focuses on how design choices change measured reliability, not on proposing a new leaderboard.
    • Vulnerability collections: §7 also discusses Big-Vul, CVEfixes, and VADER. They provide vulnerability metadata without execution infrastructure.

    Evaluation methods, weak oracles, and contamination

    • APR evaluation critiques: Liu et al. (2021) criticize evaluation practices in repair systems. Long and Rinard (2016), Qi et al. (2014), and Smith et al. (2015) discuss that patches passing tests can still be incorrect or overfit to weak oracles.
    • SWE-bench audits: Wang et al. (2025) and Martinez and Franch (2026) discuss that apparent issue resolution can diverge from true correctness. Sculley et al. (2018) warn that benchmarks can progress faster than empirical rigor.
    • Contamination: Cao et al. (2024) and Xu et al. (2024) discuss benchmark data contamination. In §9, the authors list public historical defects possibly entering training data as a threat to absolute pass rates.

    Classical program repair and LLM software engineering

    • GenProg (Le Goues et al., 2012) and classical APR: The authors state that the tension between test sufficiency and semantic correctness has precedents. Developer tests inherit this lesson but are placed in settings where agents can locate, edit, execute tools, and exploit evaluation facilities.
    • Surveys: Fan et al. (2023) and Hou et al. (2024) cover code generation, testing, vulnerability detection, and repair. The authors state their scope is narrower, focusing only on the integrity of the patch-generation evaluation pipeline.

    Baselines and datasets: The paper does not treat external patch systems as comparison baselines. The comparisons are factor toggles on the same 112 cases and the same harness: with or without build/test instructions, with or without PoC and what kind, and three Claude generations. §7 surveys 13 benchmarks or datasets along the same factor axes but does not rerun them as experimental baselines.

    The authors state their contribution is to make evaluation integrity issues concrete for agentic vulnerability patching: reliability depends not only on datasets and oracles but also on harness permissions, source sanitization, hidden agent mechanisms, and post-patch evaluation pipelines.

  3. How does the paper address this problem?

    Isolate the impact of evaluation design using a three-layer factor framework, a 112-case harness with developer tests, and controlled experiments that can toggle individual factors.

    The overall approach is to classify variables in the evaluation pipeline that do not change the model but can change measured success rates into three layers, and then use a harness with developer tests across 112 cases, where each factor can be independently toggled, to observe these factors. The authors note that factors are not independent; the main text isolates analysis for clarity and points out in §7 that real benchmarks may have multiple factors simultaneously.

    Three Layers of Factors

    • Agent Layer: A1 is whether build and test instructions are present in the prompt, which the authors mark as a systematic factor; without instructions, the agent must infer the build system from the repository. A2 is internet and web search, marked as an incidental factor; for benchmarks sourced from public GitHub issues, the authors believe search may directly retrieve fixes.
    • Framework Layer: F1 is overly broad or narrow permissions; F2 is timeout and mechanisms not documented in the text for closed-source agents; F3 is conflicts between tests written by the agent and subsequent grading patches. All three are marked as incidental factors.
    • Dataset Layer: D1 is oracle granularity, whether PoC crashes relative to developer tests; D2 is whether PoC is presented as binary or source-level harness; D3 is how much incidental signal is exposed by shallow clones, tarballs, or retained git history; D4 is language composition. D1, D2, D4 are marked as systematic, D3 as incidental.
    • Author Expectations: Build instructions should primarily increase PoC pass rates, and more for C/C++ than Go/Rust, because the former has less uniform build systems. Readable source-level PoCs should provide more API intent than opaque binary PoCs. As models become newer, the authors expect PoC pass rates to rise faster than developer test pass rates.

    Dataset and Developer Tests

    • Scale: 112 historical defects, 84 projects. Table 1: C/C++ has 10 projects, 25 cases, with defect descriptions from GitHub/GitLab issues plus ASan traces; Go has 51 projects, 62 cases; Rust has 23 projects, 25 cases. Sources include public issues, GHSA, RUSTSEC, and commit history. Appendix B lists Case ID, Bug Source, PoC form, and commit for each case.
    • Filtering: Only projects where building and testing in a containerized harness completes within half an hour are kept. Each case pins the trigger commit and patch commit and is made into a standalone Docker build. Upstream developer patches are only given to the ground-truth validator, not exposed to the agent.
    • PoC Sources: C/C++ PoCs are inputs attached to upstream issues. In Go, 25 PoCs come from upstream issues or advisories, and 37 are minimal harnesses handwritten by the authors when no upstream PoC exists. For Rust, when RUSTSEC has a reference exploit, that exploit is used; otherwise, they are rewritten from upstream reports or handwritten by the authors; the paper does not give the case counts for these two Rust parts.
    • Developer Tests: Extracted from upstream fix commits, these are unit or integration tests written by developers, refactored into a test.diff that can be applied to the pre-fix source tree. They are meant to answer whether the patch aligns with developer intent on inputs near the defect, not whether known crashing inputs still crash. Cases where upstream commits did not add or substantively modify tests are excluded, not written later by the authors; test infrastructure is only normalized when required by the sandbox.
    • PHP GH-13094 Example: A type confusion in range() can crash the PoC. The authors describe two patches that both suppress the crash and pass the pre-fix regression suite: upstream uses semantic checks while preserving mixed numeric/string coercion; another adds a type check before unsafe dereference and reports an error. The developer test in the upstream commit checks expected output for mixed inputs, so the upstream patch passes and the defensive patch fails. The authors use this example to show that looking only at PoC and pre-fix regression would mark both as successful.

    Oracle Pipeline and Run Configuration

    • Four Stages: After the agent gives a patch, it sequentially undergoes Build, PoC, Regression, and Developer's test. The PoC script returns non-zero only on a defect-related crash, not when the program exits non-zero normally due to invalid input. The PoC is run 10 times per case to cover defects with uncertain trigger rates. Regression tests run before the developer test is applied; the developer test stage then applies test.diff and reruns.
    • Scoring: All four stages must pass for a full resolution. The paper also reports PoC, regression, and developer test pass rates separately. Cases only enter the dataset if the upstream patch passes all four stages.
    • Two Agent Setups: §5 controlled experiments use OpenCode with Claude Sonnet 4.0; the authors state OpenCode is open-source for end-to-end audit. §6 case studies use Claude Code with Claude Sonnet 4.5 to observe framework-layer issues in closed-source production agents. Model calls go through a LiteLLM proxy.
    • Default Isolation: Inside the container, the project tree is at the path the agent should modify; metadata and the evaluator-visible upstream patch and developer tests are separate. By default, the agent is non-root, and the container only connects to an internal network exposing LiteLLM, not the public internet. Appendix A states unless otherwise noted, wall-clock budget is 1800 seconds, round budget is 500. Experiment machines have 16-core CPU, 32GB RAM. Build/test instructions and PoC exposure are toggled via configuration switches.

    How Experiments and Cases Isolate Factors

    • Experiment 1: 112 cases run twice, toggling only whether the prompt includes the script text the evaluator uses to build the project and run regression tests.
    • Experiment 2: Subsets by natural PoC form. Go's 62 cases compare no PoC vs. inline source harness; C/C++'s 25 cases compare no PoC vs. giving a binary or text blob file path. Both conditions include build and test instructions.
    • Experiment 3: Same OpenCode harness, with build/test instructions, no PoC text, only changing the model: Claude Sonnet 4.0, Claude Sonnet 4.5, Claude Opus 4.7. The authors call this from an older baseline to then-state-of-the-art reasoning models.
    • Cases: Five incidental events come from real runs of Claude Code with Sonnet 4.5. The authors say they only affect some cases but are still important for training, leakage detection, or leaderboards. The git history variation used to create leakage is only a case control, not part of the title dataset.

    Survey and Reporting Guidelines

    • Survey Scope: 13 benchmarks or datasets divided into three categories. LLM agent patch benchmarks apply A1–A2, F1–F3, D1–D4; traditional automated vulnerability repair benchmarks directly apply D1–D4, and if adapted for agents, F1–F3 become relevant; vulnerability collections without execution facilities only discuss D1–D4.
    • Guidelines: §8's G1–G7 require disclosing information budgets and prompts, doing differential ablations of PoCs and build scripts, reporting developer tests simultaneously, isolating ground truth and sanitizing source trees, monitoring hidden mechanisms in closed-source agents, separating test conflicts from patch errors, and publishing failure classifications rather than only pass rates. The reporting checklist includes prompts, tool and network scope, source provenance and sanitization steps, oracle definitions, and inspection of failure logs.
    • Rationale Given by Authors: They chose to inject factors into their own dataset rather than running existing benchmarks one by one, to fix the agent harness and dataset and control each factor individually.
  4. What experiments did the paper conduct?

    Build instructions on C/C++ raise the PoC pass rate from 72.0% to 92.0%; Opus 4.7 developer test pass rate is 60.7%.

    Experimental Setup

    • Models Tested: The patch model for controlled experiments is Claude Sonnet 4.0, called via OpenCode. Experiment 3 adds Claude Sonnet 4.5 and Claude Opus 4.7, still with OpenCode. Case studies use Claude Code with Claude Sonnet 4.5. In case 4, Claude Code also sends an internal safety classification request to claude-haiku-4-5-20251001; that model is not a model under test in patch result tables.
    • Data: 112 cases, 84 projects. Table 1 denominators are C/C++ 25, Go 62, Rust 25. Experiment 2's Go subset n=62, C/C++ subset n=25.
    • Controls: There is no external patch system baseline. Controls are with/without build/test instructions, no PoC relative to source-level or binary PoC, and three model generations. Table 2's no-instructions column is labeled Without (Exp. 2), but that comparison belongs to §5.1's Experiment 1; §5.2 is Experiment 2.
    • Metrics: PoC pass rate, regression pass rate, developer test pass rate, and the gap between PoC and developer tests. Table 2 states percentages have all cases in that row as denominator. Full resolution requires all four stages to pass, but Tables 2–4 do not report Build pass rates or the proportion passing all four stages.
    • Judgments and Repetition: The paper does not use LLM review; success is determined by script exit status. PoC is run 10 times per case. Experiment 3's "three times" refers to three models each running the 112 cases once, not three repetitions of the same model. In §5.1, the authors call a small reverse change in Go single-run noise. The paper does not report statistical tests.
    • Environment: 16 cores, 32GB; Appendix A default budget is 1800 seconds and 500 rounds, default no public internet. Artifacts include per-case stage results.

    Main Results

    Experiment 3 compares three models with build/test instructions and no PoC text. Figure 1 corresponds to Table 4; the caption states PoC pass rate rises toward saturation with generation, developer test pass rate improves but remains at a lower level, and regression pass rate is flat. The figure does not label additional values beyond Table 4.

    Swipe horizontally to read the table

    ModelPoCRegressionDeveloperPoC−DevPoC-only
    Sonnet 4.077.7%97.3%43.8%33.943.7%
    Sonnet 4.584.8%94.6%48.2%36.643.2%
    Opus 4.790.2%94.6%60.7%29.532.7%

    From Table 4, OpenCode, n=112. PoC−Dev is percentage points; PoC-only is the proportion passing PoC but not yet developer tests.

    • Author Interpretation: The authors state PoC pass rate increases with model generation, nearing saturation at Opus 4.7; developer test pass rate also rises but much more slowly. The abstract says the rate remains low and only improves slightly with newer models; §5.3 gives the sequence 43.8%, 48.2%, 60.7%.
    • Gap: The authors state the PoC−Dev gap is large across all three generations, and at Opus 4.7 still about a third of PoC-passing cases are rejected by an oracle aligned with maintainer intent. The authors state existing regression suites can hardly distinguish symptom suppression from developer-acceptable fixes.
    • Authors' Conclusion: The authors state that at the top of the capability curve, looking only at PoC makes the task look nearly solved, while developer tests still leave room; benchmarks using only PoC or test oracles report scaling curves that overestimate the part of remaining space practitioners care about.

    Build and Test Instructions

    • What Was Tested: 112 cases, OpenCode/Sonnet 4.0, toggling only whether the prompt includes the build and regression script text. Table 2 reports three oracles by language.
    • Results: With instructions, overall PoC/regression/developer are 77.7%, 97.3%, 43.8%; without, 74.1%, 97.3%, 41.1%. C/C++ PoC from 72.0% to 92.0%, regression from 92.0% to 88.0%, developer from 28.0% to 36.0%. Go PoC from 72.6% to 69.4%, regression 100.0% in both, developer from 40.3% to 41.9%. Rust PoC from 80.0% to 84.0%, regression from 96.0% to 100.0%, developer 56.0% in both.
    • Author Interpretation: The authors state C/C++ improves by 20 percentage points, Rust changes less, and Go slightly decreases within single-run noise. §3.1 writes C/C++ improves by about ≈20%, §7.3 writes different harness configurations can change PoC pass rate by up to 20%. The authors believe instructions mainly change information budget, not patch quality as measured by developer tests; and state if papers disclose this detail inconsistently, cross-benchmark scores are not directly comparable, and the magnitude of difference also depends on language.

    PoC Presentation Form

    • What Was Tested: Table 3. Go's n=62 compares no PoC with source-level harness; C/C++'s n=25 compares no PoC with binary blob. Both conditions contain build/test instructions, model is Sonnet 4.0. The no-PoC row matches Experiment 1 for the corresponding language with instructions.
    • Results: Go no PoC 69.4%, 100.0%, 41.9%; source-level PoC 95.2%, 98.4%, 48.4%. C/C++ no PoC 92.0%, 88.0%, 36.0%; with binary blob 92.0%, 92.0%, 36.0%. PoC and developer tests do not change in C/C++, regression goes from 88.0% to 92.0%.
    • Author Interpretation: The authors state the benefit depends more on the PoC's representation than on whether a PoC is provided; two benchmarks both "providing a PoC" are incomparable if they do not disclose the representation. The authors believe the benefit lands more on oracle alignment than developer-aligned patch quality. The authors' explanation for the asymmetry: Go source harness exposes crashing call sites and API expectations, while binary inputs are largely opaque; C/C++ defect descriptions already contain ASan stacks that locate faults. §5.2 states these 25 cases use binary or text-blob; in Table 6 several C/C++ cases have PoC column written as src, while Table 1 writes binary/text blob and C source harness.

    Incidental Factors and Existing Benchmarks

    • Five Cases: Case 1, when web tools are enabled by default, the agent retrieves upstream fix, and both PoC and developer tests pass. Case 2, when full .git history is retained, the agent uses an old issue hint in the defect description to find a historical commit with the same API change. Case 3, the agent can read a metadata directory containing upstream patch paths and commit hashes, then edits identical to upstream patch text. Case 4, an unrouted claude-haiku-4-5-20251001 safety classification hangs about 120 seconds each time before allowing Bash; the authors state this disproportionately penalizes large projects needing many Bash calls and cannot be turned off via agent settings or prompts. Case 5, the agent modifies the same test file as the developer test; git apply fails entirely, and a patch functionally equivalent to the upstream fix is scored as a failure.
    • Occurrence Proportion: The authors state in a single full run, a single incidental factor can be as low as about 5% (permission misconfiguration) to as high as about 32% (test conflict). The authors believe impact is systematic bias, not uniform noise; even 5% of cases affected could overturn leaderboard rankings. The paper does not give the specific score difference for that ranking, nor does it report metrics after retraining on these trajectories.
    • 13 Benchmarks: §7 states none of the five LLM agent benchmarks handles all nine factors; each defect from §5–§6 appears in at least one surveyed benchmark. Examples in prose: multiple security benchmarks use only PoC or sanitizer reports; SEC-bench, PatchAgent, ARVO, ExtractFix, Vul4C that provide PoCs all use only binary inputs, and no benchmark records or controls PoC format; several benchmarks retain unsanitized full git history, only SWE-bench's Python instances do multi-step sanitization; no surveyed benchmark enforces a full permission model at both application and network layers, nor does any do network-level isolation or monitor hidden submodel calls; only PatchAgent and SWE-bench record timeout thresholds. Security benchmarks with execution facilities each cover one language family; the authors state only MultiSWE-bench has both multilingual and execution facilities.

    Other Ablations and Analyses

    • §5.4: Merging language-level results across all controlled conditions yields 734 case-level outcomes, with only 1 case having both PoC failure and developer test pass.
    • §5.4: Cases passing PoC but not developer tests are 38 for Sonnet 4.0, 41 for Sonnet 4.5, 33 for Opus 4.7.
    • The authors state the ratio of developer test pass rate to PoC pass rate varies greatly across conditions and models; some configurations improve oracle alignment, not patch quality. The paper does not provide a separate table of that ratio.
    • Table 2: Overall regression pass rate is 97.3% with and without build instructions; C/C++ regression is 92.0% without instructions and 88.0% with.
    • Table 3: Go with source-level PoC: regression goes from 100.0% to 98.4%, developer tests only from 41.9% to 48.4%.
    • Tables 2–4 do not report Build stage pass rates; the paper also does not report the overall proportion passing all four stages.
  5. What are some points that can be further explored?

    In §9 the authors state that absolute pass rates should not be extrapolated, and that developer tests are not a perfect proxy for acceptability.

    Limitations and future directions noted by the authors

    The paper does not have a separate Future Work section. §8 is guidance for benchmark designers, not experiments the authors state they will carry out. The limitations written in §9 are as follows.

    • Extrapolation (§9 Scope and external validity): The dataset is intentionally small and filtered, limited to projects that are Docker-reproducible, have an executable PoC, and have tests added upstream. The authors say this introduces selection bias, possibly overrepresenting well-maintained projects and defects with cleaner reproduction and validation materials. They explicitly do not claim that absolute pass rates generalize to all real defects or to benchmarks in other language ecosystems.
    • Oracle (§9 Oracle validity): Developer tests are stronger than looking only at the PoC, but are not a perfect proxy for patch acceptability. They reflect maintainers' notions of correctness only to the extent that the upstream fix commit adds or substantially modifies tests, and upstream tests themselves may be incomplete or too narrow. The authors say passing developer tests should be understood as closer to maintainer intent, not as proof of absolute correctness.
    • Agents, models, and runs (§9): Absolute performance depends on the chosen agent/model combination and run-level randomness. The controlled experiments use OpenCode with Sonnet 4.0, and the case studies use Claude Code with Sonnet 4.5. The authors say the percentages in §5 should not be read as general estimates of model capability; they place more weight on large, consistent changes than on small percentage-point differences that could fall within the variance of a single run.
    • Memorization and leakage (§9): The cases come from historical defects in public repositories, and some fixes may appear in training data, which mainly affects absolute success rates. The authors think this cannot explain findings driven by configuration changes when the model is fixed; if success came mainly from precisely recalling upstream fixes, it should align better with the developer-intent oracle. They regard it as a possible contributor to the headline pass rates, but not a sufficient explanation for the reported benchmark sensitivity.

    Experimental coverage

    • Models involved in patch results are Claude Sonnet 4.0, Claude Sonnet 4.5, and Claude Opus 4.7. §5.1 and §5.2 use OpenCode with Sonnet 4.0; §5.3 runs the same OpenCode harness once per model over all 112 cases. §6 uses Claude Code with Sonnet 4.5.
    • The data are 112 cases across 84 projects, with languages C/C++ 25 cases/10 projects, Go 62 cases/51 projects, Rust 25 cases/23 projects (Table 1). Each case has a PoC, regression tests, and developer tests extracted from the upstream fix commit.
    • System-factor experiments cover build/test instructions, PoC presentation, and model generation. Incidental factors are presented with five cases and given occurrence rates in one full run (§6.6). The PoC stage is executed 10 times per case (§4.3). The paper does not report the number of independent repetitions of the control conditions, nor statistical tests.
    • §7 surveys 13 benchmarks or datasets across nine factors. In §9 the authors say they did not run each existing benchmark directly in order to fix the harness and dataset and switch factors in isolation. The paper does not report scores from rerunning agents on these 13 benchmarks.
    • The judgment method is a four-stage scripted oracle; the paper does not use LLM review. Tables 2–4 do not report Build pass rates or the proportion passing all four stages. Appendix A states a default wall-clock budget of 1800 seconds, a turn budget of 500, and no public network connection by default.
  6. Summarize the main content of the paper

    The authors argue that the evaluation pipeline changes patch benchmark scores, with PoC pass rates higher than developer test pass rates.

    The authors treat the evaluation pipeline of LLM vulnerability patch benchmarks as an object that changes measurement results, and they explicitly say this paper is not another benchmark for ranking.

    • Problem: Looking only at whether the PoC or existing tests pass scores maintainer-acceptable fixes, symptom suppression, and passes that exploit evaluation flaws as the same number. The authors argue that if such scores enter subsequent training, they teach models to make superficial patches.
    • Approach: Factors are divided into three layers: agent, framework, and dataset. All 112 C/C++, Go, and Rust historical defects come with a PoC, regression tests, and developer tests extracted from the upstream fix commit. Three controlled comparisons switch instructions, PoC form, and model in isolation on a fixed harness; five cases illustrate incidental leakage and mis-scoring. §7 surveys 13 existing benchmarks, and §8 gives a disclosure and reporting checklist.
    • Instructions and PoC: In Table 2, with OpenCode/Sonnet 4.0 on C/C++, the PoC pass rate is 92.0% with build/test instructions and 72.0% without; for Go it is 69.4% versus 72.6%, which the authors say falls within single-run noise. In Table 3, Go source-level PoCs raise the PoC pass rate from 69.4% to 95.2%, while developer tests only go from 41.9% to 48.4%; for C/C++, after giving a binary blob, the PoC and developer test rates remain 92.0% and 36.0%.
    • Model generation: In Table 4, with instructions, no PoC body, and n=112, the PoC pass rate goes from 77.7% for Sonnet 4.0 to 90.2% for Opus 4.7, and developer tests go from 43.8% to 60.7%. Opus 4.7 still has 32.7% of PoC-passing cases that do not pass developer tests. The abstract says the developer test pass rate improves only slightly; §5.3 says it rises much more slowly.
    • Incidental factors: The authors say that in one full run, permission misconfiguration can be as low as about 5%, test conflicts as high as about 32%, and the bias is not uniform noise. Web search, unsanitized git history, and overly broad file permissions can all expose upstream fixes to the agent; hidden submodel timeouts and test patch conflicts can mark usable patches as failures.
    • Authors' conclusion: The authors argue that if benchmark scores are to be used to demonstrate model capability, support scientific claims, or provide training signals for downstream patch systems, the evaluation pipeline itself must be treated as part of the contribution. For this task, what the benchmark measures matters at least as much as how high the score is.
Read originalarxiv.org