计算机科学
脆弱性(计算)
利用
智能合约
依赖关系(UML)
程序切片
计算机安全
适应性
编码(集合论)
脆弱性评估
基线(sea)
人工智能
程序设计语言
软件
块链
心理治疗师
心理弹性
集合(抽象数据类型)
地质学
海洋学
生物
生态学
心理学
作者
Lei Yu,Junyi Lu,Xianglong Liu,Yang Li,Fengjun Zhang,Jiajia Ma
标识
DOI:10.1109/issre59848.2023.00030
摘要
With the increasing security issues in the blockchain, smart contract vulnerability detection has gradually become the focus of research. Recently, many approaches have been proposed to detect smart contract vulnerabilities. Despite promising results, these approaches still have three drawbacks: 1) Symbolic execution and static analysis methods are constrained by predefined rules, which limits their adaptability to different vulnerabilities. 2) Most smart contract code contains abundant irrelevant information which is useless for vulnerability detection. 3) Pre-trained models fail to bridge the gap between pre-training and detecting smart contract vulnerabilities.To solve these problems, we propose an approach named PSCVFinder for detecting reentrancy vulnerability and times-tamp dependency vulnerability, which are two severe vulnerabilities in smart contract. To better detect these vulnerabilities, we propose CSCV which is a smart contract slicing method to reduce the irrelevant code. Unlike existing approaches, our model first learns the representation of programming language through the pre-training model, then fully exploits the capacity of large language model with prompt-tuning to precisely detect smart contract vulnerability. We conduct experiments on real-world dataset and the results reflect that PSCVFinder scores 93.83% and 93.49% on two kinds of vulnerabilities in F1-score, surpassing the state-of-the-art baseline by 1.14% and 4.02%, respectively.
科研通智能强力驱动
Strongly Powered by AbleSci AI