Bitcoin News and Finance Bug in Solana Token Lending Contract Fixed, More Than $2 Billion Made Exploitable Skip to main content

Bug in Solana Token Lending Contract Fixed, More Than $2 Billion Made Exploitable

solana

A bug in the token lending contract of the Solana Program Library (SPL) was recently found and fixed by Neodyme, a security auditing firm. The bug, that was discovered a couple of months back, could have affected several decentralized finance protocols holding more than $2 billion in total value locked (TVL). Their team identified the possible protocols using this contract (or derivatives of it) and disclosed the bug immediately.

Solana SPL Rounding Bug Puts Funds at Risk

A bug in one of the token lending contracts that is part of Solana’s Program Library (SPL), a group of on-chain programs targeting the Sealevel parallel runtime on Solana, put the funds of several protocols at risk. Neodyme, a security agency, had disclosed this vulnerability months ago and alerted about it, but the bug, due to its apparently innocuous effect, had not been resolved.

The bug caused a rounding error that delivers more tokens than the ones being deposited by the users to the contract. However, the bug was not exploitable without an organized attack that targeted the vulnerability directly. Neodyme, the auditing group, managed to reproduce it and create a script that took advantage of it.

Importance of Open Source

More than $2 billion in several tokens on these protocols were at risk of being drained slowly by taking advantage of this exploit. More so, if the attack had been conducted in a smart way, it wouldn’t have triggered any alarms, and would just be detected as a slow drain of APY in some pools. Neodyme remarked about the importance of open source code for auditors to be involved and help correct these kinds of bugs. It stated:

We believe the most secure code is open-source, and as auditors we believe one of the best ways to write better code is to understand vulnerabilities.

After discovering this exploit, Neodyme shared its existence with teams that would probably be using the program as a tool for their operations. Among these were some protocols that are not open source on the Solana chain, and cannot be directly verified by their users. This made it difficult for them to directly verify whether these platforms were exploitable by the bug. However, they communicated with the teams behind these protocols, who are in charge of fixing the issue individually.

The SPL token-lending contract had already been reviewed before, and two projects using it have also been audited independently: Solend by Kudelski and Larix by Slowmist.

What do you think about the exploit corrected in the Solana token lending contract? Tell us in the comments section below.

Comments

Popular posts from this blog

Custodial Lightning Network Service Attack Discovered by LN ‘Newbie’ — Hacker Strikes 6 LN Custodians

On September 18, a Redditor posted to the r/bitcoin forum and explained how he discovered a way to “attack [the] lightning Network’s custodial services.” The Reddit account dubbed “Reckless Satoshi” wanted to figure out if a “discrepancy between real routing fees and service’s transaction fee can be exploited for a profit.” The researcher disclosed that he wanted to see how large the damage could be and said “it is bad.” 6 Lightning Network Custodial Services Attacked, Researcher Discloses Findings to Offenders Prior to Public Disclosure A Redditor called Reckless Satoshi published a disclosure post on r/bitcoin this past Saturday and disclosed how he had found a vulnerability with routing fees and some of the Lightning Network’s custodial services. The research attack was done in good faith and after it was complete he disclosed the bugs to the offending services before publishing his findings. Reckless Satoshi used the Lightning Network (LN) attack on six different services incl...

Axie Infinity Down 40% Since Last Week’s Price High, Protocol Revenue Outshines Competitors

Last week, the game token leveraged within the Axie Infinity gaming universe skyrocketed to all-time highs, while other crypto markets remained extremely lackluster. During the last seven days, Axie Infinity’s platform token has dropped significantly in value shedding more than 12%. Meanwhile, the game platform’s smooth love potion token has slid over 8% over the last 24 hours. Axie Infinity Down More Than 40% Since All-Time High Not too long ago, the axie infinity (AXS) token was a topical conversation because it reached an all-time high on July 15. At the time, AXS managed to capture $28.93 per unit and since then it has shed 12.8% during the last seven days. The axie infinity (AXS) token is used within the blockchain-based game that involves battles between token-based creatures called “Axies.” AXS is used for the game’s governance system as well as other actions within the game. At the time of writing axie infinity (AXS) is exchanging hands for $16.70 per coin. AXS/USD on Ju...

Play-to-Earn Game From Polker (PKR) Exchange Listing – Endorsed by Akon

The Play-to-Earn NFT based Polker.Game ‘s native token $PKR has been officially listed on the popular centralized exchange BitMart. Polker.game has been in the spotlight recently as Akon, the American R&B superstar and record producer gave his official endorsement of polker stating that the “game is revolutionary” and that Polker is “hands down.. the best play to earn, NFT game in the space.”. With the BitMart listing and celebrity endorsement from Akon, Polker is perfectly positioned to become a major player in the Play-to-Earn league. Watch Akon’s Video Here What is Play-to-Earn? Although not a new concept, play-to-earn has become a trending term due to the popularity of the NFT game AXIE infinity. In the past, previous play-to-earn games have also achieved success – however, thanks to the huge amount of development in the blockchain space in recent years the gaming experience is now massively improved. Play-to-Earn games are essentially free to play and open to anyone and...

