SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework
Journal of Metaverse · 31.12.2024 · 4 (2) · 126-137
DOI: 10.57019/jmv.1489060 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Metaverse, online erschienen am 31.12.2024. Verfasst von Oualid Zaazaa und 1 weiteren Autor:innen. Die Arbeit wurde bisher 19-mal zitiert (Crossref) und nennt 64 Literaturangaben.
Abstract (Originalsprache)
Smart contracts are essential for managing digital assets in blockchain networks, highlighting the need for effective security measures. This paper introduces SmartLLMSentry, a novel framework that leverages large language models (LLMs), specifically ChatGPT with in-context training, to advance smart contract vulnerability detection. Traditional rule-based frameworks have limitations in integrating new detection rules efficiently. In contrast, SmartLLMSentry utilizes LLMs to streamline this process. We created a specialized dataset of five randomly selected vulnerabilities for model training and evaluation. Our results show an exact match accuracy of 91.1% with sufficient data, although GPT-4 demonstrated reduced performance compared to GPT-3 in rule generation. This study illustrates that SmartLLMSentry significantly enhances the speed and accuracy of vulnerability detection through LLM-driven rule integration, offering a new approach to improving Blockchain security and addressing previously underexplored vulnerabilities in smart contracts.
Zitieren
APA
Zaazaa, O., & Bakkali, H. E. (2024). SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework. Journal of Metaverse, 4(2), 126-137. https://doi.org/10.57019/jmv.1489060
Vancouver
Zaazaa O, Bakkali HE. SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework. Journal of Metaverse. 2024;4(2):126-137. doi:10.57019/jmv.1489060
BibTeX
@article{Zaazaa2024,
author = {Zaazaa, Oualid and Bakkali, Hanan El},
title = {SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework},
journal = {Journal of Metaverse},
year = {2024},
volume = {4},
number = {2},
pages = {126--137},
doi = {10.57019/jmv.1489060}
}
EUVIMED