Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

zkCraft: Prompt-Guided LLM as a Zero-Shot Mutation Pattern Oracle for TCCT-Powered ZK Fuzzing

About

Zero-knowledge circuits enable privacy-preserving and scalable systems but are difficult to implement correctly due to the tight coupling between witness computation and circuit constraints. We present zkCraft, a practical framework that combines deterministic, R1CS-aware localization with proof-bearing search to detect semantic inconsistencies. zkCraft encodes candidate constraint edits into a single Row-Vortex polynomial and replaces repeated solver queries with a Violation IOP that certifies the existence of edits together with a succinct proof. Deterministic LLM-driven mutation templates bias exploration toward edge cases while preserving auditable algebraic verification. Evaluation on real Circom code shows that proof-bearing localization detects diverse under- and over-constrained faults with low false positives and reduces costly solver interaction. Our approach bridges formal verification and automated debugging, offering a scalable path for robust ZK circuit development.

Rong Fu, Jia Yee Tan, Wenxin Zhang, Youjin Wang, Ziyu Kong, Zeli Su, Zhaolu Kang, Shuning Zhang, Xianda Li, Kun Liu, Simon Fong• 2026

Related benchmarks

TaskDatasetResultRank
Bug DetectionCircom Benchmarks Large All
TP17
7
Bug DetectionCircom Benchmarks Large - ZKAP
TP2
7
Bug DetectionCircom Benchmarks Very Large - All
TP6
7
Bug DetectionCircom Benchmarks Very Large - ZKAP
TP5
7
Bug DetectionCircom Benchmarks Total - All
TP88
7
Bug DetectionCircom Benchmarks Total - ZKAP
True Positives27
7
Bug DetectionCircom Benchmarks Small - All
True Positives58
7
Bug DetectionCircom Benchmarks Small - ZKAP
True Positives20
7
Bug DetectionCircom Benchmarks Medium - All
TP7
7
Bug DetectionCircom Benchmarks Medium - ZKAP
TP0.00e+0
7
Showing 10 of 15 rows

Other info

Follow for update