Sonne Hack

TOTAL LOST $20.0M
High Other

Summarize with AI

Affected Chain 2024 Incident surface
Recovered - No recovery reported
All-Time Rank #229 By amount stolen
Protocol Type Dexs Target category

Incident Overview

On May 14th, Sonne protocol was exploited via Compound V2 insufficient precision vulnerability.

Sonne Finance on Optimism has been exploited using a known donation attack on Compound v2 forks, resulting in a loss of approximately $20 million. Despite previous precautions of setting collateral factors to 0% and burning collateral before increasing c-factors, the recent proposal to add VELO markets led to vulnerability. The transactions were scheduled on a multisig wallet with a two-day timelock. After the timelock expired, the exploiter added a c-factor to the markets and executed multiple transactions, exploiting the protocol.

Key steps of the attack included:

Adding liquidity and performing buy-sell operations to generate rewards for LP holders.

Borrowing 35,469,150 VELO from the AMM pool and transferring it to the soVELO contract without minting corresponding soVELO tokens, inflating totalCash.

Using a rounding error to borrow 265 WETH with just 2 wei soVELO.

Repeating the steps to drain the soUSDC and soWETH markets.

Attacker:

https://optimistic.etherscan.io/address/0x5d0d99e9…d80bbb

Exploit example tx:

https://optimistic.etherscan.io/tx/0x45c0ccfd…32db96

Attacker contract:

https://optimistic.etherscan.io/address/0xa78aefd4…c1caf8

Incident Report

Protocol / Project Sonne
Date of Incident
Attack Technique Other
Classification Borrowing and Lending

Protocol Information

Protocol Type Dexs
Official Website sonne.finance/
Protocol Twitter/X @SonneFinance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Polygon 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 other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Sonne's contract logic - root cause: borrowing and lending
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? Likely — with a thorough Other audit checklist and test coverage

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

  • Verify all logic paths related to Other are guarded by proper access controls and input validation
  • 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

Sources & References

Learn to Prevent the Next Sonne

The Sonne 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