亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Leveraging Chatgpt for Automated Smart Contract Repair: A Preliminary Exploration of Gpt-3-Based Approaches

计算机科学 系统工程 建筑工程 工程类
作者
Giacomo Ibba,Marco Ortu,Roberto Tonelli,Giuseppe Destefanis
标识
DOI:10.2139/ssrn.4474678
摘要

Context: Ethereum smart contracts are self-executing programs that enable trustless transactions between parties, with applications in digital document management, secure storage and transfer of cryptocurrencies, and non-fungible token (NFT) management. Ensuring the security and robustness of these smart contracts is crucial to avoid significant financial and privacy losses due to bugs or honeypots.Objectives: This work aims to develop a novel approach for automatically repairing Solidity smart contracts and demonstrate the feasibility of detecting and fixing vulnerabilities using a state-of-the-art language model.Methods: We utilize ChatGPT, a large-scale language model, to automatically repair Solidity smart contracts by training it through prompt engineering techniques, tailoring its capabilities to detect and fix vulnerabilities in the code.Results: Our ChatGPT-based approach successfully repairs vulnerable Solidity smart contracts, showcasing its potential as a valuable tool for improving the security and robustness of these programs in various use cases, ultimately reducing the risks associated with bugs and honeypots.Conclusions: ChatGPT is best utilized as an APR tool when combined with vulnerability detection tools. It requires a comprehensive understanding of the program and thorough examination by various vulnerability detection tools to ensure robust coverage.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
徐矜发布了新的文献求助10
3秒前
正直水池完成签到 ,获得积分10
10秒前
徐矜完成签到,获得积分10
11秒前
19秒前
迷迭香完成签到,获得积分10
22秒前
24秒前
迷迭香发布了新的文献求助10
25秒前
量子星尘发布了新的文献求助20
38秒前
李爱国应助迷迭香采纳,获得10
40秒前
45秒前
kaio_escolar完成签到,获得积分10
47秒前
50秒前
刘刘完成签到 ,获得积分10
52秒前
Owen应助冷静的傲易采纳,获得30
59秒前
1分钟前
1分钟前
小狗发布了新的文献求助10
1分钟前
1分钟前
1分钟前
量子星尘发布了新的文献求助10
1分钟前
HaoHao04发布了新的文献求助10
2分钟前
2分钟前
2分钟前
量子星尘发布了新的文献求助10
3分钟前
英喆完成签到 ,获得积分10
3分钟前
3分钟前
4分钟前
4分钟前
量子星尘发布了新的文献求助30
5分钟前
正直箴完成签到,获得积分10
5分钟前
正直箴发布了新的文献求助10
5分钟前
LaFee完成签到,获得积分10
5分钟前
HaoHao04发布了新的文献求助10
5分钟前
5分钟前
5分钟前
隐形曼青应助夕夜采纳,获得10
5分钟前
幽默的溪灵应助米粒采纳,获得10
5分钟前
6分钟前
jenningseastera应助米粒采纳,获得10
6分钟前
夕夜发布了新的文献求助10
6分钟前
高分求助中
The Mother of All Tableaux Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 2400
Ophthalmic Equipment Market by Devices(surgical: vitreorentinal,IOLs,OVDs,contact lens,RGP lens,backflush,diagnostic&monitoring:OCT,actorefractor,keratometer,tonometer,ophthalmoscpe,OVD), End User,Buying Criteria-Global Forecast to2029 2000
A new approach to the extrapolation of accelerated life test data 1000
Cognitive Neuroscience: The Biology of the Mind (Sixth Edition) 1000
Optimal Transport: A Comprehensive Introduction to Modeling, Analysis, Simulation, Applications 800
Official Methods of Analysis of AOAC INTERNATIONAL 600
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 588
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3960135
求助须知:如何正确求助?哪些是违规求助? 3506271
关于积分的说明 11128683
捐赠科研通 3238299
什么是DOI,文献DOI怎么找? 1789684
邀请新用户注册赠送积分活动 871870
科研通“疑难数据库(出版商)”最低求助积分说明 803069