Raydium: Massive Exploit Drains $1.34 Million From Inactive AMM Pools
A retired AMM program on Raydium was exploited for $1.34M across five inactive liquidity pools. Here's what happened and what it means for DeFi security.
A retired AMM program on Raydium was exploited for $1.34M across five inactive liquidity pools. Here's what happened and what it means for DeFi security.
A retired AMM program on Raydium has just been hit by a targeted attack. The result: $1.34 million drained from five inactive liquidity pools within hours.
The Solana-based DEX responded swiftly, pledging full compensation through its treasury. But the incident raises a fundamental question: how can a decommissioned contract still be exploitable?
A closer look at a vulnerability that serves as a stark reminder — in DeFi, legacy programs can remain attack vectors long after they have been retired.
The exploit targeted an older AMM (Automated Market Maker) program belonging to Raydium, one that had been officially retired and replaced by newer versions. Five inactive liquidity pools were fully drained, with total losses estimated at $1.34 million. The attack did not affect any active pools or the protocol’s core infrastructure.
This type of attack vector is particularly insidious: security teams typically focus their monitoring on contracts in active production, leaving deprecated programs in a blind spot. Yet as long as a smart contract remains deployed on-chain, it stays technically accessible — and therefore potentially exploitable if funds are still associated with it.
Raydium has not yet published a detailed technical post-mortem outlining the precise nature of the vulnerability that was exploited. The team confirmed the incident through its official channels and indicated that investigations are ongoing to identify the exact attack vector.
In response to the impact on affected liquidity providers, Raydium announced that its treasury would cover all losses incurred by impacted users. The decision reflects a clear intent to preserve community trust, in a sector where uncompensated exploits can permanently damage a protocol’s reputation.
This model of direct treasury-based compensation has become an increasingly common practice in DeFi following similar incidents. It bypasses decentralized insurance mechanisms — which are often slow and complex — and sends a strong signal to LPs (liquidity providers) about the protocol’s financial resilience. Raydium, which generates substantial revenue through trading fees on Solana, holds the reserves needed to absorb this kind of shock.
The incident comes at a time when Raydium remains one of the most active DEXs in the Solana ecosystem, consistently posting some of the highest trading volumes across all of DeFi. The team’s swift response should limit the damage to user confidence, even as the question of how to manage obsolete contracts remains very much open.
This exploit highlights a structural issue inherent to decentralized finance: the persistence of smart contracts on-chain. Unlike traditional web applications that can simply be switched off, a smart contract deployed on a blockchain like Solana remains active indefinitely, unless an explicit self-destruct mechanism was built into its design from the outset.
For DeFi protocols, this creates an obligation to continuously monitor all deployed contracts — including the oldest ones. Best practices call for systematically migrating any residual funds before decommissioning, and for implementing emergency pause mechanisms on deprecated programs. Steps that, evidently, were not completed in this particular case.
For liquidity providers, this incident is a timely reminder of the importance of withdrawing funds from inactive or deprecated pools as soon as a protocol announces a migration to a new version. In DeFi, leaving assets in an obsolete contract is the equivalent of leaving liquidity in a vault whose lock is no longer maintained.
Passionate about the crypto world, he explores the blockchain ecosystem to extract the most essential insights. With his expertise in SEO and web writing, he transforms news and technical analysis into clear, engaging, and impactful content. His goal? To help investors better understand the opportunities and challenges of the crypto market.
DISCLAIMER
This article is for informational purposes only and should not be considered as investment advice. Trading cryptocurrencies involves risks, and it is important not to invest more than you can afford to lose.
InvestX is not responsible for the quality of the products or services presented on this page and cannot be held liable, directly or indirectly, for any damage or loss caused by the use of any product or service featured in this article. Investments in crypto assets are inherently risky; readers should conduct their own research before taking any action and invest only within their financial means. This article does not constitute investment advice.
Risk Warning : Trading financial instruments and/or cryptocurrencies carries a high level of risk, including the possibility of losing all or part of your investment. It may not be suitable for all investors. Cryptocurrency prices are highly volatile and can be influenced by external factors such as financial, regulatory, or political events. Margin trading increases financial risks.
CFDs (Contracts for Difference) are complex instruments with a high risk of rapid capital loss due to leverage. Between 74% and 89% of retail investor accounts lose money when trading CFDs. You should assess whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
Before engaging in financial or cryptocurrency trading, you must be fully informed about the associated risks and fees, carefully evaluate your investment objectives, level of experience, and risk tolerance, and seek professional advice if needed. InvestX.fr and the InvestX application may provide general market commentary, which does not constitute investment advice and should not be interpreted as such. Please consult an independent financial advisor for any investment-related questions. InvestX.fr disclaims any liability for errors, misinvestments, inaccuracies, or omissions and does not guarantee the accuracy or completeness of the information, texts, graphics, links, or other materials provided.
Some of the partners featured on this site may not be regulated in your country. It is your responsibility to verify the compliance of these services with local regulations before using them.