Detecting Smart Contract Vulnerabilities with Combined Binary and Multiclass Classification

Anzhelika Mezina, Aleksandr Ometov

Research output: Contribution to journalArticleScientificpeer-review

2 Citations (Scopus)
3 Downloads (Pure)

Abstract

The development of Distributed Ledger Technology (DLT) is pushing toward automating decentralized data exchange processes. One of the key components of this evolutionary step is facilitating smart contracts that, in turn, come with several additional vulnerabilities. Despite the existing tools for analyzing smart contracts, keeping these systems running and preserving performance while maintaining a decent level of security in a constantly increasing number of contracts becomes challenging. Machine Learning (ML) methods could be utilized for analyzing and detecting vulnerabilities in DLTs. This work proposes a new ML-based two-phase approach for the detection and classification of vulnerabilities in smart contracts. Firstly, the system’s operation is set up to filter the valid contracts. Secondly, it focuses on detecting a vulnerability type, if any. In contrast to existing approaches in this field of research, our algorithm is more focused on vulnerable contracts, which allows to save time and computing resources in the production environment. According to the results, it is possible to detect vulnerability types with an accuracy of 0.9921, F1 score of 0.9902, precision of 0.9883, and recall of 0.9921 within reasonable execution time, which could be suitable for integrating existing DLTs.
Original languageEnglish
Article number34
JournalCryptography
Volume7
Issue number3
DOIs
Publication statusPublished - 7 Jul 2023
Publication typeA1 Journal article-refereed

Keywords

  • modeling
  • classification
  • vulnerability detection
  • distributed systems

Publication forum classification

  • Publication forum level 1

Fingerprint

Dive into the research topics of 'Detecting Smart Contract Vulnerabilities with Combined Binary and Multiclass Classification'. Together they form a unique fingerprint.

Cite this