Dynamic Vulnerability Detection on Smart Contracts Using Machine Learning

Mojtaba Eshghie, Cyrille Artho, Dilian Gurov
2/15/2021
cs.CRcs.SE

Official code: mojtaba-eshghie/Dynamit (31 stars, Jupyter Notebook, MIT, last commit 2023-11-06).

Abstract

In this work we propose Dynamit, a monitoring framework to detect reentrancy vulnerabilities in Ethereum smart contracts. The novelty of our framework is that it relies only on transaction metadata and balance data from the blockchain system; our approach requires no domain knowledge, code instrumentation, or special execution environment.

Show full abstract

Dynamit extracts features from transaction data and uses a machine learning model to classify transactions as benign or harmful. Therefore, not only can we find the contracts that are vulnerable to reentrancy attacks, but we also get an execution trace that reproduces the attack.

View on arXivView PDF

Code Implementations(1)

MIT

Dynamit: Dynamic Vulnerability Detection of Ethereum Smart Contracts Using Machine Learning

313Jupyter Notebook, SolidityDec 11, 20203 years agoMIT
blockchainethereumgethmachine-learningsmart-contracts+2 more

Similar Papers

Cite this paper

@article{eshghie2021dynamic,
  title  = {Dynamic Vulnerability Detection on Smart Contracts Using Machine Learning},
  author = {Mojtaba Eshghie and Cyrille Artho and Dilian Gurov},
  year   = {2021},
  eprint = {2102.07420},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07420}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.07420.svg)](https://codeofpaper.com/paper/2102.07420)

Discussion