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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
铭天完成签到,获得积分10
1秒前
Arusa发布了新的文献求助10
1秒前
2秒前
cc发布了新的文献求助10
2秒前
lmn发布了新的文献求助10
3秒前
wanci应助刚睡醒采纳,获得10
3秒前
4秒前
zsj3787发布了新的文献求助10
4秒前
4秒前
5秒前
veronica完成签到,获得积分10
5秒前
xyy发布了新的文献求助10
6秒前
L_online完成签到 ,获得积分10
7秒前
veronica发布了新的文献求助10
8秒前
121314wld发布了新的文献求助10
8秒前
澍澍完成签到,获得积分10
9秒前
10秒前
K2L发布了新的文献求助10
12秒前
13秒前
121314wld完成签到,获得积分10
13秒前
14秒前
MP_zhang完成签到,获得积分10
14秒前
15秒前
elain完成签到 ,获得积分10
15秒前
bkagyin应助7890733采纳,获得10
15秒前
16秒前
17秒前
酷波er应助Sl采纳,获得10
19秒前
思源应助风中的香寒采纳,获得10
19秒前
19秒前
20秒前
21秒前
21秒前
alexestsah完成签到,获得积分20
21秒前
泽北发布了新的文献求助10
22秒前
李子完成签到,获得积分10
22秒前
chen发布了新的文献求助30
22秒前
烟花应助Jenny采纳,获得10
22秒前
23秒前
王王发布了新的文献求助10
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
《机器学习——数据表示学习及应用》 600
Holistic Discourse Analysis 600
Vertébrés continentaux du Crétacé supérieur de Provence (Sud-Est de la France) 600
Fiction e non fiction: storia, teorie e forme 500
Routledge Handbook on Spaces of Mental Health and Wellbeing 500
Elle ou lui ? Histoire des transsexuels en France 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5321937
求助须知:如何正确求助?哪些是违规求助? 4463561
关于积分的说明 13890461
捐赠科研通 4354764
什么是DOI,文献DOI怎么找? 2392002
邀请新用户注册赠送积分活动 1385582
关于科研通互助平台的介绍 1355331