Skip to main navigation Skip to search Skip to main content

FORTIFY: Feature-Oriented Representation and Graph Topology Integration for Path-Level Vulnerability Detection

  • Pingchuan Ma
  • , Munan Li
  • , Zhenyu Yang
  • , Zheng Zhao
  • , Hongbo Liu*
  • , Ruili Wang
  • *Corresponding author for this work

Research output: Journal PublicationArticlepeer-review

Abstract

Source code vulnerability detection via graph learning is one of the most important approaches to maintain software security, as it enables structural analysis of semantic dependencies within programs. However, it may suffer from vulnerability coverage, semantic sparsity, trigger path identification, especially when those vulnerabilities do not involve API/library calls. In this article, we present FORTIFY, a graph learning framework that couples feature representation tightly with program topology to perform path-level vulnerability detection. Beginning with a program dependence graph, FORTIFY reconstructs its Sliced Combined Graph (SCG) using program slicing with diverse edges. The SCG is then generated as a weighted edge hypergraph, enabling the model to capture both local semantic and structure relationships. Through path embeddings, we introduce an adaptive hyperedge-aware strategy to allocate high capacity vectors reaching security sensitive nodes. A relation-aware graph convolutional network, equipped with risk sensitive attention and an Information Noise Contrastive Estimation (InfoNCE) objective, further amplifying the weights of high risk paths. Experimental results on the publicly available datasets (i.e., SARD, NVD, and FFmpeg-Vul) show that FORTIFY can identify the execution paths of vulnerabilities. We also test it on real world software such as the PX4 open-source drone, and it finds that there are control type vulnerabilities in PX4, verifying that FORTIFY can be used for the analysis of programs including unmanned agents. The implementation of FORTIFY is publicly available at https://github.com/ACoTAI/FORTIFY.

Original languageEnglish
Article number164
JournalACM Transactions on Architecture and Code Optimization
Volume22
Issue number4
DOIs
Publication statusPublished - 16 Dec 2025
Externally publishedYes

Free Keywords

  • graph convolutional networks
  • graph learning
  • program dependence graphs
  • software security
  • Source code vulnerability detection

ASJC Scopus subject areas

  • Software
  • Information Systems
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'FORTIFY: Feature-Oriented Representation and Graph Topology Integration for Path-Level Vulnerability Detection'. Together they form a unique fingerprint.

Cite this