paper-with-me

Papers

Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detection

2021-07-24 · Zhenguang Liu, Peng Qian, Xiaoyang Wang, Yuan Zhuang, Lin Qiu, Xun Wang

Smart contract vulnerability detection draws extensive attention in recent years due to the substantial losses caused by hacker attacks. Existing efforts for contract security analysis heavily rely on rigid rules defined by experts, which are labor-intensive and non-scalable. More importantly, expert-defined rules tend to be error-prone and suffer the inherent risk of being cheated by crafty attackers. Recent researches focus on the symbolic execution and formal analysis of smart contracts for vulnerability detection, yet to achieve a precise and scalable solution. Although several methods have been proposed to detect vulnerabilities in smart contracts, there is still a lack of effort that considers combining expert-defined security patterns with deep neural networks. In this paper, we explore using graph neural networks and expert knowledge for smart contract vulnerability detection. Specifically, we cast the rich control- and data- flow semantics of the source code into a contract graph. To highlight the critical nodes in the graph, we further design a node elimination phase to normalize the graph. Then, we propose a novel temporal message propagation network to extract the graph feature from the normalized graph, and combine the graph feature with designed expert patterns to yield a final detection system. Extensive experiments are conducted on all the smart contracts that have source code in Ethereum and VNT Chain platforms. Empirical results show significant accuracy improvements over the state-of-the-art methods on three types of vulnerabilities, where the detection accuracy of our method reaches 89.15%, 89.02%, and 83.21% for reentrancy, timestamp dependence, and infinite loop vulnerabilities, respectively.

📄 PDF Abstract BibTeX arXiv:2107.11598

Code (1)

Messi-Q/GPSCVulDetector 공식 구현 tf

Tasks

Vulnerability Detection

Similar Papers 제목 키워드 기반

Smart Contract Vulnerability Detection: From Pure Neural Network to Interpretable Graph Feature and Expert Pattern Fusion

2021-06-17 · Zhenguang Liu, Peng Qian, Xiang Wang, Lei Zhu 외

Smart contracts hold digital coins worth billions of dollars, their security issues have drawn extensive attention in the past years. Towards smart contract vulnerability detection, conventional methods heavily rely on f…

Deep LearningVulnerability Detection

SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models

2025-02-11 · Shihao Xia, Mengting He, Shuai Shao, Tingting Yu 외

To govern smart contracts running on Ethereum, multiple Ethereum Request for Comment (ERC) standards have been developed, each having a set of rules to guide the behaviors of smart contracts. Violating the ERC rules coul…

Natural Language Understanding

BugSweeper: Function-Level Detection of Smart Contract Vulnerabilities Using Graph Neural Networks

2025-12-10 · Uisang Lee, Changhoon Chung, Junmo Lee, Soo-Mook Moon arxiv

The rapid growth of Ethereum has made it more important to quickly and accurately detect smart contract vulnerabilities. While machine-learning-based methods have shown some promise, many still rely on rule-based preproc…

Graph Neural Network

Semantic Interoperability on Blockchain by Generating Smart Contracts Based on Knowledge Graphs

2024-09-11 · William Van Woensel, Oshani Seneviratne

Background: Health 3.0 allows decision making to be based on longitudinal data from multiple institutions, from across the patient's healthcare journey. In such a distributed setting, blockchain smart contracts can act a…

Code GenerationDecision MakingKnowledge Graphs

Smart Learning to Find Dumb Contracts (Extended Version)

2023-04-21 · Tamer Abdelaziz, Aquinas Hobor

We introduce the Deep Learning Vulnerability Analyzer (DLVA) for Ethereum smart contracts based on neural networks. We train DLVA to judge bytecode even though the supervising oracle can only judge source. DLVA's trainin…

Feature EngineeringVulnerability Detection