Skip to main navigation Skip to search Skip to main content

Adversarial Graph Perturbation for Smart Contract Vulnerability Detection

  • Qi Han
  • , Jiamin Deng
  • , Shichang Huang
  • , Yu Li
  • , Guyue Li
  • , Shan Jiang
  • , Zhe Peng

Research output: Chapter in book / Conference proceeding › Conference article published in proceeding or book › Academic research › peer-review

Abstract

Blockchain technology has enabled decentralized applications through smart contracts. However, vulnerabilities in smart contracts and their immutability can lead to severe financial losses. Traditional vulnerability detection methods often ignore the unique structures and characteristic patterns of different vulnerabilities. To overcome these limitations, this paper proposes a novel vulnerability-specific adversarial training frame-work based on Degree-Free Graph Convolutional Networks (DR-GCN) to enhance detection robustness. Specifically, our method utilizes feature-only perturbations to address feature-sensitive reentrancy vulnerabilities while leveraging structure and feature perturbations to capture the complex control flow patterns of infinite loop vulnerabilities. Furthermore, we develop a dynamic perturbation scheduling mechanism to enhance the generalization and robustness of the model. Compared with the baseline DR-GCN model, our proposed framework improves the F1 score by 4% to 12%, improving detection performance significantly. This work demonstrates the feasibility of applying vulnerability-specific adversarial training to improve the robustness of smart contract vulnerability detection.

Original languageEnglish
Title of host publication2025 IEEE Conference on Communications and Network Security, CNS 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pagesecopy
Number of pages9
ISBN (Electronic)9798331538569
ISBN (Print)9798331538576
DOIs
Publication statusPublished - Sept 2025
Event13th Annual IEEE Conference on Communications and Network Security, CNS 2025 - Avignon, France
Duration: 8 Sept 2025 → 11 Sept 2025

Publication series

Name2025 IEEE Conference on Communications and Network Security, CNS 2025

Conference

Conference13th Annual IEEE Conference on Communications and Network Security, CNS 2025
Country/TerritoryFrance
CityAvignon
Period8/09/25 → 11/09/25

Keywords

  • Ad-versarial Graph Perturbation
  • Blockchain
  • GNNs
  • Vulnerability Detection

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Software
  • Artificial Intelligence
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Adversarial Graph Perturbation for Smart Contract Vulnerability Detection'. Together they form a unique fingerprint.

Cite this