Sovryn Hack

Reported loss $1.1M
Rsk
Flashloan Reentrancy Attack

What happened

On October 4, 2022, an attacker exploited Sovryn's iRBTC and iUSDT lending pools on Rootstock. The exploit used cross-contract reentrancy to manipulate the iToken price, allowing the attacker to mint pool tokens at a discount and redeem them at an inflated value. Sovryn paused the affected system, deployed a fix, and said all funds removed from the lending pools were returned through recovered assets and treasury coverage.

How it happened

  1. The attacker borrowed from a lending pool and began closing the position.
  2. During a refund transfer, a fallback or token hook reentered the lending-pool mint path before principal returned to the pool.
  3. The temporarily understated pool balance made the iToken price too low, so the attacker minted iTokens at a discount.
  4. When the close resumed and principal returned, the iToken price rose; the attacker then redeemed the iTokens for inflated value.

Protocol details

Classification Protocol Logic / Borrowing and Lending / Exchange (DEX) / Reentrancy
Protocol Type Exploit/Other
Affected asset / contract SOV
Implementation language Solidity
Protocol links Website @SovrynBTC

Funds Recovery

49.0%

Recovered

$539K

Net Loss

$561,000

Build your security review skills

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