• Home
  • Search
  • Eth2Vec: Learning contract-wide code representations for vulnerability detection on Ethereum smart contracts
  • Cite Icon32
  • https://doi.org/10.1016/j.bcra.2022.100101Copy DOI Icon

Eth2Vec: Learning contract-wide code representations for vulnerability detection on Ethereum smart contracts

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Ethereum smart contracts are computer programs that are deployed and executed on the Ethereum blockchain to enforce agreements among untrusting parties. Being the most prominent platform that supports smart contracts, Ethereum has been targeted by many attacks and plagued by security incidents. Consequently, many smart contract vulnerabilities have been discovered in the past decade. To detect and prevent such vulnerabilities, different security analysis tools, including static and dynamic analysis tools, have been created, but their performance decreases drastically when codes to be analyzed are constantly being rewritten. In this paper, we propose Eth2Vec, a machine-learning-based static analysis tool that detects smart contract vulnerabilities. Eth2Vec maintains its robustness against code rewrites; i.e., it can detect vulnerabilities even in rewritten codes. Other machine-learning-based static analysis tools require features, which analysts create manually, as inputs. In contrast, Eth2Vec uses a neural network for language processing to automatically learn the features of vulnerable contracts. In doing so, Eth2Vec can detect vulnerabilities in smart contracts by comparing the similarities between the codes of a target contract and those of the learned contracts. We performed experiments with existing open databases, such as Etherscan, and Eth2Vec was able to outperform a recent model based on support vector machine in terms of well-known metrics, i.e., precision, recall, and F1-score.

Similar Papers
  • Conference Article
  • Citations111

Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contracts

  • May 24, 2021
  • Nami Ashizawa +3
  • Research Article
  • Citations156

Ethereum Smart Contract Analysis Tools: A Systematic Review

  • Jan 01, 2022
  • IEEE Access
  • Satpal Singh Kushwaha +4
  • Research Article
  • Citations7

Advanced strategies for achieving comprehensive code quality and ensuring software reliability

  • Aug 03, 2024
  • Computer Science & IT Research Journal
  • Nnaemeka Valentine Eziamaka +2
  • PDF
  • Research Article
  • Citations55

Deep learning-based solution for smart contract vulnerabilities detection

  • Nov 16, 2023
  • Scientific Reports
  • Xueyan Tang +4
  • Conference Article
  • Citations45

MPro: Combining Static and Symbolic Analysis for Scalable Testing of Smart Contract

  • Oct 01, 2019
  • William Zhang +4
  • Research Article

Integrated Smart Contract Vulnerability Detection Technology Based on AFL Fuzzing Strategy and a Lightweight Seed Selection Strategy

  • Apr 24, 2025
  • Applied and Computational Engineering
  • Keyan Cao +3
  • Conference Article
  • Citations35

EtherGIS: A Vulnerability Detection Framework for Ethereum Smart Contracts Based on Graph Learning Features

  • Jun 01, 2022
  • Qingren Zeng +6
  • Conference Article
  • Citations22

A survey on ethereum smart contract vulnerability detection using machine learning

  • May 30, 2022
  • Onur Surucu +7
  • Conference Article
  • Citations21

Explaining Static Analysis - A Perspective

  • Nov 01, 2019
  • Marcus Nachtigall +2
  • Conference Article
  • Citations29

Ethereum Smart Contracts: Vulnerabilities and their Classifications

  • Dec 10, 2020
  • Zulfiqar Ali Khan +1
  • Research Article
  • Citations2

A Reliable Framework for Detection of Smart Contract Vulnerabilities for Enhancing Operability in Inter-Organizational Systems

  • Mar 29, 2024
  • Journal of Mobile Multimedia
  • S Arunprasath +1
  • Conference Article
  • Citations2

GSVD: Common Vulnerability Dataset for Smart Contracts on BSC and Polygon

  • Mar 25, 2023
  • Ziniu Shen +2
  • Research Article
  • Citations45

Mutation testing for integer overflow in ethereum smart contracts

  • Feb 01, 2022
  • Tsinghua Science and Technology
  • Jinlei Sun +5
  • Research Article
  • Citations3

OC-Detector: Detecting Smart Contract Vulnerabilities Based on Clustering Opcode Instructions

  • Nov 20, 2023
  • International Journal of Software Engineering and Knowledge Engineering
  • Xiguo Gu +4
  • Book Chapter
  • Citations19

An Efficient Vulnerability Detection Model for Ethereum Smart Contracts

  • Jan 01, 2019
  • Jingjing Song +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.