Towards a Formal Foundation for Blockchain ZK Rollups
Stefanos Chaliasos, Denis Firsov, Benjamin Livshits
摘要
Blockchains like Bitcoin and Ethereum have revolutionized digital transactions, yet scalability issues persist. Layer 2 solutions, such as validity proof Rollups (ZK-Rollups), aim to address these challenges by processing transactions off-chain and validating them on the main chain. However, concerns remain about security and censorship resistance, particularly regarding centralized control in Layer 2 and inadequate mechanisms for enforcing these properties through Layer 1 smart contracts. In their current form, L2s are susceptible to multisig attacks that can lead to total user funds loss. This work presents a formal analysis using the Alloy specification language to examine and design key Layer 2 functionalities, including forced transaction queues, safe blacklisting, and upgradeability. Through this analysis, we identify pitfalls in existing designs and introduce an enhanced model that has been model-checked to be correct. Finally, we propose a complete end-to-end methodology to analyze rollups' security and censorship resistance based on manually translating Alloy properties to property-based testing invariants, setting new standards.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKs 引用了 Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners?
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKs 引用了 SoK: Decentralized Finance (DeFi) Attacks
- SoK: Decentralized Finance (DeFi) Attacks 引用了 Arbitrum: Scalable, private smart contracts
它引用的 Paper5
- Arbitrum: Scalable, private smart contractsHarry A. Kalodner, Steven Goldfeder, Xiaoqi Chen, S. Matthew Weinberg 等USENIX Security 2018 · 353 次引用
- Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners?Stefanos Chaliasos, Marcos Antonios Charalambous, Liyi Zhou, Rafaila Galanopoulou 等ICSE 2024 · 49 次引用
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKsStefanos Chaliasos, Jens Ernstberger, David Theodore, David Wong 等USENIX Security 2024 · 32 次引用
- Sui Lutris: A Blockchain Combining Broadcast and ConsensusSam Blackshear, Andrey Chursin, George Danezis, Anastasios Kichidis 等CCS 2024 · 14 次引用
- SoK: Decentralized Finance (DeFi) AttacksLiyi Zhou, Xihan Xiong, Jens Ernstberger, Stefanos Chaliasos 等S&P 2023
相关 Paper
- Denial of Sequencing Attacks in Ethereum Layer 2 RollupsZihao Li, Zhiyuan Sun, Zheyuan He, Jinzhao Chu 等CCS 2025 · 1 次引用
- Semantic Understanding of Smart Contracts: Executable Operational Semantics of SolidityJiao Jiao, Shuanglong Kan, Shang-Wei Lin, David Sanán 等S&P 2020 · 82 次引用
- Blockchain CensorshipAnton Wahrstätter, Jens Ernstberger, Aviv Yaish, Liyi Zhou 等WWW 2024 · 60 次引用
- fAmulet: Finding Finalization Failure Bugs in Polygon zkRollupZihao Li, Xinghao Peng, Zheyuan He, Xiapu Luo 等CCS 2024 · 5 次引用
- Automated Soundness and Completeness Vetting of Polygon zkEVMXinghao Peng, Zhiyuan Sun, Kunsong Zhao, Zuchao Ma 等USENIX Security 2025
