Lune

CCS2026顶会

Efficient Branch-and-Bound Testing and Verification of zkVMs

Hideaki Takahashi, Suman Jana, Junfeng Yang

摘要

Zero-knowledge virtual machines (zkVMs) enable verifiable execution of general-purpose programs by translating virtual machine semantics into algebraic constraints over execution traces. The correctness of these constraints is critical: a single missing or incorrect constraint can admit forged proofs (under-constrained) or reject valid executions (over-constrained). Existing approaches do not provide meaningful guarantees at production scale: fuzzers and unit tests often miss bugs, SMT solvers struggle with the size and nonlinearity of constraints, and theorem provers require substantial manual effort.

We present ZEBRA, a fully automated verification and bugdetection framework grounded in a precise correctness criterion: for a given program and input, the constraint system must admit exactly one valid execution trace-no more (soundness) and no fewer (completeness). This reduces zkVM verification to a solution-set cardinality problem over a canonical trace space, where redundancies such as null-row padding and non-deterministic permutations are eliminated prior to counting.

To compute cardinality tractably, ZEBRA lifts analysis from finite-field witnesses to an integer interval lattice, exploiting a structural sparsity property of zkVM constraints: across 5 realworld zkVMs, constraints utilize only 14.0% of their theoretical connectivity capacity on average. This sparsity enables tight interval propagation with limited over-approximation error. ZEBRA performs a parallel branch-and-bound search that, unlike fuzzing, either produces a concrete counterexample or certifies the absence of violations within a bounded input region.

We evaluate ZEBRA on five real-world zkVMs. ZEBRA discovers 11 previously unknown vulnerabilities, including critical flaws enabling control-flow hijacking and proof forgery-none detected by a state-of-the-art fuzzer; 6 have already been independently confirmed and 3 have been fixed by developers. Compared to SMTbased verification, ZEBRA is 51.5× faster, verifies 16.5 percentage point more instances, and its range verification provides up to 63× efficiency gain over repeated single-input verification.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • zkFuzz: Foundation and Framework for Effective Fuzzing of Zero-Knowledge Circuits 引用了 Practical Security Analysis of Zero-Knowledge Proof Circuits
  • zkFuzz: Foundation and Framework for Effective Fuzzing of Zero-Knowledge Circuits 引用了 Automated Detection of Under-Constrained Circuits in Zero-Knowledge Proofs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper4

  1. Practical Security Analysis of Zero-Knowledge Proof CircuitsHongbo Wen, Jon Stephens, Yanju Chen, Kostas Ferles 等USENIX Security 2024 · 31 次引用
  2. Automated Detection of Under-Constrained Circuits in Zero-Knowledge ProofsShankara Pailoor, Yanju Chen, Franklyn Wang, Clara Rodríguez-Núñez 等PLDI 2023 · 24 次引用
  3. zkFuzz: Foundation and Framework for Effective Fuzzing of Zero-Knowledge CircuitsHideaki Takahashi, Jihwan Kim, Suman Jana, Junfeng YangS&P 2026 · 8 次引用
  4. Arguzz: Testing zkVMs for Soundness and Completeness BugsChristoph Hochrainer, Valentin Wüstholz, Maria ChristakisUSENIX Security 2026 · 2 次引用

相关 Paper

  1. ZKSMT: A VM for Proving SMT Theorems in Zero KnowledgeDaniel Luick, John C. Kolesar, Timos Antonopoulos, William R. Harris 等USENIX Security 2024
  2. Language-Agnostic Detection of Computation-Constraint Inconsistencies in ZKP Programs Via Value InferenceArman Kolozyan, Bram Vandenbogaerde, Janwillem Swalens, Lode Hoste 等S&P 2026 · 4 次引用
  3. Evaluating Compiler Optimization Impacts on zkVM PerformanceThomas Gassmann, Stefanos Chaliasos, Thodoris Sotiropoulos, Zhendong SuASPLOS 2026 · 2 次引用
  4. ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHzSunghyeon Jo, Vladimir Kolesnikov, Yibin YangCCS 2026
  5. Formal Verification of Circuit-Soundness in zkWasm, a General Purpose zkVMVilhelm Sjöberg, Roger Bai, Hao Chen, Xifeng Jin 等CCS 2026
黄昏的海面,两侧是细线勾勒的悬崖