arrow
返回

Bi-thresholds-based unknown vulnerability detection in smart contracts multi-classification model

delete2024-12-01
delete0
PRE
AI
P
Peiqiang Li
G
Guojun Wang *
G
Guangxin Zhai
W
Wanyi Gu
X
Xubin Li
X
Xiangyong Liu
Y
Yuheng Zhang
DOI:10.1016/j.compeleceng.2024.109682delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Ethereum's development has established a trusted environment for executing smart contracts. However, smart contracts often involve significant financial transfers and become immutable once deployed on the blockchain. If a security vulnerability occurs, developers will not be able to respond quickly, resulting in significant financial losses. Current solutions for detecting smart contracts focus mainly on known vulnerabilities, ignoring unknown ones. To address this issue, we propose a bi-thresholds-based scheme to identify unknown vulnerabilities. First, we collect the opcode sequences of transactions involving smart contracts by replaying the Ethereum transactions. Second, we use N-gram and TF-IDF techniques to extract features from the opcode sequences as inputs to a multi-classification model. Again, we set a double threshold to eliminate known vulnerabilities and normal sequences and to identify unknown vulnerability sequences, based on the principle that unknown and known vulnerabilities behave similarly. Finally, The experimental results show that our scheme has an accuracy of 90.9% and an F1-score of 91.5% in detecting unknown vulnerabilities in smart contracts.
Keyword:
Smart contracts
Opcode sequences
Unknown vulnerabilities
Multi-classification model
Bi-thresholds

期刊

C
Computers and Electrical Engineering
IF:
4.9
论文数:
6.7K
被引数:
1.3W

机构

G
Guangzhou University
学者数:
1.8W
论文数: 1.3W
被引数: 1.8W
引用论文

引用论文

In vivo and in vitro studies of Chlamydia trachomatis TrpR:DNA interactions
err2006-01-30
err0
errOAAI
errJohn H. Carlson; Heidi Wood; Christine Roshick; Harlan D. Caldwell; Grant McClarty
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Security Threat Mitigation for Smart Contracts: A Comprehensive Survey智能合约的安全威胁缓解: 综合调查
err2023-07-17
err15
errOAAI
errIvanov, Nikolay; Li, Chenning; Yan, Qiben; Sun, Zhiyuan; Cao, Zhichao; Luo, Xiapu
err分享
err收藏
Crystal structure of extracellular human BAFF, a TNF family member that stimulates B lymphocytes细胞外人BAFF的晶体结构,刺激B淋巴细胞的TNF家族成员
err2002-02-01
err0
PREAI
errMichael Karpusas; Teresa G Cachero; Fang Qian; Ann Boriack-Sjodin; Colleen Mullen; Kathy Strauch; Yen-Ming Hsu; Susan L Kalled
err分享
err收藏
学者 查看更多内容