Web3 infrastructure firm Jump Crypto has alerted Binance to a vulnerability in the BNB Beacon Chain that would have allowed for an infinite mint of tokens.
The issue was reported privately to the BNB team on 8 February and patched within 24 hours, according to a blog post from 10 February. The post said that, if exploited, the vulnerability could have led to a “large loss of funds”.
The vulnerability would have allowed for an attacker to make a malicious transfer, resulting in designated addresses receiving a far greater sum of BNB tokens than were initially sent.
Jump Crypto explained: “Bugs that allow infinite minting of native assets are some of the most critical vulnerabilities in web3. As such, this finding is proof that we all must stay vigilant and collaborate to elevate security assurances across all projects.“
According to the report, the BNB Chain is made up of two blockchains: the Ethereum Virtual Machine-compatible Smart Chain, based on an Ethereum fork, and the Beacon Chain, built with Tendermint and Cosmos SDK.
However, the Beacon Chain uses a BNB fork with a number of changes specific to Binance. Jump Crypto said: “It deviates from the Cosmos SDK upstream in several ways, motivating us to take extra care in reviewing the differences.”
Jump Crypto recently initiated an industry-wide research drive aimed at unearthing and correcting web3 vulnerabilities across projects through coordinated cooperation.
The BNB team patched the issue using overflow-resistant arithmetic methods for the SDK coin type. The fix could result in a golang panic and a transaction failure if the coin calculation overflows.
Binance CEO, Changpeng ‘CZ’ Zhao, thanked the Jump Crypto team publicly on Twitter following their report of the bug.
BNB Chain is the native blockchain behind the world’s most popular crypto exchange, Binance.
Want to learn more about blockchain from industry leaders? Check out Blockchain Expo taking place in Amsterdam, California and London.
Explore other upcoming enterprise technology events and webinars powered by TechForge here.