SolGPT: A GPT-Based Static Vulnerability Detection Model for Enhancing Smart Contract Security

计算机科学 脆弱性(计算) 计算机安全 智能合约 嵌入式系统 块链
作者
Shengqiang Zeng,Hongwei Zhang,Jinsong Wang,Kai Shi
出处
期刊:Lecture Notes in Computer Science 卷期号:: 42-62 被引量:1
标识
DOI:10.1007/978-981-97-0859-8_3
摘要

In this study, we present SolGPT, a novel approach to addressing the pivotal issue of detecting and mitigating vulnerabilities inherent in smart contracts, particularly those written in Solidity, the predominant language for smart contracts. Conventional deep learning methodologies largely rely on an abundant pool of labeled training instances, a resource that remains scarce in the domain, thereby limiting the efficacy of vulnerability detection. SolGPT seeks to counteract this limitation by employing an augmented GPT-2 architecture uniquely tailored for smart contract analysis. The model is enriched by Solidity Adaptive Pre-Training to amplify its feature extraction prowess, hence, reducing the reliance on copious amounts of labeled samples. SolGPT further enhances its field-specific adaptation via the introduction of SolTokenizer, a specialized tokenizer devised for smart contracts, thereby augmenting tokenization precision and efficiency. Subsequently, the model is refined to proficiently pinpoint known vulnerabilities in smart contracts, thereby offering real-time vulnerability detection and prescribing preventive countermeasures. Comprehensive evaluation demonstrates that SolGPT outperforms the state-of-the-art detection techniques in terms of accuracy, F1 score, and two other pertinent performance metrics. Notably, when compared to the best-performing alternative among the four vulnerabilities, SolGPT exhibits an average accuracy improvement of 12.85% and an average F1 score improvement of 18.55%. Consequently, the results underscore the potential of SolGPT in substantially advancing the security framework of the blockchain ecosystem.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
meimei发布了新的文献求助10
1秒前
愉快的傲之完成签到 ,获得积分10
2秒前
离岸完成签到,获得积分10
3秒前
熊泰山完成签到 ,获得积分10
3秒前
谨慎纸飞机完成签到,获得积分10
3秒前
1233完成签到,获得积分10
4秒前
豪豪完成签到,获得积分10
4秒前
lllllllll完成签到,获得积分10
6秒前
mojomars完成签到,获得积分0
6秒前
小蜜蜂完成签到,获得积分10
6秒前
甜蜜的水香完成签到,获得积分10
9秒前
初昀杭完成签到 ,获得积分10
9秒前
博修完成签到,获得积分10
9秒前
小惠完成签到,获得积分10
10秒前
岳粤完成签到 ,获得积分10
10秒前
PEIfq完成签到 ,获得积分10
11秒前
氘代乙腈是不贵的呀完成签到,获得积分10
11秒前
周周完成签到 ,获得积分10
12秒前
哈雷彗星完成签到,获得积分10
13秒前
bono完成签到 ,获得积分10
15秒前
Titi完成签到 ,获得积分10
15秒前
electricelectric应助livra1058采纳,获得10
17秒前
Ares完成签到,获得积分10
18秒前
Accept完成签到,获得积分10
20秒前
21秒前
22秒前
浮游应助livra1058采纳,获得10
23秒前
Ivy完成签到,获得积分10
24秒前
zzr元亨利贞完成签到,获得积分10
26秒前
科研仙人完成签到 ,获得积分10
26秒前
c1302128340发布了新的文献求助10
26秒前
天行健完成签到,获得积分10
27秒前
Y.发布了新的文献求助20
27秒前
啦啦啦啦完成签到 ,获得积分10
29秒前
30秒前
kitsch完成签到 ,获得积分10
30秒前
小橘子吃傻子完成签到,获得积分10
30秒前
LPPQBB应助科研通管家采纳,获得30
33秒前
LPPQBB应助科研通管家采纳,获得30
33秒前
FashionBoy应助科研通管家采纳,获得10
33秒前
高分求助中
Encyclopedia of Quaternary Science Third edition 2025 12000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Constitutional and Administrative Law 1000
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.). Frederic G. Reamer 800
Holistic Discourse Analysis 600
Vertebrate Palaeontology, 5th Edition 530
Comparison of spinal anesthesia and general anesthesia in total hip and total knee arthroplasty: a meta-analysis and systematic review 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5347714
求助须知:如何正确求助?哪些是违规求助? 4481947
关于积分的说明 13948398
捐赠科研通 4380340
什么是DOI,文献DOI怎么找? 2406890
邀请新用户注册赠送积分活动 1399483
关于科研通互助平台的介绍 1372671