Breaking
April 23, 2025

Ripple NPM Package xrpl.js Targeted by Hackers with a Backdoor that Steals Private Keys Troy Watson | usagoldmines.com

Automated Market Makers Finally Coming To XRPL — Why This Feature Could Be Super Bullish For XRP Price

The official Ripple package XRP Ledger (XRPL), an NPM package, was compromised by sophisticated attackers who installed a backdoor to extract crypto keys, gaining access to private wallets. Ripple discovered the breach when five new packages were added to the XRP Ledger (XRPL) repository. The package averages 140,000 downloads every week. Thousands of websites and apps use the package. The breach, if left unaddressed, could have caused severe damage to crypto markets, leading to a supply chain disruption that could have spread to other markets. The five new packages added to GitHub did not align with previous releases, raising suspicions about the changes made to the code.

The malicious code communicated with a newly registered domain name, 0x9c.xyz, which was used during the wallet creation process, allowing the attackers to access private keys. Analysis of the code reveals that the attackers refined their methods over time. Initially, they coded the exploit in plain code, and then advanced to disguising the backdoor with TypeScript code. Ripple has advised people affected by the attack to check their logs to see whether there is outgoing traffic to the suspicious domain name. Furthermore, applications using the Ripple Ledger should rotate their wallet addresses to prevent future attacks by malicious actors. The compromised XRPL included versions 4.2.1 and 4.2.4. Ripple released new versions that mitigate the threat, including versions 4.2.5 and 2.14.3. Affected users should move their assets immediately to new addresses.

The attackers added a method named checkValidityOfSeed() at the end of the file /src/index.ts in the compromised versions. The method allows users to send a String to the web address 0x9c.xyz/xcm, where attackers can store the retrieved data. The method sends the data using an HTTP POST request. The attackers further disguised the request method as an advertisement referral service to hide their activities from network monitoring scanners. The method checkValidityOfSeed() allows attackers to steal private keys, mnemonics, and seeds. 

The XRP Ledger Foundation (XRPLF) is responsible for maintaining the xrpl.js library, which is an official package used to communicate with Ripple through JavaScript. The xrpl.js library allows programmers to access wallet features, transfer Ripple tokens, and interact with the Ripple blockchain. The package is used widely, with an average of 140,000 downloads per week. Malicious code was inserted in versions 2.14.2, 4.2.1, 4.2.2, 4.2.3, and 4.2.4. Ripple has released a fixed version 4.2.5.

Developers are advised to replace any infected versions as soon as possible. The problem with these attacks is that they can infect libraries used by developers and then affect general users who download already compromised apps. Ripple has removed any NPM packages that were infected. Ripple assured users that the attack only affected the xrpl.js package and not the core repository for Ripple.

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

Coinbase suffered a similar attack in March when attackers targeted their open-source AgentKit. The attack targeted supply chains, identical to the XRPL attack, and aimed to exploit crypto-related projects. However, Coinbase was able to foil the attack and prevent any damage to its supply chain. The North Korean hacking group Lazarus also targeted NPM repositories, using a trick to create repositories with names similar to those of official libraries.

Ripple has recently experienced significant gains in the American market, following the SEC’s settlement with the crypto company. The change in American regulation has allowed the Ripple network to expand its business practices and focus on innovation. The XRP price has increased by around 300% since Trump’s inauguration. Ripple has similar price dynamics, in terms of volatility, to other coins like Stellar and TRON, which may be due to overlapping remittance markets. There is now a push to release an XRP ETF. Coinbase, further, released an XRP futures market on its derivatives platform, announcing the change on April 21.

 

This articles is written by : Nermeen Nabil Khear Abdelmalak

All rights reserved to : USAGOLDMIES . www.usagoldmines.com

You can Enjoy surfing our website categories and read more content in many fields you may like .

Why USAGoldMines ?

USAGoldMines is a comprehensive website offering the latest in financial, crypto, and technical news. With specialized sections for each category, it provides readers with up-to-date market insights, investment trends, and technological advancements, making it a valuable resource for investors and enthusiasts in the fast-paced financial world.

