Key Takeaways
Raydium, one of Solana’s largest decentralized exchanges, lost roughly $1.34 million on June 10 after an attacker exploited a flaw in retired code, draining five liquidity pools that had been inactive since 2021.
The pools belonged to Raydium’s legacy automated market maker, or AMM V3, program, which the protocol phased out after the collapse of the Serum onchain order book. The contracts remained live on Solana even though they were no longer reachable through Raydium’s official interface.
“No current users of Raydium are affected by this exploit,” pseudonymous contributor 0xInfra posted on X, adding that the protocol’s software development kit and front end no longer support interactions with the legacy pools.
The attack hinged on the old program’s weak validation of the liquidity provider’s mint address. Because the code did not confirm that the LP token was legitimate, the attacker created a fake mint, presented it as the real LP token and bypassed the proportion checks that govern withdrawals.
Raydium said its current mainnet programs avoid the bug because they rely on a virtual supply mechanism and verify LP mints alongside other account data. The exchange added that its live programs are now undergoing a separate security review.
The five affected pools were:
Notably, all pools were tied to the Serum era on Solana.
The attacker removed about 150,177 RAY, 5,603 SOL, and 893,700 USDC, according to 0xInfra. In dollar terms, that broke down to roughly $900,000 in USDC, about $357,000 in SOL, and around $86,000 in RAY. The exploiter’s Solana address ends in Bq33QVk.
Raydium’s concentrated liquidity pools and newer AMM versions held no exposure, which kept the loss near $1.34 million. RAY traded up more than 2% on the day, reflecting limited market spillover.
PeckShield and onchain investigator Specter said the attacker was initially funded through KuCoin, then bridged the proceeds from Solana to Ethereum.
From there, the wallet deposited 810 ETH into Tornado Cash and sent 7 ETH to FixedFloat, a pattern consistent with laundering through a mixer.
Raydium said it will fully reimburse anyone who still holds funds in the deprecated pools, covering the shortfall from its treasury rather than passing losses to active users.
The incident adds to a steady run of DeFi exploits in 2026, many of them targeting dormant or unaudited code rather than flagship contracts. For Raydium, the damage was contained, but the episode shows that retired smart contracts left running onchain can stay dangerous years after a team moves on.
Raydium’s loss is small next to a brutal year for decentralized finance. DeFi protocols have lost more than $840 million across 50 or more incidents in the first five months of 2026, a sharp rise from prior years.
The pattern has shifted. Chainalysis attributes about 76% of 2026 hack losses to state-backed actors tied to the Lazarus Group, and compromised accounts now drive more than half of DeFi attacks by count, overtaking pure smart contract bugs.
Most 2026 losses trace back to a handful of avoidable mistakes, and a few habits go a long way toward keeping funds safe.
None of these steps guarantees safety, but together they shrink the attack surface that drained Raydium’s old pools and far larger protocols this year.