Impact of Code Transformation on Detection of Smart Contract Vulnerabilities
Cuong Tran Manh, Hieu Dinh Vo

TL;DR
This paper introduces a semantic-preserving code transformation technique to generate diverse smart contract vulnerabilities, revealing limitations of current detection tools and significantly expanding vulnerability datasets.
Contribution
It proposes a novel method for augmenting smart contract datasets with transformed code that preserves semantics but introduces new vulnerabilities, enhancing detection evaluation.
Findings
Generated vulnerabilities often bypass existing tools
False negative rate increased up to 100%
Dataset size increased by at least 2.5 times
Abstract
While smart contracts are foundational elements of blockchain applications, their inherent susceptibility to security vulnerabilities poses a significant challenge. Existing training datasets employed for vulnerability detection tools may be limited, potentially compromising their efficacy. This paper presents a method for improving the quantity and quality of smart contract vulnerability datasets and evaluates current detection methods. The approach centers around semantic-preserving code transformation, a technique that modifies the source code structure without altering its semantic meaning. The transformed code snippets are inserted into all potential locations within benign smart contract code, creating new vulnerable contract versions. This method aims to generate a wider variety of vulnerable codes, including those that can bypass detection by current analysis tools. The paper…
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
TopicsFinTech, Crowdfunding, Digital Finance · Blockchain Technology Applications and Security · Insurance and Financial Risk Management
