dForce Hack

Reported loss $3.6M
Arbitrum Optimism
Oracle Issue

What happened

On February 10th, the dForce protocol was exploited, and the attacker made a profit worth 3.65 million dollars.

On February 10th, the DeFi aggregator platform dForcenet was attacked and the attacker made a profit of approximately $3.65 million. The attacker used flashloans to borrow WETH and swapped it into ETH, then added liquidity to the wstETH/ETH pool on Curve, earning wstETHCRV tokens. They deposited some of the tokens in the Curve wstETHCRV-gauge, receiving wstETHCRV-gauge tokens, which were used to deposit in the dForce wstETH/ETH Vault and mint share tokens and USX tokens.

The attacker then removed liquidity using the remove_liquidity function, which triggered the fallback function of the attack contract, ultimately decreasing the virtual price in the wstETH/ETH pool. The attacker then liquidated other users in the dForce wstETH/ETH Vault, profiting from the manipulated virtual price. The hacked funds are still in the attacker's address as of now.

The root cause was the attacker's exploitation of the process of transferring native tokens before burning LP when removing liquidity in the wstETH/ETH Pool, triggering the callback for receiving native tokens to manipulate virtual prices and liquidate other users for profit.

Exploit TXs:

Tx 0x6c19…ba0d

Tx

Protocol details

Classification Yield Aggregator / Protocol Logic / Reentrancy
Protocol Type Lending
Affected asset / contract DF
Implementation language Solidity
Protocol links Website @dForcenet

Security review history

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.