Cointime

Download App
iOS & Android

An Account of the Recent White Hat Attack on DeFi Protocol Tender.fi

Validated Project

In the latest development in the world of Decentralized Finance (DeFi), Tender.fi, a DeFi lending protocol, fell victim to a white hat attack. The alleged ethical hacker behind the attack had managed to drain a whopping $1.6 million from the platform, forcing the service to halt borrowing while it attempts to recover its assets.

The attack, which took place on Mar-07-2023 at 08:21:38 AM +UTC, has caused significant concern among the DeFi community. According to Numen Cyber’s on-chain monitoring, the attacker siphoned 198 ETH, 541700 USDC, 16 WBTC, 8798 UNI, 50011 DAI, 36700 USDT, 24975 FRAX, and 16,203 LINK, causing the native token of the Tender.fi (TND) project to fall by over 30% before recovering slightly after the recovery of funds.

Timeline of Events

Tender.fi confirmed an incident on March 7th that led to the depletion of funds after various community users raised concerns. Tender.fi took to Twitter to acknowledge the issue and announced that they were investigating an unusually high amount of borrows, which led to the depletion of funds. As a result, the platform temporarily halted all borrowing activities until the investigation was complete.

The native token of Tender.fi (TND) plummeted over 30% in response to news of a suspected black hat hacking incident. The market reacted swiftly, with investors reacting to the news of the platform’s loss of funds.

Vulnerability Details

The attack on Tender.fi has exposed a critical flaw in the platform’s smart contract code, specifically its price oracle, which allowed the attacker to exploit the system and make off with $1.6 million worth of cryptocurrencies. The attacker was able to obtain tGMX tokens by purchasing them with initial funds and then proceeded to borrow using the tETH.borrow method. However, the borrowing process had an error in the price calculation, specifically in the GMXPriceOracle.getUnderlyingPrice method.

The initial price was multiplied by both 1e20 and 1e10, resulting in a significant increase in the price of tGMX tokens. This allowed the attacker to borrow large sums of money, which eventually led to the loss of millions of dollars in funds for Tender.fi.

Attacker’s address:

https://arbiscan.io/address/0x896DF3759205C141c97640B2B7345FA479FEB1aB

Transaction:

https://arbiscan.io/address/0x896DF3759205C141c97640B2B7345FA479FEB1aB

Transaction Details

Post-Mortem

Tenderfi has rewarded a bounty of 62 ETH, which is approximately 6% of the exploited funds, to the White Hat. This amount is consistent with the industry standard for rewarding white hats who find and report security vulnerabilities. The White Hat who discovered the exploit promptly notified the Tenderfi team, who then worked quickly to repay the exploited funds.

Following the transaction’s completion, Tender.fi took to Twitter to confirm that their funds were officially secure. The platform also announced that it would conduct a post-mortem analysis of the attack to identify areas of improvement and prevent similar incidents in the future. Their native token, TND has since bounced back slightly since the recovery of funds.

Conclusion

The swift and cooperative response from both the White Hat and the Tenderfi team is highly commendable. This type of collaboration between security researchers and blockchain companies is critical to creating a safer and more secure ecosystem.

Comments

All Comments

Recommended for you

  • ETH breaks through $3100

    the market shows ETH breaking through $3100, currently at $3100.29, with a 24-hour increase of 1.74%. The market is highly volatile, please manage your risks accordingly.

  • BTC breaks through $91,000

     the market shows BTC breaking through $91,000, currently at $91,011.99, with a 24-hour increase of 1.78%. The market is highly volatile, please manage your risk accordingly.

  • BTC breaks $90,000

    market shows BTC breaking through $90,000, currently at $90,009.99, the 24-hour decline narrowed to 0.57%, market volatility is high, please manage your risk properly.

  • The US spot Bitcoin ETF saw a net inflow of $54.8 million yesterday.

    according to data monitored by Farside Investors, the US spot Bitcoin ETF had a net inflow of 54.8 million USD yesterday.

  • The US spot Ethereum ETF saw a net outflow of $75.2 million yesterday.

     according to data monitored by Farside Investors, the US spot Ethereum ETF had a net outflow of 75.2 million USD yesterday.

  • Economists expect the Federal Reserve to cut interest rates in December, with two more cuts possible in 2026.

    according to economists surveyed, Federal Reserve officials are expected to vote next week to cut interest rates again to guard against the rising risk of a sharp deterioration in the labor market. The median of respondents shows that the Fed is expected to implement two more 25 basis point rate cuts within the year starting from March 2026. Next week's rate cut will continue the momentum of rate cuts from the policy meetings in September and October. A considerable majority also expect Fed officials to once again reiterate the statement that "the downside risks to employment have increased in recent months," as they did in October. The Federal Reserve will announce its decision at 2 PM Washington time on December 10, followed by a press conference held by Chairman Jerome Powell.

  • Bank of America: Markets will soon digest expectations of a Fed rate cut in January.

    Bank of America stated the market may soon price in the Federal Reserve's rate cut expectation in January. (Jin10)

  • He Lifeng held a video call with U.S. Treasury Secretary Bessant and Trade Representative Greer.

    He Lifeng, China's lead for China-US economic and trade relations and Vice Premier of the State Council, held a video call with the US leads, Treasury Secretary Janet Yellen and Trade Representative Katherine Tai. The two sides had in-depth and constructive exchanges on implementing the important consensus reached by the Chinese and US heads of state at the Busan meeting and the November 24 call, focusing on carrying out pragmatic cooperation and properly addressing mutual concerns in the economic and trade field. Both sides positively evaluated the implementation of the outcomes of the China-US economic and trade consultations in Kuala Lumpur, stating that under the strategic guidance of the two heads of state, they will continue to make good use of the China-US economic and trade consultation mechanism, continuously extend the cooperation list, reduce the list of issues, and promote the sustained, stable, and positive development of China-US economic and trade relations. 

  • Hassett: No discussion with US President Trump regarding the Federal Reserve Chair (selection)

    Director of the White House National Economic Council, Hassett, stated: He has not discussed the Federal Reserve Chair (candidate) issue with U.S. President Trump and supports Bassett's views on the Federal Reserve Chair. 

  • White House National Economic Council Director Hassett: It's Time for the Fed to Cautiously Cut Interest Rates

    White House National Economic Council Director Hassett stated: It is time for the Federal Reserve to cautiously cut interest rates.