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

Creator of over 100 memecoins says rug pulls are the ‘easiest way to make money’

May 18, 2025

Jan 2024 SEC’s X account hacker got 14 months in prison for cyber fraud

May 18, 2025

How an insider-led breach sparked a costly scam at Coinbase

May 15, 2025

ZachXBT reveals Coinbase users lost another $45M in a week to ongoing social engineering scams

May 7, 2025
Add A Comment

Comments are closed.

Editors Picks

BPI releases policy manifesto urging US to lead in Bitcoin infrastructure

May 21, 2025

SUI Flips XRP in Institutional Inflows

May 21, 2025

Web3 Ai Leads With $777K Giveaway

May 21, 2025

OnRe, Backed by Ethena, Solana Ventures, and RockawayX Launches Structured Yield Product Combining Real-World Stability and On-Chain Upside

May 21, 2025
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

Is This the Next Crypto Coin to Boom? Experts Say It Has 100x Potential

February 10, 2025

Litecoin: Can LTC Hit $135 This Weekend?

February 20, 2025

Will Bears Dominate ETH Price?

May 8, 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)$109,662.002.75%
  • ethereumEthereum(ETH)$2,573.041.78%
  • tetherTether(USDT)$1.000.00%
  • rippleXRP(XRP)$2.402.00%
  • binancecoinBNB(BNB)$675.203.87%
  • solanaSolana(SOL)$174.193.61%
  • usd-coinUSDC(USDC)$1.000.00%
  • dogecoinDogecoin(DOGE)$0.2365674.65%
  • cardanoCardano(ADA)$0.774.09%
  • tronTRON(TRX)$0.268180-0.31%
  • staked-etherLido Staked Ether(STETH)$2,572.431.93%
  • wrapped-bitcoinWrapped Bitcoin(WBTC)$109,345.002.80%
  • suiSui(SUI)$3.952.36%
  • Wrapped stETHWrapped stETH(WSTETH)$3,091.511.71%
  • chainlinkChainlink(LINK)$16.183.19%
  • avalanche-2Avalanche(AVAX)$23.363.63%
  • HyperliquidHyperliquid(HYPE)$28.397.44%
  • stellarStellar(XLM)$0.2946102.56%
  • shiba-inuShiba Inu(SHIB)$0.0000152.51%
  • hedera-hashgraphHedera(HBAR)$0.1983702.01%
  • bitcoin-cashBitcoin Cash(BCH)$412.975.11%
  • leo-tokenLEO Token(LEO)$8.871.00%
  • the-open-networkToncoin(TON)$3.111.22%
  • litecoinLitecoin(LTC)$97.643.35%
  • polkadotPolkadot(DOT)$4.771.81%
  • moneroMonero(XMR)$391.3111.64%
  • USDSUSDS(USDS)$1.000.00%
  • WETHWETH(WETH)$2,569.691.87%
  • Wrapped eETHWrapped eETH(WEETH)$2,742.821.78%
  • bitget-tokenBitget Token(BGB)$5.231.71%
  • Pi NetworkPi Network(PI)$0.8410.78%
  • Binance Bridged USDT (BNB Smart Chain)Binance Bridged USDT (BNB Smart Chain)(BSC-USD)$1.00-0.04%
  • pepePepe(PEPE)$0.0000144.23%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • Coinbase Wrapped BTCCoinbase Wrapped BTC(CBBTC)$109,581.002.74%
  • whitebitWhiteBIT Coin(WBT)$30.10-0.28%
  • BittensorBittensor(TAO)$451.669.22%
  • uniswapUniswap(UNI)$6.355.26%
  • aaveAave(AAVE)$249.91-3.17%
  • daiDai(DAI)$1.000.01%
  • nearNEAR Protocol(NEAR)$2.893.01%
  • aptosAptos(APT)$5.313.37%
  • okbOKB(OKB)$52.510.60%
  • Jito Staked SOLJito Staked SOL(JITOSOL)$209.523.57%
  • OndoOndo(ONDO)$0.994.52%
  • kaspaKaspa(KAS)$0.1120731.81%
  • crypto-com-chainCronos(CRO)$0.0980371.67%
  • ethereum-classicEthereum Classic(ETC)$19.164.14%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Official TrumpOfficial Trump(TRUMP)$14.471.49%
  • Tokenize XchangeTokenize Xchange(TKX)$36.01-0.13%
  • internet-computerInternet Computer(ICP)$5.402.82%
  • gatechain-tokenGate(GT)$21.901.85%
  • vechainVeChain(VET)$0.0294103.37%
  • Ethena Staked USDeEthena Staked USDe(SUSDE)$1.170.00%
  • render-tokenRender(RENDER)$4.813.60%
  • mantleMantle(MNT)$0.74-0.48%
  • EthenaEthena(ENA)$0.4073797.43%
  • sUSDSsUSDS(SUSDS)$1.050.02%
  • cosmosCosmos Hub(ATOM)$5.013.70%
  • polygon-ecosystem-tokenPOL (ex-MATIC)(POL)$0.2440485.64%
  • USD1USD1(USD1)$1.00-0.11%
  • fetch-aiArtificial Superintelligence Alliance(FET)$0.828.38%
  • Lombard Staked BTCLombard Staked BTC(LBTC)$109,622.003.32%
  • arbitrumArbitrum(ARB)$0.4142505.07%
  • algorandAlgorand(ALGO)$0.2314463.33%
  • filecoinFilecoin(FIL)$2.984.35%
  • fasttokenFasttoken(FTN)$4.420.49%
  • worldcoin-wldWorldcoin(WLD)$1.218.84%
  • CelestiaCelestia(TIA)$2.66-0.46%
  • Jupiter Perpetuals Liquidity Provider TokenJupiter Perpetuals Liquidity Provider Token(JLP)$4.631.83%
  • Sonic (prev. FTM)Sonic (prev. FTM)(S)$0.512.16%
  • bonkBonk(BONK)$0.0000214.24%
  • Binance-Peg WETHBinance-Peg WETH(WETH)$2,572.471.78%
  • first-digital-usdFirst Digital USD(FDUSD)$1.000.32%
  • JupiterJupiter(JUP)$0.534.86%
  • Binance Staked SOLBinance Staked SOL(BNSOL)$183.183.50%
  • quant-networkQuant(QNT)$98.821.64%
  • blockstackStacks(STX)$0.947.45%
  • FartcoinFartcoin(FARTCOIN)$1.4310.31%
  • kucoin-sharesKuCoin(KCS)$11.35-2.92%
  • Kelp DAO Restaked ETHKelp DAO Restaked ETH(RSETH)$2,676.171.53%
  • Virtuals ProtocolVirtuals Protocol(VIRTUAL)$2.002.22%
  • nexoNEXO(NEXO)$1.27-0.04%
  • flare-networksFlare(FLR)$0.0191571.20%
  • StoryStory(IP)$4.48-0.69%
  • immutable-xImmutable(IMX)$0.684.32%
  • optimismOptimism(OP)$0.754.28%
  • sei-networkSei(SEI)$0.2326373.82%
  • injective-protocolInjective(INJ)$12.604.23%
  • rocket-pool-ethRocket Pool ETH(RETH)$2,918.581.74%
  • makerMaker(MKR)$1,752.301.65%
  • USDT0USDT0(USDT0)$1.000.09%
  • eosEOS(EOS)$0.76-3.72%
  • xdce-crowd-saleXDC Network(XDC)$0.0714111.51%
  • dogwifhatdogwifhat(WIF)$1.1212.85%
  • the-graphThe Graph(GRT)$0.1157364.02%
  • Solv Protocol BTCSolv Protocol BTC(SOLVBTC)$109,552.002.91%
  • curve-dao-tokenCurve DAO(CRV)$0.755.57%
  • flokiFLOKI(FLOKI)$0.0001034.37%