Improving Smart Contract Analysis with Large Language Models: The SLLM System

Smart contracts are self-executing agreements stored on the blockchain, widely used in finance, supply chain, IoT, and other fields. However, vulnerabilities in smart contract code can be exploited, leading to irreparable losses. Numerous smart contract vulnerability detection tools have been developed, with Slither being a prominent open-source static analysis tool. Despite its strengths, Slither suffers from false positives and false negatives. This paper introduces the SLLM system (Synergy of Slither and Large Language Models), which combines Slither with large language models (LLMs) like GPT-4. By leveraging pseudocode conversion and result feedback enhancement mechanisms, the system improves the accuracy of vulnerability detection. Experimental results show that SLLM outperforms Slither in reducing both false positives and false negatives across various common vulnerability types, demonstrating the effectiveness of integrating LLMs in smart contract static analysis.

Authors

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/icsp62129.2024.10846030
Citations
1
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
2.23
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving Smart Contract Analysis with Large Language Models: The SLLM System

Jianzhong Qi, Yunlai Zhou, Jin Zhu
1 citations
Artificial Intelligence in Law
2.23
article

Improving Smart Contract Analysis with Large Language Models: The SLLM System

Jianzhong Qi, Yunlai Zhou, Jin Zhu
article en
1 citations

Abstract

Smart contracts are self-executing agreements stored on the blockchain, widely used in finance, supply chain, IoT, and other fields. However, vulnerabilities in smart contract code can be exploited, leading to irreparable losses. Numerous smart contract vulnerability detection tools have been developed, with Slither being a prominent open-source static analysis tool. Despite its strengths, Slither suffers from false positives and false negatives. This paper introduces the SLLM system (Synergy of Slither and Large Language Models), which combines Slither with large language models (LLMs) like GPT-4. By leveraging pseudocode conversion and result feedback enhancement mechanisms, the system improves the accuracy of vulnerability detection. Experimental results show that SLLM outperforms Slither in reducing both false positives and false negatives across various common vulnerability types, demonstrating the effectiveness of integrating LLMs in smart contract static analysis.

Industry, innovation and infrastructure
Openalex Percentile: Top 8%
Artificial Intelligence in Law
2.23
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.