Skip to content

LibXSub: A Framework for Detecting Binary Third-Party Library Reuse Regions Based on Explanatory Subgraphs

Sep 2026 · Electronics · 0 citations · 17 references
Software Engineering Research

TL;DR

LibXSub introduces an explainable subgraph generation mechanism that identifies critical call relationships through edge masks and characterizes the contribution of different function feature dimensions to region similarity prediction through node feature masks, demonstrating the effectiveness of the proposed framework for both region-level third-party library reuse detection and result interpretation.

Abstract

Binary third-party library detection is a fundamental task in software composition analysis, vulnerability tracing, and software supply chain security. Existing approaches mainly rely on function-level matching or global similarity computation, while paying insufficient attention to region-level reuse structures formed by function call relationships. Moreover, their detection results generally lack interpretability. To address these limitations, this paper proposes LibXSub, an explainable subgraph-based framework for binary third-party library reuse region detection. Based on function call graphs, LibXSub integrates instruction operation features and control-flow structural features of function nodes, and employs a Siamese graph neural network to compute the structural-semantic similarity between target candidate regions and candidate library regions, enabling region-level third-party library reuse detection. To improve interpretability, LibXSub introduces an explainable subgraph generation mechanism that identifies critical call relationships through edge masks and characterizes the contribution of different function feature dimensions to region similarity prediction through node feature masks. Experimental results show that LibXSub achieves F1-scores of 0.900 and 0.877 on Dataset_1 and Dataset_2, respectively, outperforming existing methods. Furthermore, it generates compact explanatory subgraphs while maintaining high explanation fidelity, demonstrating the effectiveness of the proposed framework for both region-level third-party library reuse detection and result interpretation.

Read PDF

Similar papers

Preprint Sep 2026

Context-Aware Functional Modeling for Android Third-Party Library Detection

Third-party libraries (TPLs) are widely used in Android apps, but their reuse can introduce security risks and interfere with downstream program analyses. Existing Android TPL detection approaches face two key limitations: their hand-crafted features are fragile under aggressive code transformations, and their whole-li...

Di-Hao Fan, Jian Zhang, Ya-Sai Shi et al. · 0 citations
Sep 2026

FiCoVuL: A Framework for Fine-grained and Cross-function Code Vulnerability Detection

FiCoVuL is presented, a framework for analyzing interconnected functions and providing fine-grained guidance for vulnerability fixing that significantly outperforms other methods in both vulnerability detection and localization.

Hong-Jun Huang, Fu-Tai Zou, Jia-Ping Gui et al. · 0 citations
Book Open access Oct 2026

Bridging Call Boundaries: Inter-procedural Semantic Completion for Graph-Based Vulnerability Detection

Results indicate that VulSCG improves detection effectiveness while maintaining scalability, since it complements inter-procedural semantics through compact SummaryNodes rather than full callee graph expansion.

Rui-Guo Hu, Dong-Qi Wang, Shu-Jin Yang et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Athena: Vulnerability-Affected Library Identification via Knowledge Graph Completion

Athea, the first graph-based approach for vulnerability affected library identification, is proposed, which models vulnerability databases as a knowledge graph and reformulates the identification problem as knowledge graph completion (KGC).

P. Duy, Trang Dang Yen, Hưng Nguyễn Hữu et al. · 0 citations
Review Open access Oct 2026

Revisiting Graph Representations for ML-Based Binary Code Similarity Detection: A Systematic Study

Binary Code Similarity Detection (BCSD) is a foundational capability in software security, underpinning critical applications ranging from vulnerability detection to malware analysis. While recent tools based on Machine Learning (ML) have achieved significant performance improvements, their efficacy is heavily continge...

Teng-Teng Yang, Yi-Kun Hu, Ji-Can Zhang et al. · 0 citations
Open access Oct 2026

Beyond Similarity Scores: Evidence-Based Third-Party Library Detection for C/C++ Binaries

Detecting third-party libraries (TPLs) in C/C++ binaries is essential for software supply chain security, enabling vulnerability identification and license compliance. Existing methods predominantly rely on similarity matching: extracting features from binaries and comparing them against library databases. However, sim...

Cheng-Yue Liu, Zheng-Zi Xu, Lyuye Zhang et al. · 0 citations

Related blog posts

Microsoft Research Blog Jul 13, 2026

Verifying Rust cryptography in SymCrypt, from standards to code

Cryptographic code supports vital protections in modern computing systems. Learn how a new method helps verify code as developers write it while preserving speed and adaptability as it gets implemented and evolves. The post Verifying Rust cryptography in SymCrypt, from standards to code appeared first on Microsoft Research.

Microsoft Research Blog Oct 29, 2026

Microsoft Research Focus – Edition #97

Host Sowbhagya Suresh shares some of the latest news and cutting-edge research from across Microsoft—from understanding the challenges facing coding agents to uncovering how people use AI at work and improving extended-range weather forecasting. The post Microsoft Research Focus – Edition #97 appeared first on Microsoft Research.

MIT News · Artificial Intelligence Oct 28, 2026

Making machines that can listen

Professor Paris Smaragdis develops computers with superhuman hearing for applications like speech recognition, music understanding, and environmental monitoring.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.