Close Menu
Cryphedge.com
  • Home
  • Crypto News
    • Bitcoin
    • NFT News
  • Altcoins
  • Scams
  • Blockchain
  • Regulations
  • Trading
Facebook X (Twitter) Instagram
Cryphedge.com
  • Home
  • Crypto News
    • Bitcoin
    • NFT News
  • Altcoins
  • Scams
  • Blockchain
  • Regulations
  • Trading
Cryphedge.com
Home » XRP Ledger developer kit compromised with backdoor to steal wallet private keys
XRP Ledger developer kit compromised with backdoor to steal wallet private keys

XRP Ledger developer kit compromised with backdoor to steal wallet private keys

April 22, 20253 Mins ReadNo Comments Scams
Share
Facebook Twitter LinkedIn Pinterest Email

Aikido Security disclosed a vulnerability in the XRP Ledger’s (XRPL) official JavaScript SDK, revealing that multiple compromised versions of the XRPL Node Package Manager (NPM) package were published to the registry starting April 21. 

The affected versions, v4.2.1 through v4.2.4 and v2.14.2, contained a backdoor capable of exfiltrating private keys, posing a severe risk to crypto wallets that relied on the software.

An NPM package is a reusable module for JavaScript and Node.js projects designed to simplify installation, updates, and removal.

According to Aikido Security, its automated threat monitoring platform flagged the anomaly at 8:53 PM UTC on April 21 when NPM user “mukulljangid” published five new versions of the XRPL package.

These releases did not match any tagged releases on the official GitHub repository, prompting immediate suspicion of a supply chain compromise.

Malicious code embedded in the wallet logic

Aikido’s analysis found that the compromised packages contained a function called checkValidityOfSeed, which made outbound calls to the newly registered and unverified domain 0x9c[.]xyz. 

The function was triggered during the instantiation of the wallet class, causing private keys to be silently transmitted when creating a wallet.

Early versions (v4.2.1 and v4.2.2) embedded the malicious code in the built JavaScript files. Subsequent versions (v4.2.3 and v4.2.4) introduced the backdoor into the TypeScript source files, followed by their compilation into production code. 

The attacker appeared to iterate on evasion techniques, shifting from manual JavaScript manipulation to deeper integration in the SDK’s build process.

The report stated that this package is used by hundreds of thousands of applications and websites, describing the event as a targeted attack against the crypto development infrastructure. 

The compromised versions also removed development tools such as prettier and scripts from the package.json file, further indicating deliberate tampering.

XRP Ledger Foundation and ecosystem response

The XRP Ledger Foundation acknowledged the issue in a public statement published via X on April 22. It stated:

“Earlier today, a security researcher from @AikidoSecurity identified a serious vulnerability in the xrpl npm package (v4.2.1–4.2.4 and v2.14.2). We are aware of the issue and are actively working on a fix. A detailed post-mortem will follow.”

Mark Ibanez, CTO of XRP Ledger-based Gen3 Games, said his team avoided the compromised package versions with a “bit of luck.”

He added: 

“Our package.json specified ‘xrpl’: ‘^4.1.0’, which means that, under normal circumstances, any compatible minor or patch version—including potentially compromised ones—could have been installed during development, builds, or deployments.”

However, Gen3 Games commits its pnpm-lock.yaml file to version control. This practice ensured that exact versions, not newly published ones, were installed during development and deployment.

Ibanez emphasized several practices to mitigate risks, such as always committing the “lockfile” to version control, using Performant NPM (PNPM) when possible, and avoiding the use of the caret (^) symbol in package.json to prevent unintended version upgrades.

The software developer kit maintained by Ripple and distributed through NPM receives over 140,000 downloads per week, with developers widely using it to build applications on the XRP Ledger. 

The XRP Ledger Foundation removed the affected versions from the NPM registry shortly after the disclosure. Still, it remains unknown how many users had integrated the compromised versions before the issue was flagged.

