跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2501.02229 (cs)
[提交于 2025年3月11日]

标题:Leveraging Large Language Models and Machine Learning for Smart Contract Vulnerability Detection

作者:S M Mostaq Hossain, Amani Altarawneh, Jesse Roberts
查看论文《Leveraging Large Language Models and Machine Learning for Smart Contract Vulnerability Detection》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:As blockchain technology and smart contracts become widely adopted, securing them throughout every stage of the transaction process is essential. The concern of improved security for smart contracts is to find and detect vulnerabilities using classical Machine Learning (ML) models and fine-tuned Large Language Models (LLM). The robustness of such work rests on a labeled smart contract dataset that includes annotated vulnerabilities on which several LLMs alongside various traditional machine learning algorithms such as DistilBERT model is trained and tested. We train and test machine learning algorithms to classify smart contract codes according to vulnerability types in order to compare model performance. Having fine-tuned the LLMs specifically for smart contract code classification should help in getting better results when detecting several types of well-known vulnerabilities, such as Reentrancy, Integer Overflow, Timestamp Dependency and Dangerous Delegatecall. From our initial experimental results, it can be seen that our fine-tuned LLM surpasses the accuracy of any other model by achieving an accuracy of over 90%, and this advances the existing vulnerability detection benchmarks. Such performance provides a great deal of evidence for LLMs ability to describe the subtle patterns in the code that traditional ML models could miss. Thus, we compared each of the ML and LLM models to give a good overview of each models strengths, from which we can choose the most effective one for real-world applications in smart contract security. Our research combines machine learning and large language models to provide a rich and interpretable framework for detecting different smart contract vulnerabilities, which lays a foundation for a more secure blockchain ecosystem.
评论: 7 pages, 4 figures, 1 table. This paper has accepted in 2025 IEEE 15th Annual Computing and Communication Workshop and Conference (CCWC)
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2501.02229 [cs.CR]
  (或者 arXiv:2501.02229v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.02229
相关 DOI: https://doi.org/10.1109/CCWC62904.2025.10903869

提交历史

来自:S M Mostaq Hossain
[v1] 2025年3月11日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-03
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站