Publication:
Examining the effectiveness of transformer-based smart contract vulnerability scan

dc.contributor.authorBalci, Emre
dc.contributor.authorAydede, Timucin
dc.contributor.authorYilmaz, Görkem
dc.contributor.authorSoyak, Ece Gelal
dc.contributor.authorSoyak, Ece Gelal
dc.contributor.institutionBalci, Emre, Bahçeşehir Üniversitesi, Istanbul, Turkey
dc.contributor.institutionAydede, Timucin, Bahçeşehir Üniversitesi, Istanbul, Turkey
dc.contributor.institutionYilmaz, Görkem, Bahçeşehir Üniversitesi, Istanbul, Turkey
dc.contributor.institutionSoyak, Ece Gelal, Bahçeşehir Üniversitesi, Istanbul, Turkey
dc.date.accessioned2025-10-05T14:23:58Z
dc.date.issued2026
dc.description.abstractSmart contracts can be used for various scenarios, from automating transactions in decentralized finance to managing supply chain logistics, or ensuring the integrity of digital assets. However, smart contracts may expose vulnerabilities that may be exploited, which can lead to financial losses and disruptions in decentralized applications. These vulnerabilities involve decision logic, branching, sequencing, and interaction with other Ethereum addresses, and therefore are challenging to detect. In this work, we study the effectiveness of smart contract vulnerability detection using deep learning. 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. © 2025 Elsevier B.V., All rights reserved.
dc.identifier.doi10.1016/j.jss.2025.112593
dc.identifier.issn01641212
dc.identifier.scopus2-s2.0-105013383225
dc.identifier.urihttps://doi.org/10.1016/j.jss.2025.112593
dc.identifier.urihttps://hdl.handle.net/20.500.14719/6054
dc.identifier.volume231
dc.language.isoen
dc.publisherElsevier Inc.
dc.relation.sourceJournal of Systems and Software
dc.subject.authorkeywordsBlockchain Security
dc.subject.authorkeywordsBytecode Analysis
dc.subject.authorkeywordsDecentralized Applications (dapps)
dc.subject.authorkeywordsDeep Learning
dc.subject.authorkeywordsEthereum Virtual Machine (evm)
dc.subject.authorkeywordsSmart Contracts
dc.subject.authorkeywordsTransformers
dc.subject.authorkeywordsVulnerability Detection
dc.subject.authorkeywordsDecentralized Finance
dc.subject.authorkeywordsE-learning
dc.subject.authorkeywordsElectronic Trading
dc.subject.authorkeywordsLearning Systems
dc.subject.authorkeywordsLosses
dc.subject.authorkeywordsNetwork Security
dc.subject.authorkeywordsSmart Contract
dc.subject.authorkeywordsSupply Chains
dc.subject.authorkeywordsBlock-chain
dc.subject.authorkeywordsBlockchain Security
dc.subject.authorkeywordsBytecode Analysis
dc.subject.authorkeywordsDecentralised
dc.subject.authorkeywordsDecentralized Application
dc.subject.authorkeywordsDeep Learning
dc.subject.authorkeywordsEthereum Virtual Machine
dc.subject.authorkeywordsTransformer
dc.subject.authorkeywordsVulnerability Detection
dc.subject.authorkeywordsVulnerability Scans
dc.subject.authorkeywordsElectric Transformers
dc.subject.authorkeywordsEthereum
dc.subject.indexkeywordsDecentralized finance
dc.subject.indexkeywordsE-learning
dc.subject.indexkeywordsElectronic trading
dc.subject.indexkeywordsLearning systems
dc.subject.indexkeywordsLosses
dc.subject.indexkeywordsNetwork security
dc.subject.indexkeywordsSmart contract
dc.subject.indexkeywordsSupply chains
dc.subject.indexkeywordsBlock-chain
dc.subject.indexkeywordsBlockchain security
dc.subject.indexkeywordsBytecode analysis
dc.subject.indexkeywordsDecentralised
dc.subject.indexkeywordsDecentralized application
dc.subject.indexkeywordsDeep learning
dc.subject.indexkeywordsEthereum virtual machine
dc.subject.indexkeywordsTransformer
dc.subject.indexkeywordsVulnerability detection
dc.subject.indexkeywordsVulnerability scans
dc.subject.indexkeywordsElectric transformers
dc.subject.indexkeywordsEthereum
dc.titleExamining the effectiveness of transformer-based smart contract vulnerability scan
dc.typeArticle
dcterms.referencesA Framework for Bug Hunting on the Ethereum Blockchain, (2017), Akca, Sefa, SolAnalyser: A Framework for Analysing and Testing Smart Contracts, Proceedings - Asia-Pacific Software Engineering Conference, APSEC, 2019-December, pp. 482-489, (2019), undefined, (2023), Bistarelli, Stefano, Analysis of Ethereum Smart Contracts and Opcodes, Advances in Intelligent Systems and Computing, 926, pp. 546-558, (2020), undefined, (2022), Chen, Da, Smart contract vulnerability detection based on semantic graph and residual graph convolutional networks with edge attention, Journal of Systems and Software, 202, (2023), Do You Still Need A Manual Smart Contract Audit, (2023), undefined, (2017), undefined, (2024), Iop Scinotes, (2020)
dspace.entity.typePublication
dspace.relatedentity.typePerson
local.indexed.atScopus
person.identifier.scopus-author-id58990223200
person.identifier.scopus-author-id60047035000
person.identifier.scopus-author-id57429226200
person.identifier.scopus-author-id60046951200
relation.isAuthorOfPublication0009f285-b7d0-42f6-bbea-514737061374
relation.isAuthorOfPublication.latestForDiscovery0009f285-b7d0-42f6-bbea-514737061374

Files