China to Crack Down on Copyright Infringement Through NFTs

Authorities in China are going after creators of digital collectibles based on other people’s works of art, the use of which was not authorized. The government offensive is part of a campaign to combat online copyright infringement and piracy with the participation of several departments. Regulators in China Move to Strengthen Copyright Supervision of Online Platforms The National Copyright Administration of China (NCAC) has recently launched a campaign against copyright infringement and piracy on the internet, together with the Ministry of Industry and Information Technology, the Ministry of Public Security, and the State Internet Information Office of the People’s Republic. A major objective of the initiative is to improve copyright supervision of online businesses by investigating cases involving the sale and distribution of infringing products on short video, live broadcast and e-commerce platforms, and promptly dealing with infringing content, the agency announced in a press r...

Trezor and Wasabi to Implement a Coinjoin Mixing Scheme Into Hardware Wallets

This week, the hardware wallet manufacturer Trezor, and the non-custodial bitcoin wallet with a built-in Coinjoin mixer, Wasabi, revealed the two teams are working together to introduce Coinjoin mixing into hardware wallets. On Sunday, Wasabi tweeted “hardware wallet Coinjoins are coming next year with our friends at [Trezor].” Trezor Says Company Is ‘Working on a Coinjoin Implementation’ According to Trezor and Wasabi , a form of Coinjoin mixing is coming to hardware wallets in the near future. Coinjoin is a privacy-enhancing process that is leveraged to anonymize transfers on a blockchain. Basically, the scheme involves a number of parties transacting together and mixing their unspent transaction outputs (UTXOs) in a pool to obfuscate the origin of all the funds. On Sunday, Wasabi’s official Twitter account tweeted about adding the privacy-enhancing scheme to hardware wallets. In the thread, someone asked Wasabi when they would release an “album,” and Trezor replied : “Hi, we’...

Grand Theft Auto 6 to Feature a Fictional Cryptocurrency

One of the biggest franchises in the videogame industry, Grand Theft Auto, will feature in-game payments of “bitcoin” or another fictional cryptocurrency. Contractors will pay the player with this currency when they need to make anonymous, untraceable payments. This would constitute another push for Bitcoin awareness into mainstream media culture. Grand Theft Auto 6 to Feature in-Game Fictional Cryptocurrency Grand Theft Auto 6, one of the biggest gaming franchises, will feature an in-game cryptocurrency for payments according to insiders. The game will allow the player to accept cryptocurrency payments from big shot contractors who want to remain anonymous. Industry insider Tom Henderson leaked the news on Twitter earlier this week. He stated: I heard recently that in GTA 6, some missions will reward you in bitcoin instead of cash for completing some missions. The stock market feature will return, with the addition of a broker for different cryptocurrencies. If GTA 6 incorporate...

Grayscale Considering 25 More Crypto Assets for Investment Products

Grayscale, the world’s largest crypto asset manager, is considering 25 more crypto assets for investment products. With the latest additions, the company’s list of coins under consideration has grown to 43. “The process of creating an investment product similar to the ones we already offer is a complex, multifaceted process,” said Grayscale. 25 Crypto Assets Added to List of Coins Under Consideration for Grayscale’s Investment Products Grayscale Investments announced Monday that it has updated its list of digital assets under consideration for 2022. Grayscale currently has $30.6 billion in net assets under management. The company explained that the “Assets Under Consideration” list comprises “some digital assets that are not currently included in a Grayscale investment product, but that have come to our attention as part of our exploration of this sector, and that our team has identified as possible candidates for inclusion in a future investment product.” Grayscale detailed: Wit...

Cardano’s Cfund First Capital Goes to Israeli Fintech Startup Coti

This latest move to broaden cooperation between Cardano and Coti builds upon previous collaborations as the former seeks to upgrade its payment solution on top of the former’s expanding financial infrastructure. Strategic Investment Marks First Allocation for New Ecosystem Venture Fund One of the earliest proposed use cases for blockchain was the democratization of financial services, namely by reaching unbanked and underbanked communities worldwide. From remittance payments, access to credit facilities, or even just digital wallet solutions, advancements across the blockchain landscape have finally made this vision a reality. Among them, Coti is developing the enterprise-grade base layer for the rest to build atop of. Coti, which is short for “currency of the internet,” operates a fintech platform that supports stakeholder-driven payment solutions and empowers these stakeholders to digitize any currency. This aim aligns with Cardano’s ambitions of affordably and instantaneously ...
Blogarama - Blog Directory