Examining the Effectiveness of Transformer-Based Smart Contract Vulnerability Scan
By: Emre Balci , Timucin Aydede , Gorkem Yilmaz and more
Potential Business Impact:
Finds hidden bugs in online money agreements.
Smart contract technology facilitates self-executing agreements on the blockchain, eliminating dependency on an external trusted authority. However, smart contracts may expose vulnerabilities that can lead to financial losses and disruptions in decentralized applications. In this work, we evaluate deep learning-based approaches for vulnerability scanning of Ethereum smart contracts. We propose VASCOT, a Vulnerability Analyzer for Smart COntracts using Transformers, which performs sequential analysis of Ethereum Virtual Machine (EVM) bytecode and incorporates a sliding window mechanism to overcome input length constraints. To assess VASCOT's detection efficacy, we construct a dataset of 16,469 verified Ethereum contracts deployed in 2022, and annotate it using trace analysis with concrete validation to mitigate false positives. VASCOT's performance is then compared against a state-of-the-art LSTM-based vulnerability detection model on both our dataset and an older public dataset. Our findings highlight the strengths and limitations of each model, providing insights into their detection capabilities and generalizability.
Similar Papers
Vision-Based Learning for Cyberattack Detection in Blockchain Smart Contracts and Transactions
Cryptography and Security
Finds hidden attacks in blockchain money transfers.
Ai-Driven Vulnerability Analysis in Smart Contracts: Trends, Challenges and Future Directions
Cryptography and Security
AI finds hidden bugs in online money contracts.
Leveraging Large Language Models and Machine Learning for Smart Contract Vulnerability Detection
Cryptography and Security
Finds hidden bugs in computer money code.