ScholarMate
English简体中文繁體中文
客服热线:400-1616-289
登录注册
期刊论文

Vulnerable smart contract function locating based on Multi-Relational Nested Graph Convolutional Network

Liu, Haiyang; Fan, Yuqi*; Feng, Lin; Wei, Zhenchunanhui normal univ
JOURNAL OF SYSTEMS AND SOFTWARE2023-10DOI: 10.1016/j.jss.2023.111775
1被引6阅读
引用收藏
分享

摘要

The immutable and trustable characteristics of blockchain enable smart contracts to be applied in various fields. Unfortunately, smart contracts are subject to various vulnerabilities, which are frequently exploited by attackers, causing financial damage to users. Therefore, it is extremely important to perform effective vulnerability detection and locating to ensure the security of smart contracts. Deep learning has shown great advantages in smart contract vulnerability detection due to its powerful end to-end feature learning. The previous deep learning based approaches to smart contract vulnerability detection focus on identifying whether there are vulnerabilities in a smart contract. However, this kind of detection cannot achieve fine-grained vulnerability detection, i.e., locating which function in the smart contract is vulnerable. In this paper, we study the problem of vulnerable smart contract function locating. We construct a novel Multi-Relational Nested contract Graph (MRNG) to better characterize the rich syntactic and semantic information in the smart contract code, including the relationships between data and instructions. An MRNG represents a smart contract, where each node represents a function in the smart contract and each edge describes the calling relationship between the functions. In addition, we create a Multi-Relational Function Graph (MRFG) for each function, which characterizes the corresponding function code. That is, each function is characterized as an MRFG, which corresponds to a node in the MRNG. Each MRFG uses different types of edges to represent the different control and data relationships between nodes within a function. We also propose a Multi-Relational Nested Graph Convolutional Network (MRN-GCN) to process the MRNG. MRN-GCN first extracts and aggregates features from each MRFG, using the edge-enhanced graph convolution network and self-attention mechanism. The extracted feature vector is then assigned to the corresponding node in the MRNG to obtain a new Featured Contract Graph (FCG) for the smart contract. Graph convolution is used to further extract features from the FCG. Finally, a feed forward network with a Sigmoid function is used to locate the vulnerable functions. Experimental results on the real-world smart contract datasets show that model MRN-GCN can effectively improve the accuracy, precision, recall and F1-score performance of vulnerable smart contract function locating.& COPY; 2023 Elsevier Inc.

学科与关键词

关键词
Smart contractVulnerable function locatingGraph neural networkSelf-attention mechanism
相关
加载中…
  • Smart contract vulnerability detection based on semantic graph and residual graph convolutional networks with edge attention
    Chen, Da; Feng, Lin; Fan, Yuqi*; Shang, Siyuan; Wei, ZhenchunJOURNAL OF SYSTEMS AND SOFTWARE, 2023, 202: 111705.被引 2
  • A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
    Zhang, Lejun*; Wang, Jinlong; Wang, Weizheng; Jin, Zilong; Zhao, Chunhui; Cai, Zhennao; Chen, Huiling*SENSORS, 2022, 22(9): 3581.被引 16
  • CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model
    Zhang, Lejun*; Chen, Weijie; Wang, Weizheng; Jin, Zilong; Zhao, Chunhui; Cai, Zhennao; Chen, Huiling*SENSORS, 2022, 22(9): 3577.被引 16
查看全部 →

发表信息

论文状态
公开发表
期刊
JOURNAL OF SYSTEMS AND SOFTWARE
发表日期
2023-10
卷期
第 204 卷
页码
111775
DOI
10.1016/j.jss.2023.111775
语言
ENGLISH
成果收录
SCIE
资助标注
Major science and technology projects in Anhui Province of China [202003a05020009]; National Natural Science Foundation of China [62002097]

作者

  • L

    Liu, Haiyang (第一作者)

  • F

    Fan, Yuqi (通讯)

    anhui normal univ

查看全部 4 位作者收起作者
  • F

    Feng, Lin

  • W

    Wei, Zhenchun

登录解锁更多功能

  • 收藏这篇,随时在“我的 · 收藏”找回
  • 认领你的成果,生成推广素材
  • 关注作者获取最新成果
  • 加入项目组、协同写作
注册 / 登录

产品服务

  • 科研之友
  • 创新城
  • 科创云

服务支持

  • 帮助中心
  • 隐私政策
  • 服务条款

联系方式

在线客服:【】
客服热线:400-1616-289
电子邮箱:support@scholarmate.com

关注或下载科研之友

微信二维码
微信公众号
客户端下载二维码
下载客户端
科研成果科研人员科研机构科研动态爱瑞思软件

©2026 深圳市科研之友网络服务有限公司

公安备案图标粤公网安备 44030502000213
粤ICP备 16046710 号粤B2-20110417