Skip to content
Open access

Vulnerability Detection Model Based on Clustering-Aware Heterogeneous Code Graphs

Jul 2026 · Algorithms · Vol 19, pp. 587 · 0 citations · 27 references
Computer Science

TL;DR

CADetect, a vulnerability detection model based on clustering-aware heterogeneous code graphs, which enhances the model’s ability to differentiate between diverse node and edge types within the heterogeneous code graphs, while streamlining code structures and reducing redundant information is proposed.

Abstract

Software vulnerabilities pose a severe threat to system security and stability. To reinforce the hierarchical structure of source code, enhance the distinctiveness of embedded features, and reduce feature confusion, we propose CADetect, a vulnerability detection model based on clustering-aware heterogeneous code graphs. First, a hierarchical clustering algorithm is applied to constrain and optimize the embedding vectors. This enhances the model’s ability to differentiate between diverse node and edge types within the heterogeneous code graphs, while streamlining code structures and reducing redundant information. Subsequently, multi-scale convolutions with varying kernel sizes are designed to extract vulnerability features at different granularities, effectively mitigating the information loss commonly caused by single-scale convolutions. Finally, extensive evaluations on the FFmpeg+Qemu, BigVul, and Reveal datasets demonstrate the effectiveness of the proposed model, and ablation studies confirm the specific contributions of the clustering algorithm and multi-scale convolutions.

Read PDF

Similar papers

#edge computing Open access Sep 2026

Malicious Code Detection Based on AST Multidimensional Feature Fusion and Dynamic Graph Optimization

A novel method for detecting malicious code based on abstract syntax tree (AST) multi-dimensional feature fusion and dynamic graph optimization that effectively overcomes the reliance of traditional detection techniques on static feature libraries, demonstrating significant advantages in complex scenarios such as APT a...

Shaofeng Ming, Ying Ling, Xin Li et al. · 0 citations
Open access Aug 2026

Efficient Software Vulnerability Detection Using Edge-Conditioned Graph Neural Networks on Heterogeneous Code Property Graphs

The significance of this work lies in its demonstration that a compact, edge-aware architecture can match independently reproduced results of far larger models while remaining deployable in resource-constrained settings, such as continuous-integration pipelines and developer workstations.

A. Elalfy, G. Ebrahim, M. B. Mansour · 0 citations
Sep 2026

HSF-Vul: hierarchical semantic fusion for vulnerability detection

HSF-Vul is proposed, a novel approach for software vulnerability detection and localization based on hierarchical semantic fusion that frame vulnerability detection as a binary classification task and extend it to line-level localization by analyzing the contribution of individual code lines.

Hong-Tao Wang, Xin Yang, Xiao-Feng Liu et al. · 0 citations
Review Open access Sep 2026

Program Graph Learning for Software Vulnerability Analysis: A Survey

Software vulnerabilities represent an enduring threat to modern cyberspace. Effective vulnerability detection increasingly relies on reasoning about complex program semantics, structural dependencies, and execution behaviors. Consequently, extracting vulnerability-relevant features from code efficiently has become a pr...

Jun-Jie Wang, Tong Yu, Ming Li 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
Open access Aug 2026

XAI-Guided Graph-Based Feature Engineering and Heterogeneous Ensemble Learning for Android Malware Detection

Android malware continues to evolve in sophistication, creating a need for accurate, efficient, and interpretable detection mechanisms. This paper proposes a novel Android malware detection framework that integrates graph-based software engineering analysis, explainable artificial intelligence (XAI), and heterogeneous...

Shahid Alam, Amina Jameel, Zahida Parveen et al. · 0 citations

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