Automated Verification of Consistency in Zero-Knowledge Proof Circuits
摘要
Abstract Circuit languages like Circom and Gnark have become essential tools for programmable zero-knowledge cryptography, allowing developers to build privacy-preserving applications. These domain-specific languages (DSLs) encode both the computation to be verified (as a witness generator ) and the corresponding arithmetic circuits , from which the prover and verifier can be automatically generated. However, for these programs to be correct, the witness generator and the arithmetic circuit need to be mutually consistent in a certain technical sense, and inconsistencies can result in security vulnerabilities. This paper formalizes the consistency requirement for circuit DSLs and proposes the first automated technique for verifying it. We evaluate the method on hundreds of real-world circuits, demonstrating its utility for both automated verification and uncovering errors that existing tools are unable to detect.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKs 引用了 Scalable Verification of Zero-Knowledge Protocols
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKs 引用了 Practical Security Analysis of Zero-Knowledge Proof Circuits
- Automating Bitvector and Finite Field Equivalence Proofs in Lean 引用了 Scalable Verification of Zero-Knowledge Protocols
- Automating Bitvector and Finite Field Equivalence Proofs in Lean 引用了 Certifying Zero-Knowledge Circuits with Refinement Types
- Certifying Zero-Knowledge Circuits with Refinement Types 引用了 Practical Security Analysis of Zero-Knowledge Proof Circuits
引用它的顶会 Paper1
它引用的 Paper6
- SoK: What don't we know? Understanding Security Vulnerabilities in SNARKsStefanos Chaliasos, Jens Ernstberger, David Theodore, David Wong 等USENIX Security 2024 · 32 次引用
- Practical Security Analysis of Zero-Knowledge Proof CircuitsHongbo Wen, Jon Stephens, Yanju Chen, Kostas Ferles 等USENIX Security 2024 · 31 次引用
- Certifying Zero-Knowledge Circuits with Refinement TypesJunrui Liu, Ian Kretz, Hanzhi Liu, Bryan Tan 等S&P 2024 · 30 次引用
- Scalable Verification of Zero-Knowledge ProtocolsMiguel Isabel, Clara Rodríguez-Núñez, Albert RubioS&P 2024 · 14 次引用
- KestRel: Relational Verification using E-Graphs for Program AlignmentRobert Dickerson, Prasita Mukherjee, Benjamin DelawareOOPSLA 2025 · 3 次引用
相关 Paper
- Language-Agnostic Detection of Computation-Constraint Inconsistencies in ZKP Programs Via Value InferenceArman Kolozyan, Bram Vandenbogaerde, Janwillem Swalens, Lode Hoste 等S&P 2026 · 4 次引用
- Automated Detection of Under-Constrained Circuits in Zero-Knowledge ProofsShankara Pailoor, Yanju Chen, Franklyn Wang, Clara Rodríguez-Núñez 等PLDI 2023 · 24 次引用
- Formal Verification of Circuit-Soundness in zkWasm, a General Purpose zkVMVilhelm Sjöberg, Roger Bai, Hao Chen, Xifeng Jin 等CCS 2026
- zkFuzz: Foundation and Framework for Effective Fuzzing of Zero-Knowledge CircuitsHideaki Takahashi, Jihwan Kim, Suman Jana, Junfeng YangS&P 2026 · 8 次引用
- ScaleCirc: Scaling the Analysis over Circom CircuitsJinan Jiang, Haoran Qin, Xiapu LuoASE 2025
