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 | 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

Why Mutuum Finance (MUTM) Is Poised To Be The Only Under $0.5 Altcoin To Deliver 16,490% ROI In 6 Mo...

China kneecaps Tesla’s humanoid robot army before it even launches Jai Hamid | usagoldmines.com

Bitcoin Price Surges Above $90K, Whale Transactions Spike For These Top Altcoins Cryptopolitan Media...

Saudi Arabia submits draft for Global AI Hub Law Lara Abdul Malak | usagoldmines.com

George Clooney predicts Democrats will win the House 2026 due to Trump’s economic mess Florence Much...

Bitcoin (BTC) liquidated over $300M in short positions in rally above $93,000 Hristina Vasileva | us...

US Spot Bitcoin ETFs Notch Biggest Inflow Since January As BTC Price Touches $94,000 Brenda Ngari | ...

SEC Drops Plan to Refile Securities Fraud Case Against Hex Founder Richard Heart Amin Ayan | usagold...

Bitcoin Regains $90K With Funding Rates Indicating Momentum Toward $93K Samuel Edyme | usagoldmines....

Crypto News | Cantor Joins SoftBank and Tether to Launch Fund Seeded With $3B BTC Martin Young | us...

Crypto News | B2Broker: The Prime Liquidity Engine Powering Crypto CFD Markets Worldwide​ News Desk ...

Bitcoin to $10 Million? Michael Saylor Makes His Boldest Prediction Yet Anjali Belgaumkar | usagold...

Why Is Bitcoin Price Up Today? Here’s What’s Fueling the Surge Vignesh S G | usagoldmines.com

Binance Tightens KYC Rules in India for AML Compliance Lawrence Mike Woriji | usagoldmines.com

CNBC’s Jim Cramer says the recent market rally would sustain Noor Bazmi | usagoldmines.com

Cantor Fitzgerald partners with Tether, SoftBank and Bitfinex to launch $3B Bitcoin crypto venture C...

Trump is panicked over the tariffs course, his comments point to China being ‘in control’ Florence M...

Bitcoin Rockets To Monthly Highs As Open Interest Explodes By Over $3 Billion Christian Encila | usa...

Crypto News | Crypto Market Cap Tops $3T in 6-Week High as Altcoins Catch Up Martin Young | usagold...

Crypto News | XRP, ADA, DOGE Prices Breaking Out: Here Are The Next Targets Jordan Lyanchev | usago...

Crypto News | Forbes Features LBank: Driving Global Crypto Adoption Through Memecoins and Infrastru...

Crypto News: SEC Exposes Fake Crypto Trading Platform That Cost Investors $198 Million Nidhi Kolhapu...

Trump Warns: “Perfect Time” for FED Rate Cuts — Will Jerome Powell Listen? Zameer Attar | usagoldmin...

Trump says he has “no intention” of firing Powell Noor Bazmi | usagoldmines.com

Warren Buffett now owns about 5% of all US Treasury bills Jai Hamid | usagoldmines.com

XRP Price Prediction: Is Ripple Set To Follow BTC and RTX To New Highs? Cryptopolitan Media | usagol...

Australian Federal Court Dismisses ASIC Appeal, Favoring Crypto Lender Block Earner Sujha Sundararaj...

Bitcoin Shoots Above $90,000—Will $92,000 Fall Next? Jake Simmons | usagoldmines.com

XRP Gains Ground in Weekly Crypto Inflows as Ethereum Continues Downtrend Samuel Edyme | usagoldmine...

Pi Coin Price Prediction Today: Can it Hit $1 Ahead of Massive 223M Token Unlock? Anjali Belgaumkar...

Why is XRP Price Going Up Today? Anjali Belgaumkar | usagoldmines.com

Arthur Hayes says Treasury buybacks are about to send Bitcoin past $110K toward $200K Jai Hamid | us...

Elon Musk says he’s ready to leave DOGE next month, Tesla stock surges in anticipation Jai Hamid | u...

Tesla Posts $951M in Bitcoin Holdings Despite 20% Drop in Q1 Auto Revenue Shalini Nagarajan | usagol...

Bitcoin Must Clear This Critical Cost Basis Level For Continued Upside, Analyst Says Ash Tiwari | us...

BNB Price Reclaims $600 — Is This the Start of a Major Upside Move? Aayush Jindal | usagoldmines.com

Crypto News | Crypto Whale Nets $153M Profit After Unstaking 100K SOL Wayne Jones | usagoldmines.co...

Why Crypto Market Is Up Today? Bitcoin Price Surge Past $93K Qadir AK | usagoldmines.com

Wall Street’s pivot on the U.S. market: warns of a ‘sell America’ trade Collins J. Okoth | usagoldmi...

Bitcoin Rips 6% Higher Above $93K After Trump Ditches Powell Firing Plans Shalini Nagarajan | usagol...

Cantor Fitzgerald to Launch $3B Bitcoin Investment Vehicle With Tether and SoftBank: Report Shalini ...

Ethereum Price Breaks Out With 15% Rally — $1,800 Resistance Under Pressure Aayush Jindal | usagoldm...

XRP Price Momentum Spikes — $2.25 Break Could Spark Bigger Rally Aayush Jindal | usagoldmines.com

Why Did Crypto Go Up Today? Shiba Inu Price, SUI Crypto News , HBAR News, FED Rate Cuts Qadir AK | u...

US stocks, dollar, Bitcoin, Ether, and XRP surge after Trump said he won’t fire Fed chair Powell Jai...

Crypto Comeback? Bitcoin Surges 10%+ in Sudden Upside Move Aayush Jindal | usagoldmines.com

XRP Network Activity Jumps 67% In 24 Hours – Big Move Ahead? Sebastian Villafuerte | usagoldmines.co...

Is Bitcoin Breaking Free From Wall Street? Here’s What the Latest Price Action Signals Arslan Butt |...

Is The Bitcoin Price Top In At $109,000 Already? What The MVRV Z-Score Says Scott Matherson | usagol...

Crypto News | Gold’s trillion‑dollar climb shows Bitcoin has room to catch up Andjela Radmilac | usa...

Could This $0.025 Crypto Outperform Solana (SOL) in 2025? DeepSeek AI Sees It Hitting $5 in 4 Months...

Crypto News | DeFi lending protocols gain $2.3B in TVL, fueling token outperformance Gino Matos | us...

Crypto News | Spot Bitcoin ETFs score $395M in inflows in 4 trading days Andjela Radmilac | usagoldm...

Australian court rules in favor of crypto lender, dismissing ASIC’s appeal Nellius Irene | usagoldmi...

Over Half of South Koreans Have Crypto Trading Experience – Survey Tim Alper | usagoldmines.com

Bitcoin Cash (BCH) Looks Ready To Climb After A Strong Price Rebound Godspower Owie | usagoldmines.c...

Crypto News | Bitcoin poised for breakout as US Term Premium hits 12-Year high – StanChart Assad Jaf...

Crypto Liquidations Surpasses $600M as Bitcoin Price Teases $94k Steve Muchoki | usagoldmines.com

Intel results put new CEO Tan’s strategy under limelight, as he reverses its slipups Enacy Mapakame ...

Central bank of Kazakhstan pushes for national crypto exchange Lubomir Tassev | usagoldmines.com

Metaplanet CEO Doubles Down: 10K BTC Goal, Yield Soars 119% Hassan Shittu | usagoldmines.com

Sui Price Analysis: Massive Bullish Breakout Opens Door to Rapid 2x SUI Rally  Joel Frank | usagoldm...

The White House signals progress on potential U.S.-China trade deal Noor Bazmi | usagoldmines.com

U.S. is ready to offer FX credit line to Argentina Noor Bazmi | usagoldmines.com

Ethereum Holds Above MVRV Band Low – A Final Dip Before Recovery? Sebastian Villafuerte | usagoldmin...

Crypto News | California Crypto Self-Custody and Payments Bill Passes Committee Martin Young | usag...

Crypto News | European Central Bank warns of ‘contagion’ stemming from Trump’s pro-crypto policies A...

Crypto News | Former SEC adviser warns regulation by enforcement persists despite federal shakeup Gi...

XRP Ledger Foundation confirms SDK breach and issues urgent fix Cryptopolitan News | usagoldmines.co...

Top Investors Identify A $0.025 Token Set to Deliver $24,500 from $100 in 6 Months: Should You Buy I...

Ripple’s XRP ETF Approval Poised to Catapult XRP Bulls to Never-Before-Seen Levels  Olivia Brooke | ...

Trump Policy Shakeup Halts KuCoin $300M CFTC Settlement Talks Julia Smith | usagoldmines.com

Is Bitcoin the New Gold? 20% Surge Breaks Its Nasdaq Ties Harvey Hunter | usagoldmines.com

CNBC Poll: 50% Disapprove of Elon Musk as Tesla Profit Drops 71% Julia Smith | usagoldmines.com

Leave a Reply