Download PDFOpen PDF in browser

HoRStify: Sound Security Analysis of Smart Contracts

EasyChair Preprint 10335

17 pagesDate: June 5, 2023

Abstract

The cryptocurrency Ethereum is the most widely used execution platform for smart contracts. Smart contracts are distributed applications, which govern financial assets and, hence, can implement advanced financial instruments, such as decentralized exchanges or autonomous organizations (DAOs). Their financial nature makes smart contracts an attractive attack target, as demonstrated by numerous exploits on popular contracts resulting in financial damage of millions of dollars. This omnipresent attack hazard motivates the need for sound static analysis tools, which assist smart contract developers in eliminating contract vulnerabilities a priori to deployment. Vulnerability assessment that is sound and insightful for EVM contracts is a formidable challenge because contracts execute low-level bytecode in a largely unknown and potentially hostile execution environment. So far, there exists no provably sound automated analyzer that allows for the verification of security properties based on program dependencies, even though prevalent attack classes fall into this category. In this work, we present HoRStify, the first automated analyzer for dependency properties of Ethereum smart contracts based on sound static analysis. HoRStify grounds its soundness proof on a formal proof framework for static program slicing that we instantiate to the semantics of EVM bytecode. We demonstrate that HoRStify is flexible enough to soundly verify the absence of famous attack classes such as timestamp dependency and, at the same time, performant enough to analyze real-world smart contracts.

Keyphrases: Blockchain, Ethereum, Security, dependency analysis, program analysis, smart contract, tool

BibTeX entry
BibTeX does not have the right entry for preprints. This is a hack for producing the correct reference:
@booklet{EasyChair:10335,
  author    = {Sebastian Holler and Sebastian Biewer and Clara Schneidewind},
  title     = {HoRStify: Sound Security Analysis of Smart Contracts},
  howpublished = {EasyChair Preprint 10335},
  year      = {EasyChair, 2023}}
Download PDFOpen PDF in browser