A Semantic Framework for the Security Analysis of Ethereum smart contracts

By Ilya Grishchenko, Matteo Maffei, Clara Schneidewind. The post, 2018

309 citations recorded by the source corpus.

Smart contracts are programs running on cryptocurrency (e.g., Ethereum) blockchains, whose popularity stem from the possibility to perform financial transactions, such as payments and auctions, in a distributed environment without need for any trusted third party. Given their financial nature, bugs or vulnerabilities in these programs may lead to catastrophic consequences, as witnessed by recent attacks. Unfortunately, programming smart contracts is a delicate task that requires strong expertise: Ethereum smart contracts are written in Solidity, a dedicated language resembling JavaScript, and shipped over the blockchain in the EVM bytecode format. In order to rigorously verify the security of smart contracts, it is of paramount importance to formalize their semantics as well as the security properties of interest, in particular at the level of the bytecode being executed. In this paper, we present the first complete small-step semantics of EVM bytecode, which we formalize in the F* proof assistant, obtaining executable code that we successfully validate against the official Ethereum test suite. Furthermore, we formally define for the first time a number of central security properties for smart contracts, such as call integrity, atomicity, and independence from miner controlled parameters. This formalization relies on a combination of hyper- and safety properties. Along this work, we identified various mistakes and imprecisions in existing semantics and verification tools for Ethereum smart contracts, thereby demonstrating once more the importance of rigorous semantic foundations for the design of security verification techniques.

Subfields: Artificial Intelligence, Computer Networks and Communications, Information Systems

View Paper: https://www.semanticscholar.org/paper/3fefa6858fcc41d300b473249210ef165b113198

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Madhusanka Liyanage
  2. Tharaka Mawanane Hewa
  3. Mika E. Ylianttila
  4. Julian Schütte
  5. Radu State
  6. Christof Ferreira Torres
  7. Petar Tsankov
  8. Zhenguang Liu

In Computer Networks and Communications

  1. Madhusanka Liyanage
  2. Mika E. Ylianttila
  3. Marcus Pendleton
  4. Tharaka Mawanane Hewa
  5. Baowen Xu
  6. Laurent L. Njilla
  7. Ayesha Shahnaz
  8. Huashan Chen

In Information Systems

  1. Madhusanka Liyanage
  2. Mika E. Ylianttila
  3. Tharaka Mawanane Hewa
  4. Julian Schütte
  5. Radu State
  6. Christof Ferreira Torres
  7. Zhenguang Liu
  8. Yuan Zhuang

Citations in the corpus