iVest Hack
Reported loss
$190K
Unknown
What happened
On August 12, 2024, an attacker used iVest's custom donation transfer behavior to distort the WBNB/iVest AMM pool's reserve ratio after flash-borrowing WBNB. Verichains estimated the loss at about $172,000; the $190,000 figure shown here comes from a different estimate.
How it happened
- The attacker flash-borrowed WBNB and swapped it for iVest.
- They transferred iVest to the WBNB/iVest pair and invoked
skim(address(0)), causing the token's donation behavior to deduct additional iVest from the pool. - They called
sync()to record the reduced iVest balance as the pool reserve, distorting the reserve ratio. - The attacker swapped remaining iVest back to WBNB at the manipulated price.
Protocol details
Classification
Protocol Logic
Protocol Type
Token
Implementation language
Solidity
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.