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

THORChain exploit turns DeFi halt into trust test

May 16, 2026

Ripple insider warns XRP holders as fake airdrop scams surge across XRPL

May 14, 2026

AI scams in crypto approach breaking point

April 26, 2026

For 93 minutes, installing Bitwarden’s ‘official’ CLI turned laptops into launchpads for hijacking GitHub accounts

April 24, 2026
Add A Comment

Comments are closed.

Editors Picks

Bitcoin is left stranded as Fed projections flip to 54% chance of rate hikes this year

May 20, 2026

Why $60K Is the Ultimate Bitcoin Floor: K33 Research

May 20, 2026

CME Bitcoin volatility futures bring a VIX-style trade to BTC

May 20, 2026

How Vulnerable Is Bitcoin to Quantum Computing?

May 20, 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

How a New Media Outlet Is Reshaping Crypto Journalism: The Just News Story

March 25, 2025

Bitcoin Price Risks Drop to $56K as Bear Flag Pattern Emerge   

March 19, 2026

Housing Crisis Pushes Young Americans Into Crypto Gambles: Study

November 30, 2025
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)$77,891.001.76%
  • ethereumEthereum(ETH)$2,140.711.67%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$653.412.44%
  • rippleXRP(XRP)$1.382.15%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$86.573.16%
  • tronTRON(TRX)$0.3593771.01%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.29%
  • dogecoinDogecoin(DOGE)$0.1050522.47%
  • HyperliquidHyperliquid(HYPE)$55.8317.16%
  • whitebitWhiteBIT Coin(WBT)$57.441.73%
  • zcashZcash(ZEC)$674.4116.34%
  • USDSUSDS(USDS)$1.000.02%
  • cardanoCardano(ADA)$0.2508531.50%
  • leo-tokenLEO Token(LEO)$10.090.55%
  • bitcoin-cashBitcoin Cash(BCH)$379.562.77%
  • moneroMonero(XMR)$405.323.12%
  • chainlinkChainlink(LINK)$9.722.95%
  • CantonCanton(CC)$0.1540943.91%
  • the-open-networkToncoin(TON)$2.045.46%
  • stellarStellar(XLM)$0.1459982.47%
  • USD1USD1(USD1)$1.000.04%
  • suiSui(SUI)$1.117.39%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • daiDai(DAI)$1.000.00%
  • litecoinLitecoin(LTC)$54.291.14%
  • avalanche-2Avalanche(AVAX)$9.363.02%
  • MemeCoreMemeCore(M)$2.98-14.09%
  • hedera-hashgraphHedera(HBAR)$0.0893861.06%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • RainRain(RAIN)$0.0075000.64%
  • shiba-inuShiba Inu(SHIB)$0.0000062.13%
  • crypto-com-chainCronos(CRO)$0.0695321.77%
  • Circle USYCCircle USYC(USYC)$1.120.00%
  • tether-goldTether Gold(XAUT)$4,527.411.53%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • BittensorBittensor(TAO)$275.897.67%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • uniswapUniswap(UNI)$3.656.14%
  • nearNEAR Protocol(NEAR)$1.749.48%
  • mantleMantle(MNT)$0.689.02%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.47%
  • polkadotPolkadot(DOT)$1.273.69%
  • pax-goldPAX Gold(PAXG)$4,528.401.56%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0628124.88%
  • OndoOndo(ONDO)$0.4056958.76%
  • HTX DAOHTX DAO(HTX)$0.0000021.27%
  • AsterAster(ASTER)$0.696.60%
  • Falcon USDFalcon USD(USDF)$1.000.02%
  • Ripple USDRipple USD(RLUSD)$1.00-0.02%
  • okbOKB(OKB)$81.002.11%
  • SkySky(SKY)$0.0705232.72%
  • Pi NetworkPi Network(PI)$0.1524373.78%
  • pepePepe(PEPE)$0.0000043.35%
  • usddUSDD(USDD)$1.000.03%
  • internet-computerInternet Computer(ICP)$2.573.50%
  • ethereum-classicEthereum Classic(ETC)$9.031.71%
  • bitget-tokenBitget Token(BGB)$2.000.30%
  • aaveAave(AAVE)$89.623.12%
  • BFUSDBFUSD(BFUSD)$1.00-0.02%
  • MorphoMorpho(MORPHO)$1.875.59%
  • kucoin-sharesKuCoin(KCS)$8.061.96%
  • USDtbUSDtb(USDTB)$1.000.05%
  • quant-networkQuant(QNT)$74.231.71%
  • algorandAlgorand(ALGO)$0.1184291.69%
  • Spiko EU T-Bills Money Market FundSpiko EU T-Bills Money Market Fund(EUTBL)$1.220.20%
  • cosmosCosmos Hub(ATOM)$2.052.01%
  • United StablesUnited Stables(U)$1.000.04%
  • render-tokenRender(RENDER)$1.926.05%
  • Janus Henderson Anemoy Treasury FundJanus Henderson Anemoy Treasury Fund(JTRSY)$1.100.01%
  • Superstate Short Duration U.S. Government Securities Fund (USTB)Superstate Short Duration U.S. Government Securities Fund (USTB)(USTB)$11.090.01%
  • polygon-ecosystem-tokenPOL (ex-MATIC)(POL)$0.0914082.00%
  • EthenaEthena(ENA)$0.1071444.37%
  • Blockchain CapitalBlockchain Capital(BCAP)$105.740.00%
  • kaspaKaspa(KAS)$0.0346602.87%
  • nexoNEXO(NEXO)$0.890.96%
  • worldcoin-wldWorldcoin(WLD)$0.2547756.68%
  • ​​Stable​​Stable(STABLE)$0.0347240.33%
  • aptosAptos(APT)$0.963.69%
  • filecoinFilecoin(FIL)$0.995.19%
  • justJUST(JST)$0.089463-2.42%
  • Venice TokenVenice Token(VVV)$16.401.06%
  • gatechain-tokenGate(GT)$7.091.75%
  • flare-networksFlare(FLR)$0.0084682.91%
  • JupiterJupiter(JUP)$0.2128069.31%
  • arbitrumArbitrum(ARB)$0.112012-0.25%
  • xdce-crowd-saleXDC Network(XDC)$0.0341886.43%
  • dexeDeXe(DEXE)$13.79-2.42%
  • dashDash(DASH)$50.4119.18%
  • Pump.funPump.fun(PUMP)$0.0017806.44%
  • beldexBeldex(BDX)$0.0787240.14%
  • Pudgy PenguinsPudgy Penguins(PENGU)$0.0093697.74%
  • GHOGHO(GHO)$1.000.02%
  • vechainVeChain(VET)$0.0066632.34%
  • GreyhuntGreyhunt(HUNT)$24.98616.60%
  • OUSGOUSG(OUSG)$115.310.01%
  • Usual USDUsual USD(USD0)$1.000.03%
  • Provenance BlockchainProvenance Blockchain(HASH)$0.010079-3.58%
  • bonkBonk(BONK)$0.0000063.76%