arXiv · 2601.07334
Examining the Effectiveness of Transformer-Based Smart Contract Vulnerability Scan
Abstract
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.
Explore related subjects
Keep this discovery
Emre Balci, Timucin Aydede, Gorkem Yilmaz, Ece Gelal Soyak. 2026-01-12. Examining the Effectiveness of Transformer-Based Smart Contract Vulnerability Scan. https://doi.org/10.1016/j.jss.2025.112593
Cite the original work for its findings. Save a collection to share your selection of sources.