Soley: Identification and Automated Detection of Logic Vulnerabilities in Ethereum Smart Contracts Using Large Language Models
Majd Soud, Waltteri Nuutinen, Grischa Liebel

TL;DR
This paper presents Soley, an automated approach using Large Language Models to detect logic vulnerabilities in Ethereum smart contracts, backed by empirical analysis of real-world code and mitigation strategies, outperforming existing methods.
Contribution
Introduces Soley, a novel LLM-based method for detecting logic vulnerabilities in smart contracts, and extends vulnerability taxonomy with nine new types based on real-world data.
Findings
Soley outperforms existing detection methods.
LLMs effectively identify vulnerabilities without extensive feature engineering.
Nine new logic vulnerabilities are identified and classified.
Abstract
Modern blockchain, such as Ethereum, supports the deployment and execution of so-called smart contracts, autonomous digital programs with significant value of cryptocurrency. Executing smart contracts requires gas costs paid by users, which define the limits of the contract's execution. Logic vulnerabilities in smart contracts can lead to financial losses, and are often the root cause of high-impact cyberattacks. Our objective is threefold: (i) empirically investigate logic vulnerabilities in real-world smart contracts extracted from code changes on GitHub, (ii) introduce Soley, an automated method for detecting logic vulnerabilities in smart contracts, leveraging Large Language Models (LLMs), and (iii) examine mitigation strategies employed by smart contract developers to address these vulnerabilities in real-world scenarios. We obtained smart contracts and related code changes from…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security
