针对零知识电路的处理流水线模糊测试
Fuzzing Processing Pipelines for Zero-Knowledge Circuits
AI总结:
本文提出首个针对零知识电路处理流水线的系统性模糊测试技术,基于蜕变测试预言检测逻辑漏洞,实现为开源工具Circuzz,在4个不同ZK流水线中发现16个漏洞,其中15个已被修复。
摘要:
零知识(ZK)协议近年来已在身份认证、在线投票、区块链系统等诸多领域得到实际应用。这类协议由高度复杂的处理流水线驱动,这些流水线处理被称为电路的确定性程序,这类电路由多种领域特定编程语言编写,例如Circom、Noir等。电路处理流水线中的逻辑漏洞可能引发灾难性后果,造成严重的经济与声誉损失。例如,ZK流水线中的逻辑漏洞可能导致攻击者窃取身份或资产。因此,开发有效技术验证其正确性至关重要。\n 本文提出了首个针对ZK流水线的系统性模糊测试技术,该技术利用蜕变测试预言检测关键逻辑漏洞。我们将该技术实现为开源工具Circuzz。我们使用Circuzz测试了4个差异显著的ZK流水线,在所有流水线中共发现16个逻辑漏洞。鉴于其严重性,我们报告的漏洞中已有15个被流水线开发者修复。
英文摘要:
Zero-knowledge (ZK) protocols have recently found numerous practical applications, such as in authentication, online-voting, and blockchain systems. These protocols are powered by highly complex pipelines that process deterministic programs, called circuits, written in one of many domain-specific programming languages, e.g., Circom, Noir, and others. Logic bugs in circuit-processing pipelines could have catastrophic consequences and cause significant financial and reputational damage. As an example, consider that a logic bug in a ZK pipeline could result in attackers stealing identities or assets. It is, therefore, critical to develop effective techniques for checking their correctness. In this paper, we present the first systematic fuzzing technique for ZK pipelines, which uses metamorphic test oracles to detect critical logic bugs. We have implemented our technique in an open-source tool called Circuzz. We used Circuzz to test four significantly different ZK pipelines and found a total of 16 logic bugs in all pipelines. Due to their critical nature, 15 of our bugs have already been fixed by the pipeline developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。