Solana Based DeFi Exchange Raydium Investigated An Exploit

On Dec. 16, 2022 Raydium (RAY), the Solana (SOL) based DeFi Exchange (DEX) investigated that the exploit had affected liquidity pools. As a hacker exploited RAY for more than $4.3 Million in crypto.

In its initial Post-Mortem, the next day, Raydium said it was working with third-party auditors and teams across the smart contract platform, Solana to gather additional information about the hack. Additionally, they have put a patch in place to prevent further exploits from the attacker.

The DEX noted that “As an immediate solution, previous owner authority has been revoked and all program accounts have been updated to new hard wallet accounts. As such, the attacker no longer has access authority and is no longer able to exploit the pools.”

While, in case “the attacker returns the funds, 10% of the total amount will be offered and considered as a white-hat bug bounty,” the DEX added.

However, the hacker was able to siphon around $4.3 Million worth of stablecoins and other crypto assets from five different pools, Raydium quoted.

On Dec. 18, 2022, Raydium gave the exploit update through a full Medium post with further details, solutions implemented, and their next steps.

In its Medium post, Raydium mentioned that the exploit happened in two parts. The attacker used “the withdrawPNL instruction function to withdraw funds (designated as fees) from the pool vault. After withdrawPNL is initiated, the need_take_pc and need_take_coin calculation automatically resets to zero.”

Then, “The attacker used the SetParams instruction in conjunction with AmmParams::SyncNeedTake to inflate the balances for need_take_pc and need_take_coin without trading volume needing to occur, allowing the attacker to alter and increase the expected fees and then withdraw the funds (designated as fees) from the pool vault via withdrawPNL, repeatedly,” as mentioned in the post.

RAY Price Analysis in One Week

The current price of Raydium (RAY) is $0.159 USD with a 24-hour trading volume of $7.44 Million USD. However, RAY is up 2.53% in the last 24 hours, with a live market cap of $26.61 Million USD.

Source: CoinMarketCap

In one week the price of RAY dropped from $0.191 to its current price by almost 16%. Its market cap also noted the decline from around $31 Million to just $26 Million.

Nancy J. Allen
Latest posts by Nancy J. Allen (see all)



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *