已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

Detect Defects of Solidity Smart Contract Based on the Knowledge Graph

坚固性 计算机科学 推论 图形 人工智能 情报检索 理论计算机科学 程序设计语言
作者
Tianyuan Hu,Bixin Li,Zhenyu Pan,Qián Chen
出处
期刊:IEEE Transactions on Reliability [Institute of Electrical and Electronics Engineers]
卷期号:73 (1): 186-202 被引量:30
标识
DOI:10.1109/tr.2023.3233999
摘要

Smart contract security is one of the core issues in any application based on blockchain. There are many techniques focusing on smart contract security, however, due to the diversity of Solidity versions and limitations of detection time, it is difficult for them to comprehensively localize defects in different versions of smart contracts. In this article, we propose a static defect detection method based on the knowledge graph of the Solidity language and present a defect detection tool called SoliDetector . First, we define the ontology layer of the knowledge graph and construct the instance layer in which syntactic and logical relationships are captured. Second, we introduce the defect pattern to describe each defect and design inference rules to infer complex relationships and judge whether a defect exists. Finally, we localize defects by executing SPARQL queries. SoliDetector can support the detection of 20 kinds of defects and the automatic SPARQL query generation. We conducted several experiments on multiple datasets. SoliDetector obtains a high F-score (i.e., 92.97% on Dataset1 and 91.54% on the SmartBug dataset). To compare SoliDetector with SmartCheck , Slither , and Mythril , we conducted experiments on a labeled benchmark Dataset3 and real-world contracts. SoliDetector has a high F-score of 94.04% and is faster than other tools with an average time of 0.37 s for each contract.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Snowb发布了新的文献求助20
2秒前
JieFenceence完成签到,获得积分10
4秒前
天天快乐应助找文献啦采纳,获得10
5秒前
六六完成签到 ,获得积分10
6秒前
肯德基没有黄焖鸡完成签到 ,获得积分10
10秒前
春天的粥完成签到 ,获得积分10
12秒前
kiki完成签到 ,获得积分10
13秒前
13秒前
zf完成签到 ,获得积分10
14秒前
Ming完成签到 ,获得积分10
17秒前
18秒前
mci完成签到,获得积分10
20秒前
22秒前
nicelily发布了新的文献求助10
25秒前
深情安青应助kiki采纳,获得10
25秒前
29秒前
小竖完成签到 ,获得积分10
29秒前
Criminology34应助xsx采纳,获得10
30秒前
独特的夜阑完成签到 ,获得积分10
31秒前
童大大发布了新的文献求助10
35秒前
35秒前
Julian发布了新的文献求助10
39秒前
黄婷萱完成签到,获得积分20
40秒前
今后应助信wz采纳,获得10
40秒前
kr完成签到 ,获得积分20
42秒前
俭朴蜜蜂完成签到 ,获得积分10
44秒前
垃圾完成签到 ,获得积分10
45秒前
kr关注了科研通微信公众号
46秒前
nicelily完成签到,获得积分10
46秒前
舒适平文完成签到 ,获得积分10
46秒前
NexusExplorer应助云飞采纳,获得10
47秒前
48秒前
传奇3应助哈皮波采纳,获得30
49秒前
49秒前
陈陈发布了新的文献求助30
52秒前
信wz发布了新的文献求助10
52秒前
orixero应助nicelily采纳,获得10
53秒前
54秒前
Criminology34应助叶子采纳,获得10
55秒前
56秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Fermented Coffee Market 2000
A Modern Guide to the Economics of Crime 500
PARLOC2001: The update of loss containment data for offshore pipelines 500
Critical Thinking: Tools for Taking Charge of Your Learning and Your Life 4th Edition 500
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 500
A Manual for the Identification of Plant Seeds and Fruits : Second revised edition 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5266293
求助须知:如何正确求助?哪些是违规求助? 4425915
关于积分的说明 13777938
捐赠科研通 4301902
什么是DOI,文献DOI怎么找? 2360582
邀请新用户注册赠送积分活动 1356558
关于科研通互助平台的介绍 1318139