Centris: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reuse
Seunghoon Woo, Sunghan Park, Seulbae Kim, Heejo Lee, Hakjoo Oh
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Identifying Open-Source License Violation and 1-day Security Risk at Large Scale 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- Identifying Open-Source License Violation and 1-day Security Risk at Large Scale 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? 引用了 Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching 引用了 OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching 引用了 Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
- OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
- OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions 引用了 Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
- Towards Understanding Third-party Library Dependency in C/C++ Ecosystem 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
引用它的顶会 Paper23
- Towards Understanding Third-party Library Dependency in C/C++ EcosystemWei Tang, Zhengzi Xu, Chengwei Liu, Jiahui Wu 等ASE 2022 · 64 次引用
- CCTEST: Testing and Repairing Code Completion SystemsZongjie Li, Chaozheng Wang, Zhibo Liu, Haoxuan Wang 等ICSE 2023 · 49 次引用
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code MatchingLing Jiang, Junwen An, Huihui Huang, Qiyi Tang 等ICSE 2024 · 43 次引用
- OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting FunctionsJiahui Wu, Zhengzi Xu, Wei Tang, Lyuye Zhang 等ICSE 2023 · 29 次引用
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We?Ling Jiang, Hengchen Yuan, Qiyi Tang, Sen Nie 等ISSTA 2023 · 24 次引用
它引用的 Paper4
- VUDDY: A Scalable Approach for Vulnerable Code Clone DiscoverySeulbae Kim, Seunghoon Woo, Heejo Lee, Hakjoo OhS&P 2017 · 388 次引用
- Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 次引用
- Identifying Open-Source License Violation and 1-day Security Risk at Large ScaleRuian Duan, Ashish Bijlani, Meng Xu, Taesoo Kim 等CCS 2017 · 126 次引用
- Automating Patching of Vulnerable Open-Source Software Versions in Application BinariesRuian Duan, Ashish Bijlani, Yang Ji, Omar Alrawi 等NDSS 2019 · 63 次引用
相关 Paper
- MOVERY: A Precise Approach for Modified Vulnerable Code Clone Discovery from Modified Open-Source Software ComponentsSeunghoon Woo, Hyunji Hong, Eunjin Choi, Heejo LeeUSENIX Security 2022
- V1SCAN: Discovering 1-day Vulnerabilities in Reused C/C++ Open-source Software Components Using Code Classification TechniquesSeunghoon Woo, Eunjin Choi, Heejo Lee, Hakjoo OhUSENIX Security 2023
- CNEPS: A Precise Approach for Examining Dependencies among Third-Party C/C++ Open-Source ComponentsYoonjong Na, Seunghoon Woo, Joomyeong Lee, Heejo LeeICSE 2024 · 11 次引用
- Tiver: Identifying Adaptive Versions of C/C++ Third-Party Open-Source Components Using a Code Clustering TechniqueYoungjae Choi, Seunghoon WooICSE 2025 · 1 次引用
- FIRE: Combining Multi-Stage Filtering with Taint Analysis for Scalable Recurring Vulnerability DetectionSiyue Feng, Yueming Wu, Wenjie Xue, Sikui Pan 等USENIX Security 2024 · 13 次引用
