TL;DR
This paper introduces a deep learning approach for analyzing Solidity smart contracts, enabling clone detection, bug identification, and validation to improve security and reliability in blockchain transactions.
Contribution
The paper presents a novel deep learning-based method for smart contract analysis, including a web tool, SmartEmbed, for real-time clone and bug detection in Solidity contracts.
Findings
High clone ratio (~90%) in Solidity code compared to traditional software.
The approach detects over 1000 clone-related bugs efficiently.
SmartEmbed aids developers in identifying repetitive contracts and known vulnerabilities.
Abstract
Ethereum has become a widely used platform to enable secure, Blockchain-based financial and business transactions. However, many identified bugs and vulnerabilities in smart contracts have led to serious financial losses, which raises serious concerns about smart contract security. Thus, there is a significant need to better maintain smart contract code and ensure its high reliability. In this research: (1) Firstly, we propose an automated deep learning based approach to learn structural code embeddings of smart contracts in Solidity, which is useful for clone detection, bug detection and contract validation on smart contracts. We apply our approach to more than 22K solidity contracts collected from the Ethereum blockchain, results show that the clone ratio of solidity code is at around 90%, much higher than traditional software. We collect a list of 52 known buggy smart contracts…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
