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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
莽哥发布了新的文献求助10
1秒前
momo完成签到,获得积分10
1秒前
1秒前
端庄的晓山完成签到,获得积分10
3秒前
Jerry20184完成签到 ,获得积分10
3秒前
4秒前
子南发布了新的文献求助10
5秒前
5秒前
lichanshen完成签到,获得积分10
5秒前
orixero应助科研通管家采纳,获得10
5秒前
科研通AI6应助科研通管家采纳,获得10
5秒前
汉堡包应助科研通管家采纳,获得10
6秒前
SciGPT应助科研通管家采纳,获得10
6秒前
传奇3应助信仰采纳,获得10
6秒前
NexusExplorer应助科研通管家采纳,获得10
6秒前
情怀应助科研通管家采纳,获得10
6秒前
小马甲应助科研通管家采纳,获得10
6秒前
6秒前
科研通AI6应助科研通管家采纳,获得10
6秒前
丘比特应助科研通管家采纳,获得10
6秒前
爆米花应助科研通管家采纳,获得10
7秒前
fighting应助科研通管家采纳,获得10
7秒前
Hello应助科研通管家采纳,获得10
7秒前
科研通AI2S应助科研通管家采纳,获得10
7秒前
星辰大海应助科研通管家采纳,获得10
7秒前
Maestro_S发布了新的文献求助10
7秒前
田様应助科研通管家采纳,获得30
7秒前
李健应助科研通管家采纳,获得10
7秒前
小二郎应助科研通管家采纳,获得10
7秒前
7秒前
烟花应助科研通管家采纳,获得10
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
可爱的函函应助民族风采纳,获得10
8秒前
遥远的猫完成签到,获得积分10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Fermented Coffee Market 2000
Methoden des Rechts 600
Constitutional and Administrative Law 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
Vertebrate Palaeontology, 5th Edition 380
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5284055
求助须知:如何正确求助?哪些是违规求助? 4437688
关于积分的说明 13814537
捐赠科研通 4318612
什么是DOI,文献DOI怎么找? 2370475
邀请新用户注册赠送积分活动 1365895
关于科研通互助平台的介绍 1329363