mlsanityData to 7 Oct 2026

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

arXiv 2101.02377 ↗First posted 7 Jan 2021cs.CR cs.LG cs.SEcited by 7

Not on the map. Why?

Abstract (arXiv)

Ethereum smart contracts are programs that run on the Ethereum blockchain, and many smart contract vulnerabilities have been discovered in the past decade. Many security analysis tools have been created to detect such vulnerabilities, but their performance decreases drastically when codes to be analyzed are being rewritten. In this paper, we propose Eth2Vec, a machine-learning-based static analysis tool for vulnerability detection, with robustness against code rewrites in smart contracts. Existing machine-learning-based static analysis tools for vulnerability detection need features, which analysts create manually, as inputs. In contrast, Eth2Vec automatically learns features of vulnerable Ethereum Virtual Machine (EVM) bytecodes with tacit knowledge through a neural network for language processing. Therefore, Eth2Vec can detect vulnerabilities in smart contracts by comparing the code similarity between target EVM bytecodes and the EVM bytecodes it already learned. We conducted experiments with existing open databases, such as Etherscan, and our results show that Eth2Vec outperforms the existing work in terms of well-known metrics, i.e., precision, recall, and F1-score. Moreover, Eth2Vec can detect vulnerabilities even in rewritten codes.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 24 of its 59 references that are in the map. First posted on arXiv 7 Jan 2021.

Builds on

24 of 59 references.

References · 24

  1. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  2. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  3. 2014Distributed Representations of Sentences and Documentscited by 677
  4. 2016Learning Distributed Representations of Sentences from Unlabelled Datacited by 90
  5. 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
  6. 2018Securify: Practical Security Analysis of Smart Contractscited by 61
  7. 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
  8. 2019Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contractscited by 35
  9. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  10. 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25
  11. 2019A Survey on Ethereum Systems Security: Vulnerabilities, Attacks and Defensescited by 25
  12. 2018Finding The Greedy, Prodigal, and Suicidal Contracts at Scalecited by 19
12 more
  1. 2018Vandal: A Scalable Security Analysis Framework for Smart Contractscited by 18
  2. 2018Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attackscited by 17
  3. 2018A Semantic Framework for the Security Analysis of Ethereum smart contractscited by 16
  4. 2019The Art of The Scam: Demystifying Honeypots in Ethereum Smart Contractscited by 13
  5. 2020eThor: Practical and Provably Sound Static Analysis of Ethereum Smart Contractscited by 11
  6. 2020Checking Smart Contracts with Structural Code Embeddingcited by 10
  7. 2017Under-Optimized Smart Contracts Devour Your Moneycited by 9
  8. 2017walk2friends: Inferring Social Links from Mobility Profilescited by 7
  9. 2019ATTACK2VEC: Leveraging Temporal Word Embeddings to Understand the Evolution of Cyberattackscited by 6
  10. 2019Annotary: A Concolic Execution System for Developing Secure Smart Contractscited by 1
  11. 2020AEGIS: Shielding Vulnerable Smart Contracts Against Attackscited by 1
  12. 2020Hunting for Re-Entrancy Attacks in Ethereum Smart Contracts via Static Analysiscited by 1

Built on by

Cited by year

Citing papers per year: 2024: 5; 2025: 2.

7 papers.