Weak Fiat-Shamir Attacks on Modern Proof Systems
Quang Dao, Jim Miller, Opal Wright, Paul Grubbs
摘要
A flurry of excitement amongst researchers and practitioners has produced modern proof systems built using novel technical ideas and seeing rapid deployment, especially in cryptocurrencies. Most of these modern proof systems use the Fiat-Shamir (F-S) transformation, a seminal method of removing interaction from a protocol with a public-coin verifier. Some prior work has shown that incorrectly applying F-S (i.e., using the so-called "weak" F-S transformation) can lead to breaks of classic protocols like Schnorr’s discrete log proof; however, little is known about the risks of applying F-S incorrectly for modern proof systems seeing deployment today.In this paper, we fill this knowledge gap via a broad theoretical and practical study of F-S in implementations of modern proof systems. We perform a survey of open-source implementations and find 30 weak F-S implementations affecting 12 different proof systems. For four of these—Bulletproofs, Plonk, Spartan, and Wesolowski’s VDF—we develop novel knowledge soundness attacks accompanied by rigorous proofs of their efficacy. We perform case studies of applications that use vulnerable implementations, and demonstrate that a weak F-S vulnerability could have led to the creation of unlimited currency in a private smart contract platform. Finally, we discuss possible mitigations and takeaways for academics and practitioners.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKs 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- Efficient Proofs of Possession for Legacy Signatures 引用了 Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- qedb: Expressive and Modular Verifiable Databases (without SNARKs) 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
- Bulletproofs: Short Proofs for Confidential Transactions and More 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
- sigma-rs: A Modular Approach for Keyed-Verification Anonymous Credentials 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
引用它的顶会 Paper6
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKsStefanos Chaliasos, Jens Ernstberger, David Theodore, David Wong 等USENIX Security 2024 · 32 次引用
- qedb: Expressive and Modular Verifiable Databases (without SNARKs)Vincenzo Botta, Simone Bottoni, Matteo Campanelli, Emanuele Ragnoli 等CCS 2026 · 3 次引用
- Shaken, not Stirred - Automated Discovery of Subtle Attacks on Protocols using Mix-NetsJannik Dreier, Pascal Lafourcade, Dhekra MahmoudUSENIX Security 2024 · 2 次引用
- sigma-rs: A Modular Approach for Keyed-Verification Anonymous CredentialsMichele Orrù, Lindsey Tulloch, Victor Snyder-Graf, Ian GoldbergUSENIX Security 2026 · 2 次引用
- Efficient Proofs of Possession for Legacy SignaturesAnna P. Y. Woo, Alex Ozdemir, Chad Sharp, Thomas Pornin 等S&P 2025
它引用的 Paper11
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra 等S&P 2018 · 1,285 次引用
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference StringsMary Maller, Sean Bowe, Markulf Kohlweiss, Sarah MeiklejohnCCS 2019 · 412 次引用
- Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler 等S&P 2018 · 356 次引用
- Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra 等EUROCRYPT 2020 · 356 次引用
- Spartan: Efficient and General-Purpose zkSNARKs Without Trusted SetupSrinath T. V. SettyCRYPTO 2020 · 262 次引用
相关 Paper
- How to Prove False Statements: Practical Attacks on Fiat-ShamirDmitry Khovratovich, Ron D. Rothblum, Lev SoukhanovCRYPTO 2025 · 17 次引用
- Towards a White-Box Secure Fiat-Shamir TransformationGal Arnon, Eylon YogevCRYPTO 2025 · 2 次引用
- Fiat-Shamir Bulletproofs are Non-Malleable (in the Algebraic Group Model)Chaya Ganesh, Claudio Orlandi, Mahak Pancholi, Akira Takahashi 等EUROCRYPT 2022 · 34 次引用
- Spartan and Bulletproofs are Simulation-Extractable (for Free!)Quang Dao, Paul GrubbsEUROCRYPT 2023 · 26 次引用
- Fiat-Shamir for Repeated Squaring with Applications to PPAD-Hardness and VDFsAlex Lombardi, Vinod VaikuntanathanCRYPTO 2020 · 40 次引用
