Smart contract vulnerability detection based on a semantic code structure and a self-designed neural network

计算机科学 脆弱性(计算) 编码(集合论) 抽象语法树 语法 人工智能 人工神经网络 树遍历 过程(计算) 树(集合论) 程序设计语言 机器学习 计算机安全 数学 数学分析 集合(抽象数据类型)
作者
Xiaojun Ren,Yongtang Wu,Jiaqing Li,Dongmin Hao,Muhammad Alam
出处
期刊:Computers & Electrical Engineering [Elsevier BV]
卷期号:109: 108766-108766 被引量:5
标识
DOI:10.1016/j.compeleceng.2023.108766
摘要

Smart contracts are riddled with vulnerabilities due to flaws in programming languages and the inexperience of developers, causing damage. Nonetheless, the current research on smart contract vulnerability detection is insufficient. In this study, we propose a novel approach, namely, Blass, based on a semantic code structure and a self-designed neural network. Blass constructs program slices with complete semantic structure information (CPSs) and uses an abstract syntax tree and a depth-first traversal algorithm to convert CPSs into code chains during the process of CPS vectorization, which increases its ability to express vulnerability features. Blass also uses a self-designed neural network, Bi-LSTM-Att, as the classification model, which introduces an attention mechanism to capture the key features of vulnerabilities and effectively achieve improved smart contract vulnerability detection performance. The CPSs and the Bi-LSTM-Att can improve the vulnerability detection effectiveness of Blass, and Blass can be applied to malicious contract detection with satisfactory precision, recall, and F1 values.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
CHEN完成签到,获得积分10
1秒前
1秒前
1秒前
属虎的华安完成签到,获得积分10
1秒前
赘婿应助塞西尔采纳,获得10
1秒前
SYLH应助果实采纳,获得30
2秒前
科目三应助chyang采纳,获得10
2秒前
zwk完成签到,获得积分10
2秒前
彭于彦祖发布了新的文献求助30
2秒前
2秒前
2秒前
钇铯发布了新的文献求助10
3秒前
史前巨怪完成签到,获得积分10
3秒前
唔西迪西完成签到,获得积分10
3秒前
埃特纳氏完成签到 ,获得积分10
3秒前
木头完成签到,获得积分10
4秒前
ORG完成签到,获得积分10
4秒前
科目三应助CHEN采纳,获得10
4秒前
完美世界应助付品聪采纳,获得10
5秒前
上官若男应助1234采纳,获得10
5秒前
Imstemcell完成签到,获得积分10
5秒前
zyj完成签到,获得积分10
5秒前
小天完成签到,获得积分10
5秒前
北辰完成签到,获得积分10
5秒前
兴奋的铃铛完成签到,获得积分10
6秒前
abletoo发布了新的文献求助30
6秒前
6秒前
okoik完成签到,获得积分10
6秒前
Weichunxue完成签到,获得积分10
6秒前
7秒前
顾矜应助7w采纳,获得30
7秒前
我是老大应助星辰采纳,获得10
7秒前
机智乐菱发布了新的文献求助10
8秒前
姜水完成签到,获得积分10
8秒前
香蕉觅云应助啦啦啦采纳,获得10
8秒前
8秒前
小郭求学完成签到,获得积分10
9秒前
可爱满天发布了新的文献求助10
9秒前
aaaaaa发布了新的文献求助10
9秒前
QhL完成签到,获得积分10
10秒前
高分求助中
【提示信息,请勿应助】关于scihub 10000
A new approach to the extrapolation of accelerated life test data 1000
徐淮辽南地区新元古代叠层石及生物地层 500
Coking simulation aids on-stream time 450
康复物理因子治疗 400
北师大毕业论文 基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 390
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4016195
求助须知:如何正确求助?哪些是违规求助? 3556252
关于积分的说明 11320524
捐赠科研通 3289166
什么是DOI,文献DOI怎么找? 1812411
邀请新用户注册赠送积分活动 887936
科研通“疑难数据库(出版商)”最低求助积分说明 812058