Skip to content

UCSB-PLSE/ZKAP

 
 

Repository files navigation

ZKAP

A serial of static analysis detectors of ZK bugs.

Installation From Docker

This docker file is built on Ubuntu 20.04, X86_64 platform. It requires a free disk of around 100 GB and free memory of around 32 GB. If your machine doesn't have those resources, you could modify line 23 of the Dockerfile to use only one parallel for LLVM linking.

docker build -t zkap:latest .
docker run -it zkap

Usage

To reproduce the evaluation of ZKAP paper:

python ./eval.py

Because of new bugs introduced by LLVM and Circom updates, a few benchmarks (around 10) are broken, we will fix them later.

To test on your own circuits:

python ./eval_detect.py --help
python ./eval_detect.py -i ./project -o ./output

Dataset

Google Sheet

Citation

This paper is accepted by USENIX Security '24 Pre-print version TODO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Circom 74.5%
  • Rust 11.4%
  • TypeScript 4.3%
  • JavaScript 4.1%
  • Jupyter Notebook 2.3%
  • Solidity 1.5%
  • Other 1.9%