Manuscript Offprint

arXiv:2610.17374

VulnBump: A Benchmark for Fixing Vulnerable Dependencies in Real Projects While Keeping the Build and Tests Green

Gabija Pasiunaite, Ryan McMorrow, Brian Clark, Liran Tal, Luke Tu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Software composition analysis (SCA) tools report far more vulnerable dependencies than teams fix: in Snyk Open Source production data, 94% of vulnerability findings have a known fixed version, yet only about 10% are resolved. Agentic coding tools could close this gap, but no benchmark evaluates them on vulnerability-driven upgrades in real, runnable projects across ecosystems, verified independently of the agent. We present VulnBump: 307 upgrade tasks covering 2,066 fixable vulnerabilities in 43 repositories across six package managers, matched to Snyk Open Source production vulnerability distributions. An upgrade passes only if, in a fresh container, dependencies resolve, a rescan shows the targeted vulnerabilities fixed, the project builds, and every previously passing test still passes. A non-agentic baseline that only applies Snyk's recommended version passes 46.9% of upgrades; with the same model (Claude Sonnet 5.5), Snyk's Evo Remediation Agent passes 90.2%, Claude Code + Snyk scan 77.5% and Claude Code unaided 59.6%. The agents fail in opposite ways: Claude Code mostly leaves the vulnerability in place, whereas most of Evo Remediation Agent's failures break the build or tests. An SCA scanner is a key tool for agents: Snyk's guidance raises Claude Code's PASS rate by 17.9 percentage points; without it, Claude Code often settles on a still-vulnerable version. Yet knowing the target is not enough: given the same Snyk findings, Evo Remediation Agent's purpose-built harness passes 12.7 points more than Claude Code + Snyk scan. Major framework migrations remain hard for all harnesses. Because the agents keep projects working at similar rates, evaluating remediation quality in dependency upgrades requires verifying the fix, the build and the tests together.

1 Introduction

Software composition analysis (SCA) scanners such as Snyk Open Source [21] flag vulnerabilities in open-source dependencies, and the fix is usually an upgrade: in Snyk production data, 94.0% of findings have a known fixed version, yet only about 10% are resolved (Section 3.1). The bottleneck is upgrading safely. Of 306 dependency-update pull requests that bots such as Dependabot opened in Maven projects and developers rejected after discussion, 51.3% involved incompatibility concerns (compile, test or CI failures, dependency conflicts) [24]. In Snyk's data, about a quarter of fixes need a major-version jump and most vulnerable packages arrive transitively (Section 3.1), and even minor and patch releases often contain breaking changes [12, 14]. Cautious upgrades do not solve the problem: non-major upgrades of direct dependencies fix only 25.71% of CVEs [24]. An upgrade that removes the vulnerability but breaks the build or tests is not a fix.

Agentic coding tools could do this work end to end, but no benchmark measures whether they do it reliably. That requires (i) real repositories with working builds and tests, (ii) tasks driven by real vulnerability findings with known fix paths, and (iii) verification, independent of the agent, that the vulnerability is gone and the project still works. Existing benchmarks cover at most two (Section 2): breaking-update benchmarks [10, 17, 23] are not driven by vulnerabilities, and CORAL [24] scores against its own CVE-to-version mapping rather than a production scan.

We introduce VulnBump to fill this gap. Each task, an upgrade, pairs a real repository, pinned at a vulnerable commit, with one upgrade recommended by a Snyk scan. The simplest fix is a version bump, which raises the dependency's version in the manifest or lockfile and changes nothing else; harder ones also need code changes or dependency conflict resolution. A verifier re-checks the agent's work in a fresh container with four gates: dependencies resolve, a rescan shows the targeted vulnerabilities fixed, the project builds, and every previously passing test still passes. Only an attempt that passes all four is a PASS.

We use VulnBump to evaluate four harnesses on the same 307 upgrades. The package manager bump, the non-agentic baseline, bumps the package to Snyk's recommended version with the project's own package manager, and changes nothing else. The three agentic harnesses use the same model, Claude Sonnet 5.5: Snyk's Evo Remediation Agent, and the general-purpose Claude Code [1] run with the Snyk scan and recommended upgrade (Claude Code + Snyk scan) and without them (Claude Code unaided). The baseline passes 144 upgrades, a lower bound on what mechanical upgrading can solve (Section 5.3). On these Snyk-advice-solvable upgrades, an agent can only keep or lose an easy fix; on the other 163, it must do more than bump a version, such as adapting code to breaking changes or resolving dependency conflicts.

Two design choices let VulnBump tell these harnesses apart. First, because each task starts from a vulnerability, VulnBump evaluates remediation directly and can therefore measure avoidance, an agent leaving the vulnerability in place rather than taking a risky upgrade. Breaking-update benchmarks cannot detect avoidance, yet it is Claude Code's most common failure (Section 5.3). Second, a PASS requires both a remediated vulnerability and a working project. Evaluated on dependency resolution, build and tests alone, the agents perform similarly; only the remediation check distinguishes them.

This paper makes three contributions:

• VulnBump, a dataset grounded in production data: 43 repositories, selected to match Snyk production vulnerability distributions from 99 qualifying candidates with a reproducible install, build and test baseline, yielding 307 upgrade tasks over 2,066 fixable vulnerability instances, from bumps that need no code changes to major migrations.

• A verifier that does not trust the agent, applying the four gates in a separate container, while the agent runs in an isolated, production-like sandbox with leakage controls.

• A same-model comparison of a purpose-built remediation engine and a general-purpose coding agent, with per-gate results, paired statistics, a failure analysis that separates avoidance from breakage, and the package manager bump baseline.

Our main findings are:

• Only the vulnerability check separates the agents. On dependency resolution, build and tests alone, the three agents perform similarly (92.8–93.8%); with the rescan, Evo Remediation Agent passes 90.2% of upgrades, Claude Code + Snyk scan 77.5% and Claude Code unaided 59.6%, a ranking that holds per repository (Section 5.1).

• An SCA scanner is a key tool for agents fixing vulnerabilities. Snyk’s recommended upgrade applied by the package manager bump passes 46.9% of upgrades and Claude Code without Snyk 59.6%; together, as Claude Code + Snyk scan, they pass 77.5%. Without an SCA scan, Claude Code regresses on 20 of the 144 upgrades the package manager bump solves, 15 of them by choosing a version Snyk still flags: web search alone does not reliably find a safe version (Section 5.2).

• Knowing the target is not enough. Given the same Snyk findings and model, Evo Remediation Agent’s purpose-built harness passes 12.7 percentage points more than Claude Code + Snyk scan, mostly on the 163 upgrades the package manager bump fails, where Evo Remediation Agent passes 82.2%, Claude Code + Snyk scan 61.3% and Claude Code unaided 36.2% (Sections 5.1 and 5.2).

• The agents fail in opposite ways. Claude Code mostly stops short and fails silently: the vulnerability remains in 107 of Claude Code unaided's 124 failures, 70 of which it claimed it fixed, and in 48 of Claude Code + Snyk scan's 69. Evo Remediation Agent usually lands the upgrade, so 21 of its 30 failures break the build or tests, where the project's own checks catch them (Section 5.3).

• Major framework migrations remain hard. PASS rates fall from 96%, 88% and 70% on non-major upgrades to 81%, 61% and 42% on major ones for Evo Remediation Agent, Claude Code + Snyk scan and Claude Code unaided; half of Evo Remediation Agent’s major PASSes edit application source, and 23 upgrades, mostly Spring, Spring Boot and Dropwizard migrations, defeat all three agents (Section 5.4).

References (17)