- Detailed explanation of the attack mechanism
- Root cause analysis of the vulnerability
- Specific assertion code that would have prevented the exploit
Access Control & Administrative Vulnerabilities
Radiant Capital Hack
Attack Type: Ownership TakeoverLoss: $58M+ USD
Root Cause: Attackers gained control of multisig signers and changed ownership of lending pools
Prevention: Owner change assertions with proper validation and whitelisting
Bybit - Compromised Safe Wallet UI
Attack Type: UI Compromise + Implementation ChangeLoss: $1.4B USD
Root Cause: Compromised frontend showed fake transactions while changing proxy implementation
Prevention: Implementation address change assertions and transaction validation
UxLink Multisig Ownership Compromise
Attack Type: Private Key Compromise + Multisig ManipulationLoss: $39.3M USD
Root Cause: Compromised private keys enabled rapid multisig reconfiguration and threshold reduction
Prevention: Threshold protection assertions, owner whitelisting, and cooling periods
Arithmetic & Calculation Errors
Abracadabra Rounding Error Attack
Attack Type: Rounding Error ExploitationLoss: $6.5M USD
Root Cause: Rounding error in RebaseToken mechanism allowed base value inflation
Prevention: Invariant checks ensuring debt shares consistency
Bunni XYZ Rounding Error Exploit
Attack Type: Rounding Error + Liquidity ManipulationLoss: $8.4M USD
Root Cause: Rounding error in withdrawal mechanism led to disproportionate liquidity decreases
Prevention: Withdrawal proportionality assertions ensuring balance decreases match share burns
Compound Upgrade Bug
Attack Type: Logic Error in UpgradeLoss: $280K USD (limited by quick response)
Root Cause: One-letter bug (
>
instead of >=
) in reward calculationPrevention: Maximum reward rate validation assertions
Vestra DAO Hack
Attack Type: Unchecked State FlagLoss: Protocol drained
Root Cause: Missing validation of
isActive
flag in unstake functionPrevention: State flag validation assertions
Oracle & Price Manipulation
Cream Finance 2
Attack Type: Price ManipulationLoss: $130M USD
Root Cause: Sudden price manipulation through asset donation to vault
Prevention: Price deviation monitoring assertions
KiloEx Price Oracle Manipulation
Attack Type: Access Control + Price ManipulationLoss: $7.5M USD
Root Cause: Lack of access controls in MinimalForwarder allowed price manipulation
Prevention: Price deviation assertions and access control validation
GMX v1 AUM Manipulation Hack
Attack Type: Reentrancy + AUM ManipulationLoss: $42M USD
Root Cause: Reentrancy vulnerability allowed artificial AUM inflation
Prevention: AUM manipulation bounds assertions and atomic state consistency
Protocol Logic Vulnerabilities
Euler Finance Donation Hack
Attack Type: Missing Health CheckLoss: $197M USD
Root Cause: Donation function lacked health factor validation
Prevention: Health factor assertions after all state changes
First Depositor Bug
Attack Type: Share Price ManipulationLoss: Various protocols affected
Root Cause: First depositor can manipulate exchange rate through donation
Prevention: Minimum supply assertions and exchange rate validation
Visor Finance Unrestricted Mint
Attack Type: Unrestricted Token MintingLoss: Protocol funds
Root Cause: Anyone could mint reward tokens without proper validation
Prevention: Collateralization ratio assertions