Rhea Finance Hack

TOTAL LOST $18.4M
High Other

Summarize with AI

Affected Chain 2026 Incident surface
Recovered - No recovery reported
All-Time Rank #244 By amount stolen
Auditors 1 Prior security audit

Incident Overview

On April 16, 2026, RHEA Finance on NEAR lost $18.4M when an attacker exploited a slippage protection flaw in the margin trading feature.

RHEA's margin trading had a critical flaw in its slippage protection. The system added up all expected minimum outputs across multiple swaps but didn't check when one swap's output became the next swap's input. This allowed attackers to chain swaps that looked valid but actually bypassed all protections.

The attacker spent three days preparing. They set up 423 intermediary accounts and funded them through NEAR Intents. On April 15, they created 8 fake token pools on Ref Finance, pairing worthless tokens with real assets like USDC and USDT at artificial prices. They built a custom swap router connecting these pools.

On April 16 from 08:22-09:42 UTC, they executed the main attack. They opened margin positions on RHEA using their rigged swap routes. Borrowed debt tokens got funneled into the fake pools while almost nothing came back to the protocol. Each position had massive debt but worthless collateral, triggering instant forced liquidations that drained RHEA's reserves. The attacker then pulled all liquidity from their fake pools and extracted the stolen value.

The attacker has since returned 3.359M USDC and 1.564M NEAR. Tether froze 4.34M USDT. The protocol froze the lending contract to preserve remaining funds.

Example Attack Transaction: 44tWhQmmkTJgchgFVkYpPrgyKvaH7wRLu1jZWXD3Du1x

Incident Report

Protocol / Project Rhea Finance
Date of Incident
Attack Technique Other
Classification Exchange (DEX),Borrowing and Lending

Protocol Information

Protocol Type Dexs
Official Website www.rhea.finance/
Protocol Twitter/X @rhea_finance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Decentralized Exchange (DEX) Token DeFi Staking DApp DEX DragonFly Capital Portfolio Near Protocol Ecosystem OKX Ventures Portfolio

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 Rhea Finance's contract logic - root cause: exchange (dex),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
Audited by Audit Report 1 — still lost $18.4M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to Rhea Finance, these are the critical security checks that could have prevented this incident (April 2026).

  • 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

Security Audit History

Sources & References

Learn to Prevent the Next Rhea Finance

The Rhea Finance 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