DeFi Project Bancor Hacks Own Protocol to Save Funds at Risk from Security Vulnerability

  • Yet another DeFi project faces security risk.
  • On June 17, around 12:00 am GMT, the on-chain liquidity protocol Bancor Network was vulnerable to fund loss.

San Francisco-based Hex Capital reported that “User funds being drained due to unauthenticated safeTransferFrom() function on their new BancorNetwork contract.” Bancor then tried to “white-hat” drain user funds but were too late.

However, as per Bancor’s official response on the security incident all funds are safe as they were successful in the white-hat attack and migrated $455,349 of funds at risk to a safe wallet.

The team discovered the vulnerability in the new version of BancorNetwork v0.6 contract, which was deployed the day before the attack.

The contracts mistakenly made a safeTransferFrom function in the Bancor Network contract public, which use allowance to interact with user wallets, a common practice used by most Dapps.

In this particular case, a private function was made public when it should have been restricted to the contract alone, allowing anyone to transfer tokens which were approved only for the contract to transfer, explained the team.

After the successful white-hat attack, Bancor pushed a new network contract and removed the infinite approval.

However, two arbitrage bots detected the income transactions and made a profit of $135, 229 by front-running the transactions. Bancor is currently in contact with the bots’ owners to “return the amounts to the rightful owners in exchange for a bug bounty.”

Bancor also awarded a bug bounty to DEX Aggregator 1inch team for helping with the situation.

Trading is now back to normal on the system.

The incident however pushed Bancor (BNT) token prices down by 6.64% to $0.778 while other DeFI tokens are enjoying substantial greens. BNT is still up 227% YTD.

Security research manager Tal Be’ery, co-founder or ZenGo said he warned about the risks of the approval exploit three months ago.

This is not the first time a DeFi project has been at security risk. In 2020, there have been several cases where millions have been lost calling for the projects in the DeFi space to better their security standards.

Meanwhile, Melody He, co-founder of The Spartan Group, a crypto hedge fund which is an active investor in Defi maintains,

“Defi will become source of new revenue and inspiration. Whoever understands the power of Defi, will have a higher chance of keeping their competitive edge.”

Get Daily Headlines

Enter Best Email to Get Trending Crypto News & Bitcoin Market Updates

What to Know More?

Join Our Telegram Group to Receive Live Updates on The Latest Blockchain & Crypto News From Your Favorite Projects

Join Our Telegram

Stay Up to Date!

Join us on Twitter to Get The Latest Trading Signals, Blockchain News, and Daily Communication with Crypto Users!

Join Our Twitter

Add comment

E-mail is already registered on the site. Please use the Login form or enter another.

You entered an incorrect username or password

Sorry, you must be logged in to post a comment.
Bitcoin Exchange Guide