Mentioned in this article
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
cryphedge

Related Posts

380 investors face Bitcoin mining losses after alleged $22M US scheme put just 13% into mining

July 21, 2026

Crypto investor charged with using 8 companies and new investor cash to keep an alleged $20M fraud alive

July 20, 2026

Crypto malware in 8 Steam games steals tokens after leaving trail to Uber Eats deliveries

July 19, 2026

Robinhood Chain tokens are reportedly vanishing from wallets causing buyers to lose funds

July 13, 2026
Add A Comment

Comments are closed.

Editors Picks

380 investors face Bitcoin mining losses after alleged $22M US scheme put just 13% into mining

July 21, 2026

Trump backs crypto ethics limits, putting CLARITY Act decision in Democrats’ hands

July 21, 2026

BitMine is now $484 million away from completing its 5% Ethereum target

July 21, 2026

Bitcoin CLARITY Act Deal Pushes BTC Toward $67,000

July 21, 2026
About

cryphedge is an online news portal that aims to share the latest crypto news, bitcoin, altcoin, blockchain, nft news, regulation, trading, crypto scams and much more stuff.

Facebook X (Twitter) Instagram Pinterest YouTube
Top Insights

Oil Above the Comfort Zone: How Iran Risk Reprices S&P 500 Inflation Exposure

June 11, 2026

Expert Sees Big Move Loading for XRP, Realistic Price Prediction

June 28, 2025

BNB Price Prediction: Monthly Target Challenges Resistance

March 24, 2026
Subscribe
Please enable JavaScript in your browser to complete this form.
Loading
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms of Use
  • DMCA

Type above and press Enter to search. Press Esc to cancel.

  • bitcoinBitcoin(BTC)$66,329.001.81%
  • ethereumEthereum(ETH)$1,921.351.19%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$573.070.49%
  • usd-coinUSDC(USDC)$1.000.01%
  • rippleXRP(XRP)$1.142.95%
  • solanaSolana(SOL)$77.970.45%
  • tronTRON(TRX)$0.3291650.84%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.010.44%
  • HyperliquidHyperliquid(HYPE)$60.78-2.75%
  • dogecoinDogecoin(DOGE)$0.0732921.85%
  • RainRain(RAIN)$0.0149686.29%
  • USDSUSDS(USDS)$1.000.01%
  • zcashZcash(ZEC)$532.89-2.48%
  • leo-tokenLEO Token(LEO)$9.71-0.24%
  • WhiteBIT CoinWhiteBIT Coin(WBT)$57.731.61%
  • moneroMonero(XMR)$353.404.53%
  • stellarStellar(XLM)$0.1925062.20%
  • chainlinkChainlink(LINK)$8.620.73%
  • cardanoCardano(ADA)$0.1727201.83%
  • CantonCanton(CC)$0.1261311.93%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$224.011.79%
  • Gram (prev. Toncoin)Gram (prev. Toncoin)(GRAM)$1.547.46%
  • USD1USD1(USD1)$1.00-0.01%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • litecoinLitecoin(LTC)$46.88-1.14%
  • Global DollarGlobal Dollar(USDG)$1.000.03%
  • suiSui(SUI)$0.770.50%
  • hedera-hashgraphHedera(HBAR)$0.0697624.82%
  • Circle USYCCircle USYC(USYC)$1.13-0.01%
  • avalanche-2Avalanche(AVAX)$6.56-0.24%
  • PayPal USDPayPal USD(PYUSD)$1.000.01%
  • crypto-com-chainCronos(CRO)$0.0583261.23%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.0000040.95%
  • nearNEAR Protocol(NEAR)$1.93-1.95%
  • tether-goldTether Gold(XAUT)$4,074.321.56%
  • uniswapUniswap(UNI)$3.702.64%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.30%
  • OndoOndo(ONDO)$0.39427711.35%
  • BittensorBittensor(TAO)$199.182.05%
  • pax-goldPAX Gold(PAXG)$4,070.511.64%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056446-0.79%
  • okbOKB(OKB)$82.170.77%
  • AsterAster(ASTER)$0.630.38%
  • HTX DAOHTX DAO(HTX)$0.0000020.22%
  • Ripple USDRipple USD(RLUSD)$1.00-0.03%
  • MemeCoreMemeCore(M)$1.17-2.96%
  • usddUSDD(USDD)$1.000.03%
  • SkySky(SKY)$0.0631222.43%
  • aaveAave(AAVE)$94.996.18%
  • polkadotPolkadot(DOT)$0.853.22%
  • mantleMantle(MNT)$0.4297891.09%
  • Falcon USDFalcon USD(USDF)$1.00-0.01%
  • MorphoMorpho(MORPHO)$2.042.47%
  • WorldcoinWorldcoin(WLD)$0.3761810.17%
  • BFUSDBFUSD(BFUSD)$1.000.03%
  • internet-computerInternet Computer(ICP)$2.211.02%
  • PepePepe(PEPE)$0.000003-1.43%
  • bitget-tokenBitget Token(BGB)$1.713.35%
  • ethereum-classicEthereum Classic(ETC)$6.991.21%
  • United StablesUnited Stables(U)$1.00-0.05%
  • Spiko EU T-Bills Money Market FundSpiko EU T-Bills Money Market Fund(EUTBL)$1.20-0.08%
  • Pi NetworkPi Network(PI)$0.093749-5.44%
  • USDGOUSDGO(USDGO)$1.000.01%
  • Blockchain CapitalBlockchain Capital(BCAP)$106.200.01%
  • quant-networkQuant(QNT)$64.49-0.41%
  • kucoin-sharesKuCoin(KCS)$6.69-0.10%
  • ​​Stable​​Stable(STABLE)$0.0368272.74%
  • Janus Henderson Anemoy Treasury FundJanus Henderson Anemoy Treasury Fund(JTRSY)$1.110.01%
  • POL (ex-MATIC)POL (ex-MATIC)(POL)$0.079970-0.25%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.15-0.09%
  • ADIADI(ADI)$6.66-1.08%
  • EthenaEthena(ENA)$0.0865305.25%
  • justJUST(JST)$0.100660-0.80%
  • AudieraAudiera(BEAT)$2.594.55%
  • Pump.funPump.fun(PUMP)$0.0020080.65%
  • render-tokenRender(RENDER)$1.541.61%
  • kaspaKaspa(KAS)$0.0285770.82%
  • Invesco Short Duration US Government Securities FundInvesco Short Duration US Government Securities Fund(USTB)$11.150.03%
  • cosmosCosmos Hub(ATOM)$1.48-0.72%
  • nexoNEXO(NEXO)$0.77-0.10%
  • algorandAlgorand(ALGO)$0.0845021.57%
  • gatechain-tokenGate(GT)$6.730.06%
  • Janus Henderson Anemoy AAA CLO FundJanus Henderson Anemoy AAA CLO Fund(JAAA)$1.040.02%
  • JupiterJupiter(JUP)$0.1991442.09%
  • BeldexBeldex(BDX)$0.0829860.63%
  • GHOGHO(GHO)$1.000.05%
  • filecoinFilecoin(FIL)$0.775.36%
  • 币安人生 (BinanceLife)币安人生 (BinanceLife)(币安人生)$0.61-4.27%
  • Venice TokenVenice Token(VVV)$12.579.98%
  • LighterLighter(LIT)$2.388.88%
  • FlareFlare(FLR)$0.0067734.94%
  • arbitrumArbitrum(ARB)$0.088888-0.85%
  • xdce-crowd-saleXDC Network(XDC)$0.0292533.68%
  • YLDSYLDS(YLDS)$1.000.01%
  • Usual USDUsual USD(USD0)$1.000.05%
  • injective-protocolInjective(INJ)$5.32-0.23%
  • USXUSX(USX)$1.000.00%