paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)

面向零知识证明电路的模糊测试(短文)
ISSTA Proceedings of the 34th ACM SIGSOFT International Symposium on Software Testing and Analysis2025匹配度 2/10 · 论文聚焦零知识证明电路的动态模糊测试与测试框架,属于程序测试/安全领域;与用户核心关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析和贝叶斯程序分析均无直接关联。引用 1 inbox
Stefanos Chaliasos, Imam Al-Fath, Alastair Donaldson
crossref: 2026-09-12

AI 速览

一句话:探讨零知识证明电路模糊测试的挑战,提出输入生成与测试框架技术,并在 zk-regex 中发现 13 个新 bug。

零知识证明(ZKP)已从理论密码学概念发展为隐私保护与可验证应用的重要工具,但通过 ZKP 电路实现和使用 ZKP 仍具挑战性,实践中存在大量 bug,而模糊测试在该领域基本未被探索。本文讨论将模糊测试应用于 ZKP 电路所面临的独特挑战,分析其中的 oracle 问题及其潜在解决方案,并提出输入生成与测试框架(test harness)构建的技术。作者通过为现代 ZKP 应用中的核心库 zk-regex 实现一个模糊测试器来验证方法的有效性。案例研究发现了 13 个新 bug,且均已被开发者确认,表明模糊测试在 ZKP 电路领域可以发挥有效作用。

问题
ZKP 电路的实现和使用容易出错并产生大量 bug,而模糊测试作为动态缺陷检测方法在 ZKP 电路中几乎未被探索。
方法
讨论 ZKP 电路模糊测试的独特挑战、oracle 问题及可能的解决方案,并提出适用于该领域的输入生成和测试框架构建技术,进而为 zk-regex 实现模糊测试器。
评估
通过对 zk-regex 的案例研究评估方法,共发现 13 个新 bug,并全部得到开发者确认。
原文摘要(Abstract)

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 ZKP circuits remains challenging, leading to numerous bugs that affect ZKP circuits in practice, and 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 zk-regex, a cornerstone library in modern ZKP applications. In our case study, we discovered 13 new bugs that have been confirmed by the developers.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9584,
  title = {Towards Fuzzing Zero-Knowledge Proof Circuits (Short Paper)},
  author = {Stefanos Chaliasos and Imam Al-Fath and Alastair Donaldson},
  booktitle = {ISSTA},
  year = {2025},
  doi = {10.1145/3713081.3731718}
}