Recent:

Crypto News | Ethereum Price Analysis: Is ETH Breaking Free From Bearish Patterns? CryptoVizArt | u...

Crypto News | Here’s What XRP Has to Do to Challenge $3 Again: Ripple Price Analysis CryptoVizArt |...

Crypto News | Keycard Launches Pre-Sale for Shell: The Most Open, Modular Hardware Wallet to Date C...

Crypto News | Bitcoin Price Analysis: BTC Shows Strong Signs of Recovery, Is $100K Next? CryptoVizA...

Crypto News | BC.GAME to Host ‘Untamed Arena’ During TOKEN2049 Dubai, Showcasing Web3 Culture and I...

Crypto News | Bitcoin ETFs Record Largest Inflows Since Trump’s Inauguration in January Chayanika D...

Crypto News | Immutable (IMX) Goes Vertical with 45% Spike: What’s Fueling the Rally? Dimitar Dzhon...

Crypto News | Bitcoin Demand Signals Are Improving, But Bearish Conditions Persist: CryptoQuant Man...

Crypto News | Symbiotic Raises $29 Million Series A to Launch Universal Staking and Transform Block...

Crypto News | Whale Buying Pressure on Binance and Coinbase Pushes Bitcoin (BTC) Higher Chayanika D...

Crypto News | Bitcoin ETFs attract $912 million in single-day inflow, the largest since Donald Trump...

Crypto News | Bitcoin briefly flipped Google as fifth most valuable asset globally Oluwapelumi Adeju...

Crypto News | Kuwait bans Bitcoin mining over energy concerns and legal violations Oluwapelumi Adeju...

Crypto News | Global M2 money supply shifted by 90 days predicts Bitcoin price but with elastic rela...

Crypto News | PayPal shakes up stablecoin market with 3.7% interest rewards on PYUSD Oluwapelumi Ade...

Crypto News | Binance introduces stricter compliance measures for South African users Oluwapelumi Ad...

Can XRP Outperform Bitcoin in 2025?  Nidhi Kolhapur | usagoldmines.com

How to Identify Top Altcoins to Buy as Crypto Market Recovers Vignesh S G | usagoldmines.com

Recession Ahead? Bitcoin and Dogecoin Rally Could Be a Trap, Warns Bloomberg’s McGlone Mustafa Mulla...

Cardano Price Eyes $5 After 17% Surge Nidhi Kolhapur | usagoldmines.com

Meme Coins Are Pumping as Bitcoin Hits $94K — Memecoins to Watch Today Mustafa Mulla | usagoldmines....

XRP, ADA and Altcoins Rally As New SEC Chair Paul Atkins Promises ‘Principled Approach’ Nidhi Kolhap...

Mega Bullish: SOL Strategies Announces $500M to Buy More Solana Steve Muchoki | usagoldmines.com

Hyper Foundation Opens Validator Set to Public Victor | usagoldmines.com

Major Token Unlocks: $235M Set to Hit Markets by April 28 Tari | usagoldmines.com

Crypto.com Land: Fractured Fate NFT Mint Stu L | usagoldmines.com

Lattica Launches Encrypted AI Queries with FHE Victor | usagoldmines.com

XRP Ledger Foundation Warns of Critical Library Vulnerability Victor | usagoldmines.com

Magnificent Seven rallies as Trump signals easing of China tariffs Nellius Irene | usagoldmines.com

The IMF says Trump could drive America’s public debt to post-war highs Florence Muchai | usagoldmine...

Ethereum ETFs see inflows after 10-day drought as ETH reclaims $1,800 Vignesh Karunanidhi | usagoldm...

Solana (SOL) switches to decentralized validators with new staking rule change Hristina Vasileva | u...

Solana Has Lots of Room to Gain on Its ‘Invalid Cousin’ Ethereum, Asserts Trader Peter Brandt Newton...

No One’s Talking About These Meme Coins – But They’re Pumping Today Cryptonews | usagoldmines.com

Trump’s China Pivot Triggers Solana Price Spike – $1,000 SOL Now in Play? Simon Chandler | usagoldmi...

Shocking $10 Cardano (ADA) Price Prediction: Can It Materialize? Mutuum Finance (MUTM) Promises A 65...

Argentina’s Milei defies IMF and World Bank estimates, citizens incline to his economic plan Florenc...

Trump’s White House loyalists turn against each other over trade and security Noor Bazmi | usagoldmi...

Nintendo faces security breach as Switch 2 unit stolen from Chinese manufacturing factory Collins J....

Meta blasts $228M EU fine as ‘unfair attack’ on U.S. tech Nellius Irene | usagoldmines.com

Elon Musk has come back to save Tesla at the wrong time, or is it not? Florence Muchai | usagoldmine...

Crypto community wary as former SEC head takes over Wall Street jurisdiction Ol | usagoldmines.com

Richard Heart declares total victory as SEC drops case against HEX, PulseChain, and PulseX Vignesh K...

Mutuum Finance (MUTM) Presale Crosses $7M Mark, Smashes Records as Solana (SOL)  and Ethereum (ETH) ...

PumpBTC (PUMP) crashed by 45% after Binance Wallet TGE Hristina Vasileva | usagoldmines.com

Ghost of Yotei gets a release date and a new trailer Collins J. Okoth | usagoldmines.com

WhiteBIT announces the first seven participants for the ICTC2025 crypto trading cup Collins J. Okoth...

Arthur Hayes: Treasury Moves to Fuel Bitcoin Price’s $200,000 Rally Arnold Kirimi | usagoldmines.com

Bitcoin Price Rockets to $94K—Is This Just the Start? Arslan Butt | usagoldmines.com

Hacker Tries to Attack XRP Ledger Using Developer Access, Security Team Stops It Amin Ayan | usagold...

Bitcoin Long-Term Holders Accumulate as Short-Term Traders Capitulate: CryptoQuant Hassan Shittu | u...

Sui Rockets 27% on Memecoin Frenzy—Will Bulls Break $3.70? Jimmy Aki | usagoldmines.com

Bitcoin ETFs See $936M Inflows as ‘Safe Haven’ Demand Grows Hassan Shittu | usagoldmines.com

Web3 Protocol Symbiotic Raises $29M in Series A, Launches Universal Staking Framework Sujha Sundarar...

$20M in Solana Shorts Wiped Out: SOL Price Surge to $152 Triggers Massive Liquidations Hassan Shittu...

Crypto Hackers Adopt ‘Drainer-as-a-Service’ Model, Renting Malware for Just $100 Amin Ayan | usagold...

Will Bitcoin Explode Higher? $4.2B BlackRock ETF Volume Signals Incoming Surge Arslan Butt | usagold...

SOL Strategies Secures $500M Convertible Note Facility to Boost SOL Purchases and Validator Growth H...

Bitcoin Surpasses Alphabet (Google) to Become World’s Fifth Most Valuable Asset Amin Ayan | usagoldm...

XRP Sees Biggest Fund Inflows – Ripple Primed for Breakout? Simon Chandler | usagoldmines.com

SpaceX Founding Member Jim Cantrell Joins Spacecoin to Scale Decentralized Satellite Network Sead Fa...

Is Pi Coin Headed for a Total Collapse? Price Could Drop to $0.40 If This Happens Alejandro Arrieche...

XRP Targets $33 To $50 By September 2027, Research Firm Says Jake Simmons | usagoldmines.com

Web3 Protocol Symbiotic Raises $29M in Series A, Launches Universal Staking Framework Sujha Sundarar...

Chinese investors dump $2 billion Hong Kong stocks on Wednesday, signaling a tariff war end Florence...

Switzerland asserts economic strength ahead of U.S. tariff talks Collins J. Okoth | usagoldmines.com

Asian markets jump on Trump and Bessent comments but recession fears linger Noor Bazmi | usagoldmine...

SEC charges PGI Global founder over $198 million crypto Ponzi scheme Cryptopolitan News | usagoldmin...

Solana (SOL) Price Prediction and Why So Many Investors Are Choosing Ruvi AI (RUVI) For Over 1,000% ...

Shiba Inu Stagnation Continues, Meanwhile Yeti Ouro Dominates Market With Viral P2E Game  Cryptopoli...

Gate IO exchange repairs price display glitch, offers refunds to affected users Hristina Vasileva | ...

Cardano Breakout Eyes $0.80 Resistance – Is ADA Repeating Its ATH Playbook? Rubmar Garcia | usagoldm...

Cardano Set For 1,000% Explosion? Analyst Says ‘Just HODL’ Christian Encila | usagoldmines.com

Dogecoin Price Rebound: Why DOGE Is On The Verge Of 333% Rally Toward $0.7 Scott Matherson | usagold...

Crypto News | Arthur Hayes Predicts $200K Bitcoin Fueled by Treasury Buybacks Wayne Jones | usagold...

Crypto News | Is Bitcoin (BTC) Poised for a New ATH After Surging Past $94K? (Analysts Weigh in) Di...

Crypto News | SEC cracks down on new $198M crypto fraud as it drops case against Hex’s Richard Heart...

Crypto News | SUI Skyrockets by 28% Daily as Bitcoin’s Price Reclaims $94K (Market Watch) Jordan Ly...

Crypto News | Cantor Fitzgerald spearheads $3B move into Bitcoin with Tether, SoftBank, and Bitfinex...

Will Bitcoin Price Hit $100K This Week or Crash Again?  Qadir AK | usagoldmines.com

Tesla Bitcoin Holdings Remain Untouched Despite Slump in TLSA Stock and Q1 Earnings Vignesh S G | us...

SGX Launching Bitcoin Perpetuals Futures in H2 2025 Victor | usagoldmines.com

Apple’s head of engineering plans to bring in Vision Pro group for Siri overhaul Hannah Collymore | ...

Analyst Says If Bitcoin Price Rallies, Altcoins Will. Here Are 3 To Rally The Hardest Cryptopolitan ...

ECB official criticizes Trump’s trade war as ‘lose-lose game Nellius Irene | usagoldmines.com

Tesla CFO says tariff concerns influence Tesla’s ‘careful’ entry into India’s market Collins J. Okot...

Kuwait issues new statement on the illegality of crypto mining Lara Abdul Malak | usagoldmines.com

Best Crypto To Turn $1,000 Into $100,000: Cardano, Dogecoin, Litecoin or Remittix? Cryptopolitan Med...

Bitcoin Spot Volume Nearly Triples As BTC Breaks $91,000 Keshav Verma | usagoldmines.com

Crypto News | FNT Crypto Announces Upcoming $FNTIO Token Sale Across Top-Tier Launchpads Ahead of T...

Crypto News | Meme Coins on Fire: TURBO, WIF, BONK, and PENGU Lead the Pack Dimitar Dzhondzhorov | ...

Crypto News | Trump has ‘no intention’ of firing Jerome Powell as Bitcoin hits $94k, oil rises, gold...

XRP Price News, Predictions and Targets Revealed Nidhi Kolhapur | usagoldmines.com

Gold Price Forecast for 2025 Revealed as Bitcoin Targets $100K Anjali Belgaumkar | usagoldmines.com

Crypto News: Tether, SoftBank, and Bitfinex Back $3B Bitcoin Investment Elena R | usagoldmines.com

XRP Futures Take Off on Coinbase, Hit $100M in Daily Volume Nidhi Kolhapur | usagoldmines.com

Why Ethereum Price is Up Today— Key Reasons Behind It Mustafa Mulla | usagoldmines.com

BTC as a Hedge Against Systemic Risk, Says Standard Chartered Victor | usagoldmines.com

Trump Media Partners with Crypto.com for Digital Asset ETFs Victor | usagoldmines.com

Trump’s Crypto Embrace Sparks EU Fears of Financial Fallout Victor | usagoldmines.com

Leave a Reply