XRP Ledger Foundation confirms SDK breach and issues urgent fix

Source Cryptopolitan

Software security firm Aikodo has alerted XRP Ledger developers to a vulnerability in the XRPL software development kit (SDK) that allows hackers to steal private keys. The developer-focused firm said the vulnerability was in XRPL versions 4.2.1 – 4.2.4.

According to the firm, it first identified the vulnerability on April 21, 20:53 GMT+0, after it got an alert of five new packages added to the XRPL package. A closer examination showed that bad actors had compromised the package by adding a backdoor to steal private keys.

It said:

“We quickly confirmed the official XPRL (Ripple) NPM package was compromised by sophisticated attackers who put in a backdoor to steal cryptocurrency private keys and gain access to cryptocurrency wallets.”

Given that the package has an average of 140,000 weekly downloads and thousands of websites and applications use it, the incident could have been a disastrous supply chain attack for the crypto industry.

Per the report, the hacker used several versions of the package in an attempt to hide their trail and make sure the vulnerability was not visible. However, Aikido was able to identify it due to its Aikido Intel tool that monitors public package managers such as NPM and identifies any malicious code changes.

XRPL Foundation acknowledges compromise

Meanwhile, the XRPL Foundation, the non-profit behind the XRPL network, has acknowledged the incident and deployed a fix to the vulnerability. The foundation said on X that it has now published a version 4.2.5 of the XRPL package as a replacement for the compromised versions.

Developers who have the compromised versions have been advised to replace them immediately. The foundation also deprecated all the compromised versions on NPM so that no one can download them.

It also advised that developers should be using the latest v4.2.5 or the much older v2.14.3, which was not compromised and added that that the issue does not affect the XRPL codebase or its GitHub repository.

The foundation said:

“This vulnerability is in xrpl.js, a JavaScript library for interacting with the XRP Ledger. It does NOT affect the XRP Ledger codebase or Github repository itself. Projects using xrpl.js should upgrade to v4.2.5 immediately.”

So far, several protocols on the network have confirmed that the vulnerability did affect them. Xaman Wallet noted that it uses in-house infrastructure and libraries to handle transactions and private keys, while XRPScan said it uses an older version of the xrpl.js and does not process private keys.

Others, such as Bitfrost wallet, DeFi protocol OpulenceX, memecoin RibbleXRP, and Web3 gaming platform Gen3 Games have also confirmed they are unaffected.

Crypto-related supply chain attacks becoming prevalent

The XRPL supply chain attack is the latest incident of bad actors targeting software packages to exploit crypto-related projects.

Back in March, hackers targeted Coinbase in a GitHub Actions supply chain attack by trying to break the exchange’s open-source AgentKit. However, they failed at it, and Coinbase foiled the attempt, deciding to attack several repositories instead.

Before that, cybersecurity experts have discovered that the notorious North Korean hacker group, Lazarus, is targeting crypto developers using NPM repositories and creating backdoors in projects. It is unclear whether they are involved in the

Cryptopolitan Academy: Tired of market swings? Learn how DeFi can help you build steady passive income. Register Now

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin ETFs Rebound, But Inflows Hit 2025 Low | ETF NewsBitcoin exchange-traded funds (ETFs) recorded a modest net inflow of $15 million last week, marking a significant turnaround from the previous week’s sharp outflows exceeding $713 million.
Author  Beincrypto
Apr 21, Mon
Bitcoin exchange-traded funds (ETFs) recorded a modest net inflow of $15 million last week, marking a significant turnaround from the previous week’s sharp outflows exceeding $713 million.
placeholder
Is Bitcoin Following Gold’s Power Curve? Analyst Predicts $450,000 Target By Q4 2025While gold continues to set new all-time highs (ATH), trading at $3,420 per ounce, Bitcoin (BTC) may soon follow the precious metal’s price trajectory, according to crypto analyst Master of Crypto.
Author  FXStreet
23 hours ago
While gold continues to set new all-time highs (ATH), trading at $3,420 per ounce, Bitcoin (BTC) may soon follow the precious metal’s price trajectory, according to crypto analyst Master of Crypto.
placeholder
Ethereum Price Loses Steam—But Maintains Bullish Structure Above SupportEthereum price failed to clear the $1,650 and corrected gains. ETH is now consolidating and might attempt to recover above the $1,620 resistance.
Author  NewsBTC
22 hours ago
Ethereum price failed to clear the $1,650 and corrected gains. ETH is now consolidating and might attempt to recover above the $1,620 resistance.
placeholder
Gold price surges to $3,500 neighborhood; strong uptrend remains uninterruptedGold price (XAU/USD) builds on the previous day's breakout momentum beyond the $3,400 mark and continues scaling new record highs during the Asian session on Tuesday.
Author  FXStreet
20 hours ago
Gold price (XAU/USD) builds on the previous day's breakout momentum beyond the $3,400 mark and continues scaling new record highs during the Asian session on Tuesday.
placeholder
Japan Selling U.S. Bonds to Defend the Yen? Japanese Yen Surges to 140 as Japan Defies U.S. PressureOn Tuesday, April 22, the U.S. Dollar Index (DXY) struggled below the 99 level, with the dollar-yen exchange rate briefly falling below 140, hitting a low of 139.89—the weakest level in nearly seven months.
Author  TradingKey
16 hours ago
On Tuesday, April 22, the U.S. Dollar Index (DXY) struggled below the 99 level, with the dollar-yen exchange rate briefly falling below 140, hitting a low of 139.89—the weakest level in nearly seven months.
goTop
quote