Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chaliasos, Stefanos, Al-Fath, Imam, Donaldson, Alastair
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908343657824256
author Chaliasos, Stefanos
Al-Fath, Imam
Donaldson, Alastair
author_facet Chaliasos, Stefanos
Al-Fath, Imam
Donaldson, Alastair
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_14881
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)
Chaliasos, Stefanos
Al-Fath, Imam
Donaldson, Alastair
Cryptography 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.
title Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)
topic Cryptography and Security
url https://arxiv.org/abs/2504.14881