Graph Neural Networks Enhanced Smart Contract Vulnerability Detection of Educational Blockchain

03/08/2023
by   Zhifeng Wang, et al.
0

With the development of blockchain technology, more and more attention has been paid to the intersection of blockchain and education, and various educational evaluation systems and E-learning systems are developed based on blockchain technology. Among them, Ethereum smart contract is favored by developers for its “event-triggered" mechanism for building education intelligent trading systems and intelligent learning platforms. However, due to the immutability of blockchain, published smart contracts cannot be modified, so problematic contracts cannot be fixed by modifying the code in the educational blockchain. In recent years, security incidents due to smart contract vulnerabilities have caused huge property losses, so the detection of smart contract vulnerabilities in educational blockchain has become a great challenge. To solve this problem, this paper proposes a graph neural network (GNN) based vulnerability detection for smart contracts in educational blockchains. Firstly, the bytecodes are decompiled to get the opcode. Secondly, the basic blocks are divided, and the edges between the basic blocks according to the opcode execution logic are added. Then, the control flow graphs (CFG) are built. Finally, we designed a GNN-based model for vulnerability detection. The experimental results show that the proposed method is effective for the vulnerability detection of smart contracts. Compared with the traditional approaches, it can get good results with fewer layers of the GCN model, which shows that the contract bytecode and GCN model are efficient in vulnerability detection.

READ FULL TEXT
research
06/21/2021

HFContractFuzzer: Fuzzing Hyperledger Fabric Smart Contracts for Vulnerability Detection

With its unique advantages such as decentralization and immutability, bl...
research
05/10/2023

Unraveling the MEV Enigma: ABI-Free Detection Model using Graph Neural Networks

The detection of Maximal Extractable Value (MEV) in blockchain is crucia...
research
04/25/2023

HyMo: Vulnerability Detection in Smart Contracts using a Novel Multi-Modal Hybrid Model

With blockchain technology rapidly progress, the smart contracts have be...
research
09/13/2022

Smart Contract Vulnerability Detection Technique: A Survey

Smart contract, one of the most successful applications of blockchain, i...
research
06/07/2023

Vulnerable Smart Contract Function Locating Based on Multi-Relational Nested Graph Convolutional Network

The immutable and trustable characteristics of blockchain enable smart c...
research
08/28/2022

MANDO: Multi-Level Heterogeneous Graph Embeddings for Fine-Grained Detection of Smart Contract Vulnerabilities

Learning heterogeneous graphs consisting of different types of nodes and...
research
12/05/2018

BSSSQS: A Blockchain Based Smart and Secured Scheme for Question Sharing in the Smart Education System

Existing education systems are facing a threat of question paper leaking...

Please sign up or login with your details

Forgot password? Click here to reset