Commit-Reveal$^2$: Randomized Reveal Order Mitigates Last-Revealer Attacks in Commit-Reveal

📅 2025-04-04
📈 Citations: 0
Influential: 0
📄 PDF

career value

185K/year
🤖 AI Summary
Traditional commit-reveal schemes are vulnerable to the “last-revealer attack,” wherein malicious participants delay revealing their commitments to bias the resulting randomness—compromising security in validator elections, zero-knowledge proof generation, and DeFi applications. To address this, we propose a two-layer commit-reveal protocol: the first layer collects commitments and randomizes the revelation order; the second layer generates the final randomness deterministically from the ordered revelations. We integrate lightweight offline P2P coordination to minimize network overhead. Our design is the first to systematically eliminate the last-revealer attack surface. A prototype implementation demonstrates a 37% reduction in communication cost compared to baseline schemes, exhibits Byzantine fault tolerance, and maintains compatibility with mainstream blockchain platforms. The reference implementation is open-sourced.

Technology Category

Application Category

📝 Abstract
Randomness generation is a fundamental component in blockchain systems, essential for tasks such as validator selection, zero-knowledge proofs, and decentralized finance operations. Traditional Commit-Reveal mechanisms provide simplicity and security but are susceptible to last revealer attacks, where an adversary can manipulate the random outcome by withholding their reveal. To address this vulnerability, we propose the Commit-Reveal$^2$ protocol, which employs a two-layer Commit-Reveal process to randomize the reveal order and mitigate the risk of such attacks. Additionally, we introduces a method to leverage off-chain networks to optimize communication costs and enhance efficiency. We implement a prototype of the proposed mechanism and publicly release the code to facilitate practical adoption and further research.
Problem

Research questions and friction points this paper is trying to address.

Mitigates last-revealer attacks in randomness generation
Randomizes reveal order to enhance security
Optimizes communication costs using off-chain networks
Innovation

Methods, ideas, or system contributions that make the work stand out.

Two-layer Commit-Reveal randomizes order
Off-chain networks optimize communication costs
Public prototype code for practical adoption
S
Suheyon Lee
Tokamak Network, Korea University
E
Euisin Gee
Tokamak Network