Score: 0

Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)

Published: April 21, 2025 | arXiv ID: 2504.14881v2

By: Stefanos Chaliasos, Imam Al-Fath, Alastair Donaldson

Potential Business Impact:

Finds hidden mistakes in secret computer codes.

Business Areas:
Penetration Testing Information Technology, Privacy and Security

Zero-knowledge proofs (ZKPs) have evolved from a theoretical cryptographic concept into a powerful tool for implementing privacy-preserving and verifiable applications without requiring trust assumptions. Despite significant progress in the field, implementing and using ZKPs via \emph{ZKP circuits} remains challenging, leading to numerous bugs that affect ZKP circuits in practice, and \emph{fuzzing} remains largely unexplored as a method to detect bugs in ZKP circuits. We discuss the unique challenges of applying fuzzing to ZKP circuits, examine the oracle problem and its potential solutions, and propose techniques for input generation and test harness construction. We demonstrate that fuzzing can be effective in this domain by implementing a fuzzer for \texttt{zk-regex}, a cornerstone library in modern ZKP applications. In our case study, we discovered \textit{$10$} new bugs that have been confirmed by the developers.

Page Count
7 pages

Category
Computer Science:
Cryptography and Security