paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CENTRIS: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reuse

CENTRIS:一种精确且可扩展的经修改开源软件复用识别方法
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)2021匹配度 2/10 · 论文属于程序分析与软件工程领域,关注开源软件复用(代码克隆)检测,未涉及LLM/Agent与静态分析的交叉,也未涉及浮点程序分析或贝叶斯程序分析,因此与用户核心研究方向匹配度低。引用 68 inbox
Seunghoon Woo, Sunghan Park, Seulbae Kim, Heejo Lee, Hakjoo Oh
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 CENTRIS,通过切分 OSS 并检测独特片段复用,精确可扩展地识别经修改且嵌套的开源软件复用。

开源软件复用普遍且常被修改和嵌套,导致漏洞传播与许可证违规,但精确识别被修改的 OSS 复用很困难。CENTRIS 通过切分开源代码库并只检测 OSS 独特片段的复用,从而在存在嵌套组件时精确识别经修改复用;为提升可扩展性,它消除冗余代码比较并用哈希函数加速搜索。作者在 10,241 个 GitHub 项目、229,326 个版本、800 亿行代码上评估,发现修改复用比精确复用常见 20 倍,CENTRIS 平均不到一分钟内达到 91% 精确率和 94% 召回率,远超未考虑修改与嵌套的克隆检测技术。

问题
如何在软件项目中精确、可扩展地识别经过修改且嵌套的开源软件复用,以应对漏洞传播和许可证违规。
方法
CENTRIS 将 OSS 代码库切分,仅检测 OSS 独特部分的复用,并通过消除冗余比较和哈希搜索提升可扩展性。
评估
在 10,241 个 GitHub 项目(229,326 个版本、800 亿行代码)上评估,平均每应用不到一分钟达到 91% 精确率和 94% 召回率,显著优于基线克隆检测技术。
原文摘要(Abstract)

Open-source software (OSS) is widely reused as it provides convenience and efficiency in software development. Despite evident benefits, unmanaged OSS components can introduce threats, such as vulnerability propagation and license violation. Unfortunately, however, identifying reused OSS components is a challenge as the reused OSS is predominantly modified and nested. In this paper, we propose CENTRIS, a precise and scalable approach for identifying modified OSS reuse. By segmenting an OSS code base and detecting the reuse of a unique part of the OSS only, CENTRIS is capable of precisely identifying modified OSS reuse in the presence of nested OSS components. For scalability, CENTRIS eliminates redundant code comparisons and accelerates the search using hash functions. When we applied CENTRIS on 10,241 widely-employed GitHub projects, comprising 229,326 versions and 80 billion lines of code, we observed that modified OSS reuse is a norm in software development, occurring 20 times more frequently than exact reuse. Nonetheless, CENTRIS identified reused OSS components with 91% precision and 94% recall in less than a minute per application on average, whereas a recent clone detection technique, which does not take into account modified and nested OSS reuse, hardly reached 10% precision and 40% recall.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2102-06182,
  title = {CENTRIS: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reuse},
  author = {Seunghoon Woo and Sunghan Park and Seulbae Kim and Heejo Lee and Hakjoo Oh},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse43902.2021.00083}
}