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

The next big DeFi exploit will start before the code is deployed

May 26, 2026

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
Add A Comment

Comments are closed.

Editors Picks

SpaceX IPO Sparks Crypto Sell-Off? $250B Drains Market Liquidity

June 10, 2026

On-Chain Age Metrics Hint At Potential Bounce

June 10, 2026

Hyperliquid price slides 11%: What’s behind the sell-off and what comes next

June 10, 2026

Talks Turn Rocky As Ethics Fight And Law Enforcement Fears Threaten Deal

June 10, 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

Bitcoin Price to Six-Month Low Hits Recent Buyers Hardest: More Pain Ahead?

November 15, 2025

Ethereum Overtakes Bitcoin in Futures Market—ETH Rally?

July 10, 2025

Russia Greenlights Crypto for Global Trade

April 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)$61,113.00-2.23%
  • ethereumEthereum(ETH)$1,619.88-2.88%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$582.31-2.75%
  • usd-coinUSDC(USDC)$1.000.02%
  • rippleXRP(XRP)$1.11-4.21%
  • solanaSolana(SOL)$63.28-4.17%
  • tronTRON(TRX)$0.3221570.10%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.54%
  • dogecoinDogecoin(DOGE)$0.083192-2.36%
  • HyperliquidHyperliquid(HYPE)$55.96-9.27%
  • USDSUSDS(USDS)$1.000.00%
  • leo-tokenLEO Token(LEO)$9.490.36%
  • RainRain(RAIN)$0.0131051.06%
  • zcashZcash(ZEC)$415.95-11.38%
  • CantonCanton(CC)$0.163573-0.09%
  • stellarStellar(XLM)$0.185586-5.14%
  • WhiteBIT CoinWhiteBIT Coin(WBT)$50.2912.81%
  • cardanoCardano(ADA)$0.159530-4.53%
  • moneroMonero(XMR)$312.65-2.05%
  • chainlinkChainlink(LINK)$7.64-2.75%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • USD1USD1(USD1)$1.00-0.04%
  • ToncoinToncoin(TON)$1.65-4.21%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$195.08-4.90%
  • MemeCoreMemeCore(M)$2.85-3.61%
  • hedera-hashgraphHedera(HBAR)$0.077946-2.79%
  • litecoinLitecoin(LTC)$42.04-0.70%
  • suiSui(SUI)$0.74-1.29%
  • Circle USYCCircle USYC(USYC)$1.130.00%
  • PayPal USDPayPal USD(PYUSD)$1.00-0.03%
  • LABLAB(LAB)$9.01-14.99%
  • avalanche-2Avalanche(AVAX)$6.46-3.25%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.09%
  • crypto-com-chainCronos(CRO)$0.059453-2.90%
  • nearNEAR Protocol(NEAR)$2.05-5.22%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,151.94-3.79%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.130.37%
  • BittensorBittensor(TAO)$204.79-4.42%
  • pax-goldPAX Gold(PAXG)$4,162.22-3.78%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0594877.07%
  • mantleMantle(MNT)$0.53-1.55%
  • OndoOndo(ONDO)$0.341971-5.75%
  • WorldcoinWorldcoin(WLD)$0.489512-4.46%
  • AsterAster(ASTER)$0.62-0.02%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • polkadotPolkadot(DOT)$0.93-3.27%
  • AudieraAudiera(BEAT)$5.4115.86%
  • HTX DAOHTX DAO(HTX)$0.000002-0.47%
  • uniswapUniswap(UNI)$2.44-2.18%
  • okbOKB(OKB)$70.34-3.67%
  • Falcon USDFalcon USD(USDF)$0.99-0.02%
  • usddUSDD(USDD)$1.00-0.01%
  • Pi NetworkPi Network(PI)$0.125196-2.85%
  • BFUSDBFUSD(BFUSD)$1.00-0.02%
  • SkySky(SKY)$0.055141-2.48%
  • MorphoMorpho(MORPHO)$1.9510.57%
  • internet-computerInternet Computer(ICP)$2.23-3.43%
  • bitget-tokenBitget Token(BGB)$1.76-3.54%
  • PepePepe(PEPE)$0.000003-2.65%
  • ethereum-classicEthereum Classic(ETC)$6.90-1.35%
  • United StablesUnited Stables(U)$1.00-0.01%
  • USDtbUSDtb(USDTB)$1.00-0.06%
  • Spiko EU T-Bills Money Market FundSpiko EU T-Bills Money Market Fund(EUTBL)$1.22-0.21%
  • Blockchain CapitalBlockchain Capital(BCAP)$106.960.00%
  • quant-networkQuant(QNT)$64.96-2.89%
  • cosmosCosmos Hub(ATOM)$1.803.96%
  • aaveAave(AAVE)$60.75-2.14%
  • Invesco Short Duration US Government Securities FundInvesco Short Duration US Government Securities Fund(USTB)$11.110.03%
  • DeXeDeXe(DEXE)$18.97-16.13%
  • Janus Henderson Anemoy Treasury FundJanus Henderson Anemoy Treasury Fund(JTRSY)$1.110.01%
  • kaspaKaspa(KAS)$0.0314750.46%
  • kucoin-sharesKuCoin(KCS)$6.390.20%
  • ​​Stable​​Stable(STABLE)$0.03483312.99%
  • render-tokenRender(RENDER)$1.55-5.19%
  • algorandAlgorand(ALGO)$0.089394-2.27%
  • POL (ex-MATIC)POL (ex-MATIC)(POL)$0.074344-1.62%
  • nexoNEXO(NEXO)$0.780.07%
  • EthenaEthena(ENA)$0.077772-3.38%
  • 币安人生 (BinanceLife)币安人生 (BinanceLife)(币安人生)$0.70-0.48%
  • Janus Henderson Anemoy AAA CLO FundJanus Henderson Anemoy AAA CLO Fund(JAAA)$1.040.02%
  • justJUST(JST)$0.078715-5.48%
  • gatechain-tokenGate(GT)$6.30-1.87%
  • Venice TokenVenice Token(VVV)$13.55-13.58%
  • xdce-crowd-saleXDC Network(XDC)$0.031253-1.51%
  • BeldexBeldex(BDX)$0.0794170.18%
  • GHOGHO(GHO)$1.00-0.02%
  • FlareFlare(FLR)$0.006892-3.21%
  • filecoinFilecoin(FIL)$0.74-2.77%
  • Provenance BlockchainProvenance Blockchain(HASH)$0.0105027.10%
  • Usual USDUsual USD(USD0)$1.000.00%
  • YLDSYLDS(YLDS)$1.000.01%
  • SirenSiren(SIREN)$0.75-39.15%
  • aptosAptos(APT)$0.64-3.88%
  • MidnightMidnight(NIGHT)$0.030902-3.29%
  • Pump.funPump.fun(PUMP)$0.001454-6.87%
  • injective-protocolInjective(INJ)$5.06-11.85%