首页|异构图的智能合约漏洞检测方法

异构图的智能合约漏洞检测方法

扫码查看
针对现有的基于深度学习智能合约漏洞检测方法无法有效利用上下文信息,提出一种基于异构图的智能合约漏洞检测方法.通过将合约源码解析为包含数据流和控制流的符号图,然后使用图神经网络对图进行表征学习,并通过神经网络进行漏洞预测.在ESC和VSC两个数据集上进行实验,和现有工具以及模型进行对比,结果表明该方法在准确率、召回率、精度、F1 分数4 个指标均取得提升.
Smart Contract Vulnerability Detection based on Heterogeneous Graph
To address that the existing smart contract vulnerability detection-based deep learning cannot effectively use context information,This paper proposes a smart contract vulnerability detection based on a heterogeneous graph,Which parses the contract into a Symbol diagram containing data-flow edge and control-flow edge.Then it uses graph neural net-works to perform representation learning on the graph,finally,the vulnerability prediction is performed through the neural networks.Experiments are conducted on ESC and VSC data sets,and comparing them with existing tools and models,the results show that the method has improved in the four indicators of accuracy,recall,precision,and F1-score.

smart contractvulnerability detectiondeep learninggraph neural network

侯羿杉、王燚

展开 >

成都信息工程大学网络空间安全学院,四川 成都 610225

智能合约 漏洞检测 深度学习 图神经网络

2025

成都信息工程大学学报
成都信息工程学院

成都信息工程大学学报

影响因子:0.329
ISSN:2096-1618
年,卷(期):2025.40(1)