{
  "id": "2023/190",
  "url": "https://opencryptology.org/2023/190",
  "original_url": "https://eprint.iacr.org/2023/190",
  "title": "Practical Security Analysis of Zero-Knowledge Proof Circuits",
  "authors": [
    "Hongbo Wen",
    "Jon Stephens",
    "Yanju Chen",
    "Kostas Ferles",
    "Shankara Pailoor",
    "Kyle Charbonnet",
    "Isil Dillig",
    "Yu Feng"
  ],
  "affiliations": null,
  "abstract": "As privacy-sensitive applications based on zero-knowledge proofs (ZKPs) gain increasing traction, there is a pressing need to detect vulnerabilities in ZKP circuits. This paper studies common vulnerabilities in Circom (the most popular domain-specific language for ZKP circuits) and describes a static analysis framework for detecting these vulnerabilities. Our technique operates over an abstraction called the circuit dependence graph (CDG) that captures key properties of the circuit and allows expressing semantic vulnerability patterns as queries over the CDG abstraction. We have implemented 9 different detectors using this framework and perform an experimental evaluation on over 258 circuits from popular Circom projects on Github. According to our evaluation, these detectors can identify vulnerabilities, including previously unknown ones, with high precision and recall.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Practical Security Analysis of Zero-Knowledge Proof Circuits” by Hongbo Wen, Jon Stephens, Yanju Chen, Kostas Ferles, Shankara Pailoor, Kyle Charbonnet, Isil Dillig, Yu Feng, Cryptology ePrint Archive, Paper 2023/190, https://eprint.iacr.org/2023/190. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-02-13T21:10:33Z",
    "updated": "2023-08-28T19:04:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/190.pdf",
    "sha256": "bf53649b8b20b5b119e90b16136aa22f93bdf5620e041a5ee0eb6597de97de3f",
    "size": 438823,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/190/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/190.pdf",
      "size": 438823,
      "sha256": "bf53649b8b20b5b119e90b16136aa22f93bdf5620e041a5ee0eb6597de97de3f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/190/versions/20230316T001831Z.pdf",
      "captured_at": "2023-03-16T00:18:31Z",
      "label": "copy captured 2023-03-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230316001831id_/https://eprint.iacr.org/2023/190.pdf",
      "size": 367665,
      "sha256": "d2b5cdeb56aff9c7596fc8158f071fcc8195ba14dbec187524c8e6b86c7e24f7",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250701045845id_/https://eprint.iacr.org/2023/190.pdf",
      "captured_at": "2025-07-01T04:58:45Z",
      "size": 435699
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/190.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 438823
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/190,\n      author = {Hongbo Wen and Jon Stephens and Yanju Chen and Kostas Ferles and Shankara Pailoor and Kyle Charbonnet and Isil Dillig and Yu Feng},\n      title = {Practical Security Analysis of Zero-Knowledge Proof Circuits},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/190},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/190}\n}"
}
