一句话:提出 LibGuard 框架,通过库白名单自适应现有漏洞识别方法,提升组织自管理第三方库的安全检测准确率。
现代软件开发复用第三方库以降低成本,但可能引入漏洞,需对照公共漏洞报告验证库的安全性。现有自动化识别方法面向通用库,准确率有限;而组织通常只关心其信任并使用的库,并通过自管理白名单进行管理。为此,本文提出 LibGuard 框架,为现有方法提供库白名单并按阈值过滤结果,以发现被忽略的风险同时控制误报。LibGuard 有两种实现:在现有方法后附加白名单,或将白名单集成到现有方法中。作者使用 5,107 份漏洞报告及基于 79 个 Google 项目和 29 个华为项目构建的白名单进行评估,两种实现分别将平均 F1 分数提升 10.25% 和 11.77%,且在白名单扩展时表现稳定。据所知,这是首个专注于保障自管理第三方库安全的研究,为将通用软件安全管理适配到自管理场景提供了见解。
Modern software development reuses third-party libraries to cut costs but may introduce vulnerabilities. A critical practice is to verify the security of third-party libraries against public vulnerability reports. Many automated methods have been proposed to identify vulnerable libraries from vulnerability reports. Existing methods are designed for the generic identification of vulnerable libraries, considering the security of all software libraries. Generic identification is inherently challenging, resulting in limited accuracy. However, organizations only consider the security of libraries they trust and use, by self-managing a library whitelist. Therefore, we propose LibGuard, a framework to adapt existing methods to help organizations secure the libraries they use. LibGuard supplies a library whitelist for existing methods and filters the results according to a threshold, facilitating the discovery of risks overlooked by organizations while controlling false alarms. LibGuard is implemented in two ways. The first attaches the whitelist after existing methods. The second integrates the whitelist into existing methods. We evaluated LibGuard using 5,107 vulnerability reports and the library whitelist built from 79 Google projects and 29 Huawei projects. The results show that the two implementations of LibGuard increase the average F1 score by 10.25% and 11.77%, respectively. Moreover, LibGuard performs stably during the extension of whitelists. To our knowledge, this paper is the first study dedicated to securing self-managed third-party libraries, offering insights into adapting generic software security management to self-managed contexts.
DOI 原文 ·
@inproceedings{paperbot9218,
title = {Securing Self-Managed Third-Party Libraries},
author = {Xin Zhou and Jinwei Xu and He Zhang and Yanjing Yang and Lanxin Yang and Bohan Liu and Hongshan Tang},
booktitle = {ASE},
year = {2025},
doi = {10.1109/ase63991.2025.00307}
}