English

Examining the Effectiveness of Transformer-Based Smart Contract Vulnerability Scan

Cryptography and Security 2026-01-14 v1 Systems and Control Systems and Control

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.

Keywords

Cite

@article{arxiv.2601.07334,
  title  = {Examining the Effectiveness of Transformer-Based Smart Contract Vulnerability Scan},
  author = {Emre Balci and Timucin Aydede and Gorkem Yilmaz and Ece Gelal Soyak},
  journal= {arXiv preprint arXiv:2601.07334},
  year   = {2026}
}
R2 v1 2026-07-01T09:00:21.654Z