Sovryn Hack

TOTAL LOST $1.1M
Medium Flashloan Reentrancy Attack / Other rsk

Summarize with AI

Affected Chain rsk Incident surface
Recovered $539K 49.0% returned
All-Time Rank #815 By amount stolen
Protocol Type Exploit/Other Target category

Incident Overview

Sovryn Protocol's RBTC and USDT lending pools have been exploited by price manipulation. The attacker profited for 1,078,000 $USDT worth of assets as $RBTC and $USDT.

Sovryn is the protocol that provides trading and lending opportunities on the Layer 2 Bitcoin-based RSK chain. The protocol's $RBTC and $USDT lending pools were exploited and the attacker took away 44,93 $RBTC and 211,045 $USDT. The attacker exploited price calculation logic to withdraw more $RBTC than usual.

Devs managed to recover roughly half of the stolen assets through a combined effort at the moment.

Attacker address:

https://explorer.rsk.co/address/0xc92ebecd…97531a

Malicious contract:

https://blockscout.com/rsk/mainnet/address/0xA893cdcb…96b0A6

Malicious transaction example:

https://explorer.rsk.co/tx/0xf5ea6266…1582e2

Incident Report

Protocol / Project Sovryn
Date of Incident
Affected Chain(s) rsk
Attack Technique Flashloan Reentrancy Attack / Other
Classification Protocol Logic / Borrowing and Lending,Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exploit/Other
Affected Token SOV
Smart Contract Language Solidity
Official Website live.sovryn.app/
Protocol Twitter/X @SovrynBTC
Team Public / Doxxed
Source Code Unverified

Market Context at Time of Hack

Token Categories
Ethereum Ecosystem Bitcoin Ecosystem RSK RBTC Ecosystem

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of flashloan reentrancy attack / other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with rsk smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Sovryn's contract logic - root cause: protocol logic / borrowing and lending,exchange (dex)
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Yes — skilled auditors routinely flag Flashloan Reentrancy Attack / Other vulnerabilities in code review

If you're auditing a protocol with similar architecture to Sovryn, these are the critical security checks that could have prevented this incident (October 2022).

  • Verify all logic paths related to Flashloan Reentrancy Attack / Other are guarded by proper access controls and input validation - see the Flash Loans Attacks attack class for patterns
  • Check that all state-changing functions follow the Checks-Effects-Interactions (CEI) pattern to prevent reentrancy and logic ordering bugs
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Funds Recovery

49.0%

Recovered

$539K

Net Loss

561000

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next Sovryn

The Sovryn hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial