Open-World Assertion Checking for Smart Contracts via Game Semantics
Vasileios Koutavas, Yu-Yang Lin, Nikos Tzevelekos

TL;DR
This paper introduces a game semantics framework for open-world safety analysis of Ethereum smart contracts, providing formal guarantees and a practical tool that achieves high precision in vulnerability detection.
Contribution
It presents the first formal open-world interaction semantics for Ethereum smart contracts with soundness and completeness guarantees, and implements a precise assertion reachability tool.
Findings
YulTracer achieves 100% recall and precision on reentrancy benchmarks.
YulTracer detects known vulnerabilities in real-world exploits without false positives.
The approach is general and applicable to access control benchmarks.
Abstract
We present a game semantics framework for open-world safety analysis of Ethereum smart contracts. We model the interaction between a contract and its environment as a two-player game between the contract and the environment, and prove up to gas model approximations soundness: every assertion violation found corresponds to a real execution; and completeness: every open-world execution is captured. To our knowledge, this provides the first formal open-world interaction semantics for Ethereum smart contracts with mathematical guarantees of soundness and completeness. We implement this framework in YulTracer, an assertion reachability tool for real-world Solidity contracts, built on Yul, the intermediate language of the Solidity compiler. YulTracer uses concrete execution and exhaustively explores game traces within user-specified bounds. We evaluate it on reentrancy benchmarks, where…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
