English

Security Analysis of Filecoin's Expected Consensus in the Byzantine vs Honest Model

Cryptography and Security 2023-08-15 v1

Abstract

Filecoin is the largest storage-based open-source blockchain, both by storage capacity (>11EiB) and market capitalization. This paper provides the first formal security analysis of Filecoin's consensus (ordering) protocol, Expected Consensus (EC). Specifically, we show that EC is secure against an arbitrary adversary that controls a fraction β\beta of the total storage for βm<1e(1β)m\beta m< 1- e^{-(1-\beta)m}, where mm is a parameter that corresponds to the expected number of blocks per round, currently m=5m=5 in Filecoin. We then present an attack, the nn-split attack, where an adversary splits the honest miners between multiple chains, and show that it is successful for βm1e(1β)m\beta m \ge 1- e^{-(1-\beta)m}, thus proving that βm=1e(1β)m\beta m= 1- e^{-(1-\beta)m} is the tight security threshold of EC. This corresponds roughly to an adversary with 20%20\% of the total storage pledged to the chain. Finally, we propose two improvements to EC security that would increase this threshold. One of these two fixes is being implemented as a Filecoin Improvement Proposal (FIP).

Keywords

Cite

@article{arxiv.2308.06955,
  title  = {Security Analysis of Filecoin's Expected Consensus in the Byzantine vs Honest Model},
  author = {Xuechao Wang and Sarah Azouvi and Marko Vukolić},
  journal= {arXiv preprint arXiv:2308.06955},
  year   = {2023}
}

Comments

AFT 2023