Practical analysis of zero-knowledge proof implementations: performance, vulnerabilities, attacks, defenses, and integrations
File(s)
Author(s)
Chaliasos, Stefanos
Type
Thesis or dissertation
Abstract
Zero-knowledge proofs (ZKPs), particularly succinct non-interactive arguments of knowledge (SNARKs), have transitioned from theoretical cryptographic constructs to essential components of modern systems.
Their adoption spans privacy-preserving transactions, digital identity, data attestation, and the scalability of blockchain infrastructure.
Although the cryptographic foundations of ZKPs have been extensively studied, many of the practical challenges associated with implementing and deploying them securely and efficiently remain underexplored.
This thesis presents a comprehensive, systems-oriented investigation of the security, performance, and deployment challenges of ZKP implementations in practice.
First, we conduct the first systematization of vulnerabilities affecting real-world SNARK-based systems, introducing a holistic taxonomy of implementation-level bugs and proposing defense strategies.
We complement this with a novel application of fuzz testing to ZKP circuits, and propose a technique that could detect vulnerabilities that elude static analysis and formal verification.
Second, we design and execute a benchmarking methodology for validity proof (ZK-)Rollups, Layer-2 blockchain solutions that rely on SNARKs for integrity to scale blockchains.
Our performance analysis reveals concrete trade-offs in proving cost, latency, and data availability overheads across leading rollups.
Finally, we examine the broader deployment-level security challenges ZKPs face when used in complex systems.
Through formal modeling and mechanism design analysis, we identify architectural flaws and incentive misalignments in current rollups, including novel denial-of-service and pricing attacks.
We propose improved architectures and transaction fee mechanisms to mitigate these threats.
Together, these contributions advance the state-of-the-art in understanding and securing real-world ZKP systems.
By focusing on implementation-level details, infrastructure flaws, performance bottlenecks, and deployment security risks, this thesis aims to support the safe adoption of ZKPs in mainstream applications.
Their adoption spans privacy-preserving transactions, digital identity, data attestation, and the scalability of blockchain infrastructure.
Although the cryptographic foundations of ZKPs have been extensively studied, many of the practical challenges associated with implementing and deploying them securely and efficiently remain underexplored.
This thesis presents a comprehensive, systems-oriented investigation of the security, performance, and deployment challenges of ZKP implementations in practice.
First, we conduct the first systematization of vulnerabilities affecting real-world SNARK-based systems, introducing a holistic taxonomy of implementation-level bugs and proposing defense strategies.
We complement this with a novel application of fuzz testing to ZKP circuits, and propose a technique that could detect vulnerabilities that elude static analysis and formal verification.
Second, we design and execute a benchmarking methodology for validity proof (ZK-)Rollups, Layer-2 blockchain solutions that rely on SNARKs for integrity to scale blockchains.
Our performance analysis reveals concrete trade-offs in proving cost, latency, and data availability overheads across leading rollups.
Finally, we examine the broader deployment-level security challenges ZKPs face when used in complex systems.
Through formal modeling and mechanism design analysis, we identify architectural flaws and incentive misalignments in current rollups, including novel denial-of-service and pricing attacks.
We propose improved architectures and transaction fee mechanisms to mitigate these threats.
Together, these contributions advance the state-of-the-art in understanding and securing real-world ZKP systems.
By focusing on implementation-level details, infrastructure flaws, performance bottlenecks, and deployment security risks, this thesis aims to support the safe adoption of ZKPs in mainstream applications.
Version
Open Access
Date Issued
2025-06-16
Date Awarded
2025-08-01
Copyright Statement
Attribution-NonCommercial 4.0 International Licence (CC BY-NC)
License URL
Advisor
Livshits, Benjamin
Donaldson, Alastair
Publisher Department
Department of Computing
Publisher Institution
Imperial College London
Qualification Level
Doctoral
Qualification Name
Doctor of Philosophy (PhD)
