Lune

ICSE2023Top-tier venue

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Identifying Open-Source License Violation and 1-day Security Risk at Large Scale cites Reliable Third-Party Library Detection in Android and its Security Applications
  • Identifying Open-Source License Violation and 1-day Security Risk at Large Scale cites VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Reliable Third-Party Library Detection in Android and its Security Applications
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites 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 cites VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications cites 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 cites Reliable Third-Party Library Detection in Android and its Security Applications
  • Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem cites 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 cites Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem
  • Fixing Outside the Box: Uncovering Tactics for Open-Source Security Issue Management cites 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 cites VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
  • Towards Understanding Third-party Library Dependency in C/C++ Ecosystem cites Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem cites Mitigating Persistence of Open-Source Vulnerabilities in Maven Ecosystem
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem cites Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

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

Builds on8

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

Related papers

  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 et al.FSE 2026
  2. VulSCA: A Community-Level SCA Approach for Accurate C/C++ Supply Chain Vulnerability AnalysisYutao Hu, Chaofan Li, Yueming Wu, Yifeng Cai et al.NDSS 2026 · 1 citation
  3. LibScan: Towards More Precise Third-Party Library Identification for Android ApplicationsYafei Wu, Cong Sun, Dongrui Zeng, Gang Tan et al.USENIX Security 2023
  4. Software Composition Analysis for Vulnerability Detection: An Empirical Study on Java ProjectsLida Zhao, Sen Chen, Zhengzi Xu, Chengwei Liu et al.FSE 2023 · 42 citations
  5. DeepSCA: Dependency-Aware Software Composition Analysis for C/C++ Based on a Curated Code Feature DatabaseMeiqiu Xu, Xibin Zhao, Wenxuan Yu, Zhiliang Zhu et al.ISSTA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines