Foundations and Trends® in Privacy and Security > Vol 8 > Issue 1

Security Analysis and Formal Verification on Blockchain and its Applications

By Kang Li, CertiK, USA, kang.li@certik.com | Ronghui Gu, Columbia University, USA, rg3123@columbia.edu | Jun Xu, The University of Utah, USA, junxzm@cs.utah.edu | Zhaofeng Chen, CertiK, USA, kang.li@certik.com | Siwei Wu, Zhejiang University, China, wusw1020@zju.edu.cn | Yajin Zhou, Zhejiang University, China and BlockSec, Hong Kong, kang.li@certik.com | Mu Zhang, The University of Utah, USA, kang.li@certik.com | Xiapu Luo, The Hong Kong Polytechnic University, Hong Kong, csxluo@comp.polyu.edu.hk | Yuzhe Tang, Syracuse University, USA, ytang100@syr.edu | Yi Li, Nanyang Technological University, Singapore, yi_li@ntu.edu.sg | Xiaokuan Zhang, George Mason University, USA, xiaokuan@gmu.edu | Yibo Wang, Syracuse University, USA, ywang349@syr.edu

 
Suggested Citation
Kang Li, Ronghui Gu, Jun Xu, Zhaofeng Chen, Siwei Wu, Yajin Zhou, Mu Zhang, Xiapu Luo, Yuzhe Tang, Yi Li, Xiaokuan Zhang and Yibo Wang (2025), "Security Analysis and Formal Verification on Blockchain and its Applications", Foundations and TrendsĀ® in Privacy and Security: Vol. 8: No. 1, pp 1-121. http://dx.doi.org/10.1561/3300000044

Publication Date: 04 Jun 2025
© 2025 K. Li et al.
 
Subjects
Security,  Application security,  Distributed systems security and privacy
 

Free Preview:

Download extract

Share

Download article
In this article:
1. Introduction
2. Problems of Focus
3. Formal Verification
4. Security Analysis
5. Persisting Challenges
6. On the Horizon
References

Abstract

Blockchains have become an integrated part of our finance infrastructures. Being monetary yet fully automated, blockchains and their applications are unanimously deemed impracticable before undergoing necessary verification. This monograph reviews the previous attempts at verifying two fundamental properties of blockchains: correctness (where flaws lead to unintentional damages) and security (where vulnerabilities incur attacks and losses). First, it summarizes and categorizes the correctness and security flaws encountered by real-world blockchains. Second, it systematizes the development of formal verification to address the flaws in blockchains, covering the aspects of models, specifications, and techniques. Third, it unveils the progress of security analysis for mitigating the flaws, unveiling the analysis principles being followed, the flaw oracles being devised, and the detection methods being used. Finally, it summarizes the challenges remaining to be addressed, followed by our vision of the trend in the near future. Throughout this monograph, we anticipate shedding light on future blockchain verification advances, especially in expanding its applicability, making specification generation easier, and discovering previously unknown vulnerabilities. By identifying gaps such as missing tools for infrastructure-level components and the difficulty of writing formal specifications, this work aims to motivate the development of more automated, intelligent, and practical verification frameworks.

DOI:10.1561/3300000044
ISBN: 978-1-63828-568-7
132 pp. $90.00
Buy book (pb)
 
ISBN: 978-1-63828-569-4
132 pp. $160.00
Buy E-book (.pdf)
Table of contents:
1. Introduction
2. Problems of Focus
3. Formal Verification
4. Security Analysis
5. Persisting Challenges
6.On the Horizon
References

Security Analysis and Formal Verification on Blockchain and its Applications

At its core, blockchain is a distributed database that maintains a continuously growing list of records, called blocks, which are securely linked using cryptographic techniques. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data, making it virtually tamper-proof and resistant to modification. This structure ensures that once a block is added to the chain, the information it contains is immutable and can be trusted by all participants in the network. Blockchains have become an integrated part of our financial infrastructures. Being monetary yet fully automated, blockchain and its applications are unanimously deemed impracticable before undergoing necessary verification.

This monograph reviews the previous attempts at verifying two fundamental properties of blockchains: correctness and security. First, it summarizes and categorizes the correctness and security flaws encountered by real-world blockchains. Second, it systematizes the development of formal verification to address the flaws in blockchains, covering the aspects of models, specifications, and techniques. Third, it unveils the progress of security analysis for mitigating the flaws, unveiling the analysis principles being followed, the flaw oracles being devised, and the detection methods being used. Finally, the monograph summarizes the remaining challenges and visions of the trend in the near future.

Throughout this monograph, future blockchain verification advances are identified, especially in expanding its applicability, making specification generation easier, and discovering previously unknown vulnerabilities. By identifying gaps such as missing tools for infrastructure-level components and the difficulty of writing formal specifications, this monograph aims to motivate the development of more automated, intelligent, and practical verification frameworks.

 
SEC-044