• Hacken
  • Blog
  • Case Studies
  • Gate.io’s Proof of Reserves Security Assessment: Elevating Crypto Standards and Trust

Gate.io’s Proof of Reserves Security Assessment: Elevating Crypto Standards and Trust

3 minutes

One of the biggest crypto exchanges in the world Gate.io has recently upgraded its Proof of Reserves (PoR) to include zero-knowledge technology, marking an important step toward enhanced financial transparency. Hacken has conducted an independent third-party assessment to evaluate Gate.io’s Proof of Reserves newest implementation, scrutinizing it for vulnerabilities to known attacks or malicious code.

The move is particularly significant in the post-FTX landscape, where most exchanges don’t provide 100% capital reserve. With this initiative, Gate.io raises the bar for the transparency of digital assets among centralized exchanges.

We’re grateful for Hacken’s thorough and diligent security review, leaving no stone unturned. Ensuring the integrity of our PoR is a commitment not only to user asset safety but also to the entire blockchain industry. Hacken plays an important role in fortifying this commitment and ensuring we continually set the bar high.”
– Dr. Lin Han, Founder and CEO of Gate.io, as reported on Cryptonews.com

Technology & Implementation

Gate.io’s original implementation of PoR, forked from Binance’s “zkmerkle-proof-of-solvency,” underwent significant modifications in structure, dependency management, and cryptographic frameworks since 2020.

The most critical enhancement was the addition of zk-SNARK verification, which eliminated the weakness in the previous implementation that could have allowed the inclusion of fabricated accounts with negative balances, potentially altering data accuracy.

The project uses the following cryptographic frameworks and structures: 

  • A fork of GNARK – to construct cryptographic circuits.
  • Poseidon hash function with the BN254 curve – for hashing user data and the Sparse Merkle Tree (SMT) structure.
  • BSMT library – for implementing the SMT with a maximum depth of 28, enabling the Proof Of Solvency system to accommodate over 250 million users.

See Gate.io’s Proof of Reserves implementation on GitHub or read more about it here.

Findings & Recommendations

Assessment Team

The Proof of Reserves Implementation Security Assessment was led by Luciano Ciattaglia, Hacken’s Director of Services and a renowned expert in cryptology, alongside lead auditors Sofiane Akermoun, Nino Lipartiia, and Bartosz Barwikowski.


The team conducted a thorough analysis of Gate.io’s documentation, repository codebase, code structure, and architectural quality, along with examining new release tags and functionalities. We performed extensive checks against known vulnerabilities, including verification through checksum validation for all 1157 dependencies. The primary objective of this assessment was to evaluate the code for vulnerabilities to known attacks or malicious code and to verify the absence of issues in build processes, deployment, and architectural design.


The Hacken team’s assessment revealed no critical-, high-, medium-, or low-severity vulnerabilities. We found several informative issues:

  • Merkle root hash integrity: It was recommended that the Merkle root should be signed by a trusted third-party auditor or published on the blockchain for verifiability​​.
  • Outdated GNARK version: Updating to the latest GNARK version was strongly recommended to mitigate security risks and efficiency drawbacks​​.


Overall, the project is a testament to a strong foundation in cryptographic implementation and exceptional code organization. Its current state reflects a well-considered balance between functionality and complexity, offering a comprehensive setup for users with its detailed documentation and provided sample data. The project’s existing framework and features already contribute significantly to the field, demonstrating a clear understanding and application of key principles in blockchain technology and cryptographic systems.

The full report is public and can be accessed at https://hacken.io/audits/gate.io


Gate.io’s PoR implementation sets a new benchmark in the blockchain and cryptocurrency industry. It exemplifies a commitment to transparency and trust for all of its 14M+ users. The 100% Proof of Reserves commitment, as well as a subsequent third-party security assessment of the implementation, offers a blueprint for other digital asset exchanges to enhance their security and integrity.

to our newsletter

Be the first to receive our latest company updates, Web3 security insights, and exclusive content curated for the blockchain enthusiasts.

Speaker Img

Table of contents

  • Technology & Implementation
  • Findings & Recommendations
  • Conclusions

Tell us about your project

Follow Us

Read next:

More related

Trusted Web3 Security Partner