Cointime

Download App
iOS & Android

Ankr: Will Use Reserves to Compensate Liquidity Providers for aBNBc Pools

Validated Project

Cointime staff: Ankr, a decentralized finance (DeFi) protocol on the BNB chain, has been hit with a $5 million exploit. A total of 10 trillion aBNBc was minted and later swapped by the attacker for 4,050,500 USDC and 5,000 BNB tokens.  Ankr announced that they will use reserves to compensate liquidity providers for the aBNBc pools.

The aBNBc Token Report: Security Updates Applied & Compensation for Affected LPs

Ankr identified a hack on Dec. 1st, in which malicious actors accessed the developer private key and altered the smart contract for our BNB liquid staking token (aBNBc). After internal research and assessment, we estimate the damage to be $5m worth of BNB across liquidity pools in various DEXes. Ankr has already restored security and will promptly compensate affected liquidity providers.

“Thanks to the fast actions from the Ankr team and various protocols, we were able to minimize any damage done extremely quickly. Hacks and exploits from bad actors like this are an unfortunate possibility in Web3, even with every attention to detail in security processes – but we were well prepared. Unlike previous events in the space this year, we are doing the right thing by our community and ensuring that this is taken care of immediately with lost funds restored.”

– Chandler Song, Co-Founder & CEO, Ankr

What happened?

The exploiter was able to leverage the smart contract for the aBNBc token to create an infinite amount of this token and then exchange it for USDC. The aBNBc token represents a staked version of Binance's BNB token that earns rewards from validation efforts.

The aBNBb smart contract was safe from third-party minting prior to the attack, however, the attacker was able to obtain access to the deployer key. The attacker then uploaded a new aBNBb contract that included an extra method to mint without authorization checks. The attacker minted an excess of aBNBb out of thin air and rapidly moved to swap it out for other tokens on decentralized exchanges.

The address 0xf3a used the infinite mint bug in Ankr's contract code to mint a total of 60 trillion aBNBc across 6 different transactions. The attacker was able to swap some for the stablecoin USDC and began moving them off of the Binance Smart Chain and onto Ethereum before the transactions were flagged. The Ankr team confirmed that the losses incurred are in the region of $5 million in BNB. No other liquid staking tokens or Ankr products have been affected. Likewise, Ankr’s validators, RPC API, and AppChain services continue to operate without any disruptions.

As this occurred, Ankr simultaneously:

  1. Alerted known off-ramps to implement their emergency plans (minimum: halt trading)
  2. Secured the smart contracts with a new key to prevent any further tampering.
  3. Updated smart contracts and systems to temporarily pause the movement of the underlying collateral (BNB) to be safe.

What are the next steps for Ankr?

The team at Ankr is working hard to resolve this issue completely and efficiently. We have taken the necessary steps to offset the loss of funds and resolve the attack.

  • We are identifying all those who provided liquidity to DEXes and all protocols supporting aBNBc or aBNBb LP, as well as aBNBc collateral pools (Midas, Helio) and we will notify all affected parties.
  • Ankr will purchase $5 million worth of BNB and use this to compensate the liquidity providers that have been affected by the exploit due to the drainage of liquidity pools. We understand diluted aBNBc was speculatively traded after the exploit occurred, but we are only able to compensate LP’s caught off guard by the event.
  • We are discontinuing aBNBc and aBNBb tokens effective immediately, and new ankrBNB tokens will be minted and airdropped to affected aBNBc and aBNBb users.
  • We will use a snapshot and airdrop the newly-released ankrBNB tokens to all valid aBNBc holders before the snapshot. User collateral is safe with all of BNB collateral.

What should you do as a user?

To mitigate risks, Ankr is issuing the following guidelines for liquidity providers:

  1. Do not trade aBNBc or speculatively buy it at a discount.
  2. Remove liquidity from DEXes if you are a liquidity provider (and retain the aBNBc token).
  3. Our snapshot taken on Dec-02-2022 12:43:18 AM +UTC will identify you if you are an affected LP.
  4. Wait for the ankrBNB airdrop, which will be proportional to the amount of aBNBc and aBNBb that you held. ankrBNB will be redeemable against staked BNB.

This action plan allows the team at Ankr to more rapidly restore value to legitimate token holders while also accelerating the planned migration to an upgraded contract.

At this stage, all necessary precautions are being taken to promptly resolve the situation and restore lost capital. As mentioned, Ankr will purchase $5m worth of BNB to compensate previous liquidity providers that have been affected by the exploit due to the drainage of liquidity pools.

Ankr understands the concern this has created within the community and will continue working to mitigate the situation and prevent future similar incidents.

Please note that, at this time, all user funds and underlying staked assets are safe. All aBNB users will retain their positions from before, including staked LP Tokens in Farms and accumulation of rewards during that time for doing so.

Comments

All Comments

Recommended for you

  • Philippines central bank approves peso stablecoin pilot

    The Philippines central bank has authorized Coins.ph to initiate a pilot program for a new Philippine Peso-backed stablecoin, PHPC, under its Regulatory Sandbox Framework. This pilot aims to integrate PHPC into significant remittance channels to enhance the efficiency of transactions within the substantial Philippine remittance market. Coins.ph plans to launch the stablecoin by early June, following comprehensive real-world application testing to potentially achieve full regulatory approval.

  • The Sonne Finance hacker address has exchanged 56 WBTC into about 1,185 ETH

    According to PeckShield's monitoring, Sonne Finance hacker address 0x6277...4c07 has exchanged 56 WBTC for approximately 1,185 ETH and 3 WBTC for 183,000 DAI.

  • ECB Governing Council: We are likely to start cutting interest rates in June

    ECB committee member Villeroy stated that it is very likely that we will begin cutting interest rates in June.

  • Former FTX executive Ryan Salame asks court for leniency, sentences him to 18 months in prison

    According to a sentencing memorandum submitted on Tuesday, former FTX executive Ryan Salame pleaded guilty in September of last year to conspiring to make illegal political contributions and conspiring to operate an unlicensed money transmission business. His lawyer requested leniency from the court and for him to serve an 18-month sentence. While working at FTX and Alameda, Salame managed wire deposits and fiat currency exchanges for FTX clients, used Alameda funds to make political contributions, and led charity efforts in the Bahamas.

  • Hong Kong police arrested a 1 million USDT fraud gang and seized 3,000 ghost coins

    According to a report from Sing Tao Daily, Hong Kong police received a report from a 35-year-old man on April 12th, claiming that he was unable to recover cash after reselling approximately 1 million yuan worth of virtual currency USDT in a shop in Tsim Sha Tsui and suspected that he had been deceived.After an investigation by the Technology and Wealth Crime Group of the Yau Tsim Police District, the police launched an operation in multiple areas of Hong Kong on May 13th and arrested three local men aged between 31 and 34 years old, who were suspected of obtaining property by deception.The police found 3,000 fake banknotes, a money clip and a counting machine in the shop. The investigation showed that the arrested men showed the victim fake banknotes and asked him to transfer virtual currency to a designated wallet, and then refused to hand over the cash for various reasons, resulting in the victim losing approximately 1 million yuan worth of virtual currency.

  • Yesterday, Tether issued $110 million USDT and redeemed $23 million USDT

    According to ChainArgos monitoring, on May 14th, Tether issued a total of 110 million USDT and redeemed 23 million USDT.

  • El Salvador Launches Bitcoin-Based Financing for New Airport Hotel

    El Salvador has launched the announcement of Bitcoin financing for the vacation hotel at San Salvador International Airport, with a target financing goal of $6.25 million. The funds will be used to build a five-story facility covering 4,484 square meters, with 80 guest rooms, commercial space, swimming pool, and other facilities. The hotel is located inside the airport, making it the only hotel service provider in the area. The minimum investment amount for this investment opportunity is $1,000, with 6,250 tokens available for selection, each token paying a 10% annual yield every six months. The project is supervised by Inversiones Laguardia SA de CV and promoted through Bitfinex Securities.

  • US Bitcoin ETF holds nearly $60 billion worth of BTC

    As monitored by HODL15Capital, the value of Bitcoin held by US Bitcoin ETFs is currently close to $60 billion. This week, a total of 2,667 Bitcoins were purchased. Grayscale GBTC is the only ETF with net outflows.

  • Sonne Finance: This attack was a donation attack. We are investigating the attacker and have suspended the market.

    Sonne Finance released an attack analysis report. This was a donation attack. Sonne had avoided this problem in the past by adding a collateral factor of 0% to the market, adding collateral and then destroying it, and only then increasing c-factors according to the proposal. Sonne recently passed a proposal to add the VELO market to Sonne. This transaction was arranged on a multi-signature wallet, and c-factors were arranged to be executed within 2 days due to the time lock. When the 2-day time lock for creating the market ended, the attacker executed 4 of the transactions and then executed the transaction to add c-factors to the market. The attacker was able to use the protocol to obtain approximately $20 million in funds through a known donation attack. Seal contributors quickly noticed this issue and reserved approximately $6.5 million by adding VELO worth approximately $100 to the market. Sonne is investigating the attacker and has suspended the market to mitigate further losses. Sonne is prepared to offer a bounty to the attacker and promises not to pursue the issue further if the attacker returns the funds.

  • Sonne Finance confirms attack, but still has about $6.5 million in funds

    On May 15th, Sonne Finance announced that its Optimism protocol had suffered a known donation attack, resulting in a loss of approximately $20 million. The attack exploited a vulnerability in the newly launched market and within two days of its creation, the attacker used a multi-signature wallet and time-lock function to execute critical transactions, successfully manipulating the market's collateral factors (c-factors). Despite Sonne's team quickly organizing a response to the attack and suspending the market within 25 minutes of discovering the issue to minimize further losses, approximately $6.5 million in funds were still retained. Sonne's team is working hard to track down the identity of the attacker and has offered a bounty to the attacker in the hopes of returning the funds to avoid further investigation. At the same time, Sonne's team sincerely apologizes for this incident and is reaching out to all possible partners to try to recover the funds.