科研成果详情

题名ContractTinker: LLM-Empowered Vulnerability Repair for Real-World Smart Contracts
作者
发表日期2024-10-27
会议名称39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
会议录名称Proceedings - 2024 39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
页码2350-2353
会议日期2024-10-28——2024-10-28
会议地点usa,Sacramento
摘要Smart contracts are susceptible to being exploited by attackers, especially when facing real-world vulnerabilities. To mitigate this risk, developers often rely on third-party audit services to identify potential vulnerabilities before project deployment. Nevertheless, repairing the identified vulnerabilities is still complex and laborintensive, particularly for developers lacking security expertise. Moreover, existing pattern-based repair tools mostly fail to address real-world vulnerabilities due to their lack of high-level semantic understanding. To fill this gap, we propose ContractTinker, a Large Language Models (LLMs)-empowered tool for real-world vulnerability repair. The key insight is our adoption of the Chain-of-Thought approach to break down the entire generation task into subtasks. Additionally, to reduce hallucination, we integrate program static analysis to guide the LLM. We evaluate ContractTinker on 48 high-risk vulnerabilities. The experimental results show that among the patches generated by ContractTinker, 23 (48%) are valid patches that fix the vulnerabilities, while 10 (21%) require only minor modifications. A video of ContractTinker is available at https://youtu.be/HWFVi-YHcPE.
关键词large language model program repair smart contract
DOI10.1145/3691620.3695349
URL查看来源
语种英语English
Scopus入藏号2-s2.0-85212418898
引用统计
文献类型会议论文
条目标识符https://repository.uic.edu.cn/handle/39GCC9TT/13441
专题个人在本单位外知识产出
通讯作者Gao,Jianbo
作者单位
1.School of Computer Science,Peking University,Beijing,China
2.Beijing Key Laboratory of Security and Privacy in Intelligent Transportation,Beijing Jiaotong University,Beijing,China
3.National Engineering Research,Center for Software Engineering,Peking University,Beijing,China
推荐引用方式
GB/T 7714
Wang,Che,Zhang,Jiashuo,Gao,Jianboet al. ContractTinker: LLM-Empowered Vulnerability Repair for Real-World Smart Contracts[C], 2024: 2350-2353.
条目包含的文件
条目无相关文件。
个性服务
查看访问统计
谷歌学术
谷歌学术中相似的文章
[Wang,Che]的文章
[Zhang,Jiashuo]的文章
[Gao,Jianbo]的文章
百度学术
百度学术中相似的文章
[Wang,Che]的文章
[Zhang,Jiashuo]的文章
[Gao,Jianbo]的文章
必应学术
必应学术中相似的文章
[Wang,Che]的文章
[Zhang,Jiashuo]的文章
[Gao,Jianbo]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。