PLApr 28

Open-World Assertion Checking for Smart Contracts via Game Semantics

arXiv:2512.224178.0h-index: 14
Predicted impact top 89% in PL · last 90 daysOriginality Highly original
AI Analysis

This work provides the first formal open-world interaction semantics for Ethereum smart contracts with soundness and completeness guarantees, enabling precise assertion checking for developers.

The paper introduces a game semantics framework for open-world safety analysis of Ethereum smart contracts, implemented in YulTracer, which achieves 100% recall and precision on reentrancy benchmarks and detects known vulnerabilities in real-world exploits like the DAO and PredyPool without false positives.

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 YulTracer achieves 100% recall and precision -- the only tool to do so from those we examined -- and on two large real-world exploits (the DAO and PredyPool), where it detects the known vulnerabilities and produces no false positives on fixed versions. To our knowledge, YulTracer is the first tool to achieve this level of precision on real-world contracts without false positives. We additionally demonstrate generality of the approach via the examination of access control benchmarks.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes