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]
卷期号:109: 108766-108766 被引量:9
标识
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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Xia发布了新的文献求助10
刚刚
Hugo完成签到,获得积分10
刚刚
利利完成签到,获得积分10
刚刚
Hello应助叶航采纳,获得10
刚刚
Allen发布了新的文献求助10
1秒前
2秒前
阿屁屁猪发布了新的文献求助10
2秒前
pura卷卷发布了新的文献求助10
3秒前
领导范儿应助聪慧雪糕采纳,获得10
3秒前
Lucas应助执着的弱采纳,获得10
3秒前
3秒前
4秒前
SciGPT应助baishiyan采纳,获得10
5秒前
123发布了新的文献求助10
6秒前
GGKing完成签到 ,获得积分10
6秒前
6秒前
zhu发布了新的文献求助10
6秒前
肖0625完成签到,获得积分10
7秒前
7秒前
7秒前
8秒前
9秒前
千殇发布了新的文献求助10
9秒前
9秒前
Sean发布了新的文献求助10
10秒前
SciGPT应助阿屁屁猪采纳,获得10
10秒前
戒骄戒躁发布了新的文献求助10
11秒前
12秒前
叶航发布了新的文献求助10
12秒前
12秒前
聪慧雪糕发布了新的文献求助10
13秒前
871004188完成签到,获得积分10
13秒前
小马甲应助小墩墩采纳,获得10
14秒前
三金发布了新的文献求助10
14秒前
14秒前
15秒前
千殇完成签到,获得积分10
16秒前
16秒前
16秒前
17秒前
高分求助中
Encyclopedia of Quaternary Science Third edition 2025 12000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
HIGH DYNAMIC RANGE CMOS IMAGE SENSORS FOR LOW LIGHT APPLICATIONS 1500
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.). Frederic G. Reamer 800
Beyond the sentence : discourse and sentential form / edited by Jessica R. Wirth 600
Holistic Discourse Analysis 600
Vertébrés continentaux du Crétacé supérieur de Provence (Sud-Est de la France) 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5344166
求助须知:如何正确求助?哪些是违规求助? 4479497
关于积分的说明 13943155
捐赠科研通 4376560
什么是DOI,文献DOI怎么找? 2404847
邀请新用户注册赠送积分活动 1397207
关于科研通互助平台的介绍 1369579