Security Team: The FlashLoanProvider contract of Equalizer Finance is incompatible with the Vault contract, leading to flash loan attacks

星球日报讯 据慢雾区消息,6月7日,Equalizer Finance遭受闪电贷攻击。慢雾安全团队将攻击原理分享如下: 1. Equalizer Finance存在FlashLoanProvider与Vault合约,FlashLoanProvider合约提供闪电贷服务,用户通过调用flashLoan函数即可通过FlashLoanProvider合约从Vault合约中借取资金,Vault合约的资金来源于用户提供的流动性。 2. 用户可以通过Vault合约的provideLiquidity/removeLiquidity函数进行流动性提供/移除,流动性提供获得的凭证与流动性移除获得的资金都受Vault合约中的流动性余额与流动性凭证总供应量的比值影响。 3. 以WBNB Vault为例攻击者首先从PancekeSwap闪电贷借出WBNB 4. 通过FlashLoanProvider合约进行二次WBNB闪电贷操作,FlashLoanProvider会先将WBNB Vault合约中WBNB流动性转给攻击者,随后进行闪电贷回调。 5. 攻击者在二次闪电贷回调中,向WBNB Vault提供流动性,由于此时WBNB Vault中的流动性已经借出一部分给攻击者,因此流动性余额少于预期,则攻击者所能获取的流动性凭证将多于预期。 6. 攻击者先归还二次闪电贷,然后从WBNB Vault中移除流动性,此时由于WBNB Vault中的流动性已恢复正常,因此攻击者使用添加流动性获得凭证所取出的流动性数量将多于预期。 7. 攻击者通过以上方式攻击了在各个链上的Vault合约,耗尽了Equalizer Finance的流动性。 此次攻击的主要原因在于Equalizer Finance协议的FlashLoanProvider合约与Vault合约不兼容。
最热快讯
Liquidated: A whale's $63.97 million BTC and ETH positions on Hyperliquid were liquidated, with a loss of $10.76 million
Odaily reports that according to Onchain Lens monitoring, a whale's BTC and ETH positions worth $63.97 million on Hyperliquid were liquidated 3 hours ago, resulting in a loss of $10.76 million. Its cumulative liquidation loss stands at $16.13 million, with a lifetime loss of $18.52 million. It currently has no open positions.
Chainlink Reserve buys another 106,300 LINK, bringing total purchases to 6.68 million
Odaily reports that according to Onchain Lens monitoring, Chainlink Reserve added 106,300 LINK today, bringing its cumulative purchases to 6.68 million LINK, valued at approximately $75.06 million. Over the past 30 days, Chainlink Reserve purchased 471,200 LINK, valued at approximately $5.36 million.
33 minutes, 4 liquidations: A Hyperliquid whale loses $972,700 but still holds a $16.16 million BTC long with 40x leverage
According to Onchain Lens monitoring, a whale was liquidated 4 times within 33 minutes, with cumulative losses of $972,700. The whale still holds a BTC long position worth $16.16 million with 40x leverage, a liquidation price of $71,119, just 1.07% away from the current price, an unrealized loss of $609,500, and cumulative losses of $1.01 million.
US Media: Nvidia Faces US Department of Justice Antitrust Investigation
Odaily reports that Nvidia (NVDA.O) is facing an antitrust investigation by the US Department of Justice. (US financial news outlet Semafor)
Foreign media: Nvidia's interim CEO does not lead major company decisions
Odaily reports that Nvidia's (NVDA.O) interim CEO is not the leader of the company's major decisions and is not responsible for setting the company's major decision agenda. (The Information)
Nvidia's decline further narrows to 4.24%
According to MSX.COM data, Nvidia's decline has further narrowed to 4.24%, now trading at $166.35, with its market cap returning above $4 trillion.
资讯热榜
日榜
周榜
US stocks close with AI-related stocks broadly higher, CoreWeave up over 24.71%
US stocks opened with mixed results across the three major indices, with Nvidia plunging 13% at the open
About 64% of USD1's circulating supply is held on Binance, with no other exchange holding more than 5%
OKX and ICE to Launch 24/7 Tokenized Stock Trading on November 23
CRWV rose 29.7% in 24 hours
Layoffs and termination of some contractor partnerships, Polymarket confirms restructuring
Rumble sold 198.46 BTC in Q3 and currently holds 94.68 BTC
Wall Street Warns of Nvidia Succession Risk: Stock Could Plunge Over 20% If Huang Renxun Is Forced Out
AGPU surged 16.0% in 24 hours
enter_elysium launched on its first day without UI support, with the Hook ecosystem becoming the primary distribution method