Article is online

Raydium on Solana Suffers $1.34M Exploit as DeFi Vulnerabilities Rise

Raydium on Solana Suffers $1.34M Exploit as DeFi Vulnerabilities Rise

Preface


Summary: This article explains a recent exploit on Raydium, a Solana-based decentralized exchange, and places the incident in the broader context of rising DeFi vulnerabilities. The goal is to provide a clear, factual account of what happened, how the attacker succeeded, and why legacy code and evolving attack methods matter to the broader crypto ecosystem. Key points include the nature of the exploited program, the assets taken, reassurances about current user safety, and the wider pattern of protocol weaknesses uncovered in recent months.



Lazy bag


The exploit targeted deprecated AMM pools in Raydium’s legacy codebase, allowing an attacker to mint LP tokens and withdraw funds. No active users interacting through Raydium’s current UI were affected, and the firm intends to repay losses from its treasury. The incident highlights risks tied to outdated contracts and the growing number of DeFi attacks.



Main Body


The Solana-based decentralized exchange Raydium suffered an exploit that resulted in approximately $1.34 million being removed from five deprecated liquidity pools. The vulnerability lay in an older automated market maker (AMM) program that Raydium had previously phased out. According to public posts from a Raydium contributor, the attacker bypassed validation checks in the deprecated program, minted new liquidity provider (LP) tokens and withdrew assets held by those legacy pools.



The funds taken included nearly $900,000 in USDC stablecoins, roughly $357,000 worth of SOL, and about $86,000 in RAY, Raydium’s native token. Company representatives emphasized that the compromised program was part of their legacy infrastructure and that current mainnet programs and the user interface do not allow interaction with those deprecated pools. Consequently, Raydium stated that no present-day users were affected through normal UI interactions. The firm also clarified that the incident was not the result of a key compromise or an authority-level breach.



Technically, the exploit exploited weaknesses in validation logic left in the outdated AMM V3 program. By crafting transactions that circumvented those checks, the attacker was able to create LP shares that granted withdrawal rights. This pattern—where legacy contracts remain on-chain and can be interacted with despite being decommissioned—has been a recurring source of risk across many blockchains. It underlines the importance of rigorous deprecation procedures, including removing or locking legacy code paths or otherwise ensuring they cannot be reactivated or abused.



Raydium announced plans to cover the stolen funds using its treasury, offering a short-term remediation for affected protocol liquidity rather than relying on user restitution. The exchange’s public messaging aimed to reassure stakeholders that the incident does not reflect a compromise of active control keys or an ongoing vulnerability in the primary, supported contracts. Nonetheless, such events typically invite scrutiny from auditors, developers and users, and can depress token markets; in this case, RAY traded lower in response to the news.



This exploit is part of a wider uptick in DeFi incidents and vulnerability disclosures across the crypto space. Earlier in the year, other Solana-based projects and DeFi protocols experienced substantial losses from different classes of exploits. High-profile cases have exposed issues ranging from smart-contract logic flaws to poor key management and economic-assumption failures. In several recent instances, attackers have leveraged increasingly sophisticated tooling to surface and exploit weaknesses more quickly.



Observers have raised concerns about the accelerating role of advanced tools, including AI-assisted analysis, in discovering vulnerabilities. While there is no direct evidence that artificial intelligence tools were used to find the Raydium vulnerability, industry commentary has noted that AI can accelerate the process of identifying exploitable patterns by automating tasks traditionally performed by expert auditors. This trend has prompted debate: improved tooling can help defenders find and patch bugs faster, yet the same methods may also enable malicious actors to scale exploit discovery.



Beyond tooling, the Raydium incident reiterates several practical lessons for protocol teams and users. First, decommissioning on-chain programs requires thorough measures: simply retiring support in the UI does not remove the contract code from the ledger, nor does it always neutralize its potential execution paths. Second, maintaining an incident response plan and sufficient treasury reserves can limit systemic damage when breaches occur. Third, transparent, timely communication helps contain speculation and preserve user confidence in the short term.



From a market perspective, the immediate impact on RAY’s price was modest but notable: the token declined as traders reacted to the security news and broader market volatility. Longer-term effects will depend on Raydium’s remediation steps, community trust, and whether similar legacy-code issues are found elsewhere. For users and integrators, the episode is a reminder to exercise caution with third-party contracts and to prefer actively maintained pools and programs.



In summary, the Raydium exploit was a targeted attack on deprecated AMM pools that produced a measurable financial loss but did not implicate the exchange’s active user-facing systems. It highlights the persistent hazard posed by legacy on-chain code and the need for improved deprecation strategies, continuous auditing, and vigilant operational controls in DeFi. As the ecosystem evolves and tooling becomes more powerful, both attackers and defenders will adapt; the balance will depend on proactive security practices and timely remediation when flaws are discovered.



Key Insights Table































Aspect Description
Key Fact 1 Five deprecated Raydium liquidity pools were exploited, resulting in about $1.34M stolen.
Key Fact 2 Attacker bypassed validation logic in a legacy AMM program and minted LP tokens to withdraw assets.
Key Fact 3 Assets taken included USDC, SOL and RAY; Raydium plans to reimburse losses from its treasury.
Key Fact 4 Current Raydium users interacting through the UI were not affected because the pools were deprecated and not accessible via the UI.
Key Fact 5 The incident underscores broader DeFi risks, including those tied to legacy contracts and accelerated exploit discovery tools.

Last edited at:2026/6/10
#SOL#Defi#Decentralization

Mr. W

ZNews full-time writer