paper-with-me

Papers

SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework

2024-11-28 · Oualid Zaazaa, Hanan El Bakkali

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 LLMdriven rule integration, offering a new approach to improving Blockchain security and addressing previously underexplored vulnerabilities in smart contracts.

📄 PDF Abstract BibTeX arXiv:2411.19234

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability Detection

Methods 이 논문이 사용한 방법론

Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Multi-Head Attention 설명 없음
Transformer A Transformer is a model architecture that eschews recurrence and instead relies entirely on an [attention…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Dual-view Aware Smart Contract Vulnerability Detection for Ethereum

2024-06-29 · Jiacheng Yao, Maolin Wang, Wanqi Chen, Chengxiang Jin 외

The wide application of Ethereum technology has brought technological innovation to traditional industries. As one of Ethereum's core applications, smart contracts utilize diverse contract codes to meet various functiona…

Vulnerability Detection

Smart-LLaMA: Two-Stage Post-Training of Large Language Models for Smart Contract Vulnerability Detection and Explanation

2024-11-09 · Lei Yu, Shiqi Chen, Hang Yuan, Peng Wang 외

With the rapid development of blockchain technology, smart contract security has become a critical challenge. Existing smart contract vulnerability detection methods face three main issues: (1) Insufficient quality of da…

Vulnerability Detection

Smart-LLaMA-DPO: Reinforced Large Language Model for Explainable Smart Contract Vulnerability Detection

2025-06-23 · Lei Yu, Zhirong Huang, Hang Yuan, Shiqi Cheng 외

Smart contract vulnerability detection remains a major challenge in blockchain security. Existing vulnerability detection methods face two main issues: (1) Existing datasets lack comprehensive coverage and high-quality e…

Language ModelingLanguage ModellingLarge Language ModelVulnerability Detection

ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection

2025-10-20 · Tenghui Huang, Jinbo Wen, Jiawen Kang, Siyong Chen 외 arxiv

Smart contracts play a significant role in automating blockchain services. Nevertheless, vulnerabilities in smart contracts pose serious threats to blockchain security. Currently, traditional detection methods primarily …

Vulnerability Detection

Vulnerability Detection in Smart Contracts: A Comprehensive Survey

2024-07-08 · Christopher De Baets, Basem Suleiman, Armin Chitizadeh, Imran Razzak

In the growing field of blockchain technology, smart contracts exist as transformative digital agreements that execute transactions autonomously in decentralised networks. However, these contracts face challenges in the …

ArticlesSurveyVulnerability Detection