TY - GEN
T1 - Adversarial Graph Perturbation for Smart Contract Vulnerability Detection
AU - Han, Qi
AU - Deng, Jiamin
AU - Huang, Shichang
AU - Li, Yu
AU - Li, Guyue
AU - Jiang, Shan
AU - Peng, Zhe
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025/9
Y1 - 2025/9
N2 - 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.
AB - 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.
KW - Ad-versarial Graph Perturbation
KW - Blockchain
KW - GNNs
KW - Vulnerability Detection
UR - https://www.scopus.com/pages/publications/105020986692
U2 - 10.1109/CNS66487.2025.11194994
DO - 10.1109/CNS66487.2025.11194994
M3 - Conference article published in proceeding or book
AN - SCOPUS:105020986692
SN - 9798331538576
T3 - 2025 IEEE Conference on Communications and Network Security, CNS 2025
SP - ecopy
BT - 2025 IEEE Conference on Communications and Network Security, CNS 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 13th Annual IEEE Conference on Communications and Network Security, CNS 2025
Y2 - 8 September 2025 through 11 September 2025
ER -