Lune

ICSE2023顶会

OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions

Jiahui Wu, Zhengzi Xu, Wei Tang, Lyuye Zhang, Yueming Wu, Chengyue Liu, Kairan Sun, Lida Zhao, Yang Liu

摘要

Third-party libraries (TPLs) are frequently used in software to boost efficiency by avoiding repeated developments. However, the massive using TPLs also brings security threats since TPLs may introduce bugs and vulnerabilities. Therefore, software composition analysis (SCA) tools have been proposed to detect and manage TPL usage. Unfortunately, due to the presence of common and trivial functions in the bloated feature dataset, existing tools fail to precisely and rapidly identify TPLs in C/C++ real-world projects. To this end, we propose OSSFP, a novel SCA framework for effective and efficient TPL detection in large-scale real-world projects via generating unique fingerprints for open source software. By removing common and trivial functions and keeping only the core functions to build the fingerprint index for each TPL project, OSSFP significantly reduces the database size and accelerates the detection process. It also improves TPL detection accuracy since noises are excluded from the fingerprints. We applied OSSFP on a large data set containing 23,427 C/C++ repositories, which included 585,683 versions and 90 billion lines of code. The result showed that it could achieve 90.84% of recall and 90.34% of precision, which outperformed the state-of-the-art tool by 35.31% and 3.71%, respectively. OSSFP took only 0.12 seconds on average to identify all TPLs per project, which was 22 times faster than the other tool. OSSFP has proven to be highly scalable on large-scale datasets.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • 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
  • 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 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • 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
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • Fixing Outside the Box: Uncovering Tactics for Open-Source Security Issue Management 引用了 Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem
  • Fixing Outside the Box: Uncovering Tactics for Open-Source Security Issue Management 引用了 Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem
  • VMud: Detecting Recurring Vulnerabilities with Multiple Fixing Functions via Function Selection and Semantic Equivalent Statement Matching 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
  • Towards Understanding Third-party Library Dependency in C/C++ Ecosystem 引用了 Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem 引用了 Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem 引用了 Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code MatchingLing Jiang, Junwen An, Huihui Huang, Qiyi Tang 等ICSE 2024 · 43 次引用
  2. Mitigating Persistence of Open-Source Vulnerabilities in Maven EcosystemLyuye Zhang, Chengwei Liu, Sen Chen, Zhengzi Xu 等ASE 2023 · 25 次引用
  3. Empirical Analysis of Vulnerabilities Life Cycle in Golang EcosystemJinchang Hu, Lyuye Zhang, Chengwei Liu, Sen Yang 等ICSE 2024 · 10 次引用
  4. Fixing Outside the Box: Uncovering Tactics for Open-Source Security Issue ManagementLyuye Zhang, Jiahui Wu, Chengwei Liu, Kaixuan Li 等ISSTA 2025 · 3 次引用
  5. VMud: Detecting Recurring Vulnerabilities with Multiple Fixing Functions via Function Selection and Semantic Equivalent Statement MatchingKaifeng Huang, Chenhao Lu, Yiheng Cao, Bihuan Chen 等CCS 2024 · 3 次引用

它引用的 Paper8

  1. VUDDY: A Scalable Approach for Vulnerable Code Clone DiscoverySeulbae Kim, Seunghoon Woo, Heejo Lee, Hakjoo OhS&P 2017 · 388 次引用
  2. Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 次引用
  3. Identifying Open-Source License Violation and 1-day Security Risk at Large ScaleRuian Duan, Ashish Bijlani, Meng Xu, Taesoo Kim 等CCS 2017 · 126 次引用
  4. ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android ApplicationsXian Zhan, Lingling Fan, Sen Chen, Feng Wu 等ICSE 2021 · 85 次引用
  5. Towards Understanding Third-party Library Dependency in C/C++ EcosystemWei Tang, Zhengzi Xu, Chengwei Liu, Jiahui Wu 等ASE 2022 · 64 次引用

相关 Paper

  1. Understanding the Limitations of C/C++ Binary Third-Party Library Detection Tool: An Empirical Study at ScaleChengyue Liu, Zhengzi Xu, Kaixuan Li, Jiahui Wu 等FSE 2026
  2. VulSCA: A Community-Level SCA Approach for Accurate C/C++ Supply Chain Vulnerability AnalysisYutao Hu, Chaofan Li, Yueming Wu, Yifeng Cai 等NDSS 2026 · 1 次引用
  3. LibScan: Towards More Precise Third-Party Library Identification for Android ApplicationsYafei Wu, Cong Sun, Dongrui Zeng, Gang Tan 等USENIX Security 2023
  4. Software Composition Analysis for Vulnerability Detection: An Empirical Study on Java ProjectsLida Zhao, Sen Chen, Zhengzi Xu, Chengwei Liu 等FSE 2023 · 42 次引用
  5. DeepSCA: Dependency-Aware Software Composition Analysis for C/C++ Based on a Curated Code Feature DatabaseMeiqiu Xu, Xibin Zhao, Wenxuan Yu, Zhiliang Zhu 等ISSTA 2026
黄昏的海面,两侧是细线勾勒的悬崖