Skip to main content
QUICK REVIEW

[Paper Review] A Survey on EOSIO Systems Security: Vulnerability, Attack, and Mitigation

Ningyu He, Haoyu Wang|arXiv (Cornell University)|Jul 19, 2022
Blockchain Technology Applications and SecurityComputer Science5 citations
TL;DR

This paper presents the first comprehensive survey of security vulnerabilities, attacks, and mitigations in the EOSIO blockchain platform, analyzing flaws across smart contracts, the EOS Virtual Machine (EOS VM), and consensus mechanisms. It systematically categorizes vulnerabilities, details real-world attack incidents like the EOSBet exploits, and proposes developer best practices and security hardening strategies for DApp creators, the EOSIO team, and researchers.

ABSTRACT

EOSIO, as one of the most representative blockchain 3.0 platforms, involves lots of new features, e.g., delegated proof of stake consensus algorithm and updatable smart contracts, enabling a much higher transaction per second and the prosperous decentralized applications (DApps) ecosystem. According to the statistics, it has reached nearly 18 billion USD, taking the third place of the whole cryptocurrency market, following Bitcoin and Ethereum. Loopholes, however, are hiding in the shadows. EOSBet, a famous gambling DApp, was attacked twice within a month and lost more than 1 million USD. No existing work has surveyed the EOSIO from a security researcher perspective. To fill this gap, in this paper, we collected all occurred attack events against EOSIO, and systematically studied their root causes, i.e., vulnerabilities lurked in all relying components for EOSIO, as well as the corresponding attacks and mitigations. We also summarized some best practices for DApp developers, EOSIO official team, and security researchers for future directions.

Motivation & Objective

  • To address the lack of systematic security surveys for EOSIO, a leading blockchain 3.0 platform with high throughput and growing DApp ecosystem.
  • To identify and categorize security vulnerabilities across three layers: smart contracts, EOS VM, and the blockchain protocol itself.
  • To analyze real-world attack incidents, including the double exploitation of EOSBet, to understand attack tactics and consequences.
  • To summarize existing mitigation techniques, including program and transaction analysis, and propose actionable best practices for developers and the EOSIO team.
  • To guide future research by highlighting gaps, such as DeFi-specific vulnerabilities and the need for advanced static analysis on WebAssembly-based smart contracts.

Proposed method

  • Collected and analyzed 113 attack incidents against EOSIO from public sources, including security firm reports, forums, and official announcements.
  • Categorized vulnerabilities into three layers: smart contract logic flaws, EOS VM execution flaws, and consensus algorithm (DPoS) design issues.
  • Mapped each vulnerability to its root cause, attack vector, and real-world exploitation examples, such as the EOSBet double-spend attacks.
  • Evaluated existing mitigation techniques, including symbolic execution, fuzzing, and transaction behavior analysis, to detect vulnerabilities pre-deployment.
  • Proposed a hierarchical vulnerability taxonomy to aid developers and researchers in understanding and preventing security issues.
  • Synthesized best practices for DApp developers, the EOSIO team, and security researchers based on attack patterns and mitigation effectiveness.

Experimental results

Research questions

  • RQ1What are the primary security vulnerabilities in EOSIO’s smart contracts, EOS VM, and consensus mechanism, and how do they differ from those in Ethereum?
  • RQ2How do real-world attacks exploit specific vulnerabilities in EOSIO, and what are the direct financial and operational consequences?
  • RQ3What are the most effective detection and mitigation strategies for EOSIO smart contract vulnerabilities, particularly in WebAssembly-based execution?
  • RQ4How can DApp developers and the EOSIO team prevent future attacks through improved coding practices and platform hardening?
  • RQ5What are the key research gaps in securing EOSIO, especially concerning emerging DeFi applications and zero-day vulnerability detection?

Key findings

  • The EOSIO platform has experienced at least 113 distinct attack incidents within one year of its launch, primarily due to vulnerabilities in smart contracts and the EOS VM.
  • The EOSBet DApp was compromised twice in a single month due to insufficient validation of two transaction arguments, resulting in losses exceeding 1 million USD.
  • Vulnerabilities in the EOS VM, such as stack manipulation and memory safety issues, enabled attackers to bypass access controls and execute malicious code.
  • The delegated proof-of-stake (DPoS) consensus mechanism introduced new attack vectors, including block producer manipulation and resource exhaustion attacks.
  • Existing mitigation techniques, such as symbolic execution and fuzzing, show promise in detecting vulnerabilities before deployment, but are not yet widely adopted.
  • Best practices such as input validation, minimal privilege access, and decoupling of new components can significantly reduce the risk of financial loss and exploitability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.