PofoliaDaily literature tracker

ACM Transactions on Software Engineering and Methodology· 2026Q1

Generating Mitigations for Downstream Projects to Neutralize Upstream Library Vulnerability

Zirui Chen, Puhua Sun, Xing Hu, Xin Xia et al.

Short summary

Lumen, a new system, autonomously generates and applies validated mitigation patches for vulnerabilities in third-party libraries, even without source code access or available patches, achieving an 82.91% success rate on 474 impacted functions.

AI-generated from the title and abstract; the full text is not read.

Key points

  • Lumen autonomously generates mitigation patches for upstream library vulnerabilities.
  • It operates without source code access or available patches, addressing a critical gap in software security.
  • Lumen achieved an 82.91% success rate in mitigating 393 out of 474 impacted functions.
  • The system outperforms adapted baselines in blocking vulnerability reproduction.
  • Lumen can mitigate vulnerabilities disclosed after the knowledge cutoff of its base model.

AI-generated from the title and abstract; the full text is not read.

Abstract

Third-party libraries are essential in software development as they prevent the need for developers to recreate existing functionalities. However, vulnerabilities within these libraries pose significant risks to dependent projects. Upgrading dependencies is infeasible when no patched version is available or when downstream projects have strict version constraints. Moreover, repairing the vulnerability proves challenging when the source code of the library is inaccessible. State-of-the-art automatic vulnerability repair and automatic program repair methods both fail to address this issue. Therefore, mitigating library vulnerabilities without access to source code or available patches is crucial for a swift response to potential security attacks. Existing tools encounter challenges concerning generalizability and functional security. Upon vulnerability disclosure, Lumen prepares a pool of candidate mitigation strategies by retrieving explicit workarounds from public sources and supplementing the pool with generated strategies based on vulnerability reproduction behavior. Lumen then selects a suitable strategy, autonomously gathers repository-specific context, and adaptively generates a validated mitigation patch. We evaluate Lumen on 474 impacted functions associated with 94 vulnerabilities. Lumen successfully mitigates 393 functions, achieving a success rate of 82.91%, which substantially outperforms the adapted baseline in blocking vulnerability reproduction under our exploit-based evaluation. Additionally, our ablation study evaluates the contributions of strategy composition, strategy selection, and repository-level context collection. Further evaluations show that Lumen can mitigate vulnerabilities disclosed after the knowledge cutoff of the base model.

The authors' abstract, as published at the source. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗

TakeawaysPremium Ask the paperFree account

Continue with a free account

Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science