Crypto-Stealing Malware Infiltrates Core JavaScript Libraries Used by Millions

The NPM (node packet manager) account of developer ‘qix’ was compromised, allowing hackers to publish malicious versions of his packages.

The attackers published malicious versions of dozens of extremely popular JavaScript packages, including fundamental utilities. The hack was massive in scope since the affected packages have over 1 billion combined weekly downloads.

This attack on the software supply chain specifically targets the JavaScript/Node.js ecosystem.

Crypto Clipper Malware

The malicious code was a “crypto-clipper” designed to steal cryptocurrency by swapping wallet addresses in network requests and hijacking crypto transactions directly. It was also heavily obfuscated to avoid detection.

The crypto-stealing malware has two attack vectors. When no crypto wallet extension is found, the malware intercepts all network traffic by replacing the browser’s native fetch and HTTP request functions with extensive lists of attacker-owned wallet addresses.

Using sophisticated address swapping, it employs algorithms to find replacement addresses that look visually similar to legitimate ones, making the fraud nearly impossible to spot with the naked eye, said cybersecurity researchers.

If a crypto wallet is found, the malware intercepts transactions before signing, and when users initiate transactions, it modifies them in memory to redirect funds to attacker addresses.

The attack targeted packages such as ‘chalk,’ ‘strip-ansi,’ ‘color-convert,’ and ‘color-name,’ which are core building blocks buried deep in the dependency trees of countless projects.

The attack was discovered accidentally when a build pipeline failed with a “fetch is not defined” error as the malware attempted to exfiltrate data using the fetch function.

“If you use a hardware wallet, pay attention to every transaction before signing, and you’re safe. If you don’t use a hardware wallet, refrain from making any on-chain transactions for now,” advised Ledger CEO Charles Guillemet.

Broad Attack Vector

While the malware’s payload specifically targets cryptocurrency, the attack vector is much broader. It affects any environment running JavaScript/Node.js applications, such as web applications running in browsers, desktop applications, server-side Node.js applications, and mobile apps using JavaScript frameworks.

So a regular business web application could unknowingly include these malicious packages, but the malware would only activate when users interact with cryptocurrency on that site.

Uniswap and Blockstream were among the first to reassure users that their systems were not at risk.

SPECIAL OFFER (Sponsored)

Binance Free $600 (CryptoPotato Exclusive): Use this link to register a new account and receive $600 exclusive welcome offer on Binance (full details).

LIMITED OFFER for CryptoPotato readers at Bybit: Use this link to register and open a $500 FREE position on any coin!



Source link

Martin Young

https://cryptopotato.com/crypto-stealing-malware-infiltrates-core-javascript-libraries-used-by-millions/

2025-09-09 22:03:00

bitcoin
Bitcoin (BTC) $ 86,708.00 0.13%
ethereum
Ethereum (ETH) $ 2,809.99 1.02%
tether
Tether (USDT) $ 0.99998 0.02%
xrp
XRP (XRP) $ 2.03 1.69%
bnb
BNB (BNB) $ 831.70 0.55%
usd-coin
USDC (USDC) $ 0.999804 0.00%
tron
TRON (TRX) $ 0.277355 0.24%
staked-ether
Lido Staked Ether (STETH) $ 2,809.67 1.44%
dogecoin
Dogecoin (DOGE) $ 0.13616 1.84%
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.03 1.21%
cardano
Cardano (ADA) $ 0.389491 0.66%
whitebit
WhiteBIT Coin (WBT) $ 57.84 3.77%
wrapped-steth
Wrapped stETH (WSTETH) $ 3,429.53 1.02%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 86,623.00 0.31%
bitcoin-cash
Bitcoin Cash (BCH) $ 532.50 0.81%
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 3,046.59 0.96%
usds
USDS (USDS) $ 0.999821 0.01%
leo-token
LEO Token (LEO) $ 9.84 0.59%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.999697 0.01%
chainlink
Chainlink (LINK) $ 12.08 1.88%
hyperliquid
Hyperliquid (HYPE) $ 30.73 2.04%
weth
WETH (WETH) $ 2,811.50 1.01%
stellar
Stellar (XLM) $ 0.233713 1.26%
monero
Monero (XMR) $ 396.61 6.91%
wrapped-eeth
Wrapped eETH (WEETH) $ 3,041.90 1.53%
ethena-usde
Ethena USDe (USDE) $ 0.999305 0.14%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 86,778.00 0.06%
litecoin
Litecoin (LTC) $ 77.79 1.22%
hedera-hashgraph
Hedera (HBAR) $ 0.133069 1.83%
avalanche-2
Avalanche (AVAX) $ 12.92 1.85%
zcash
Zcash (ZEC) $ 333.76 13.75%
sui
Sui (SUI) $ 1.35 3.01%
shiba-inu
Shiba Inu (SHIB) $ 0.000008 0.79%
dai
Dai (DAI) $ 0.999121 0.05%
susds
sUSDS (SUSDS) $ 1.08 0.30%
world-liberty-financial
World Liberty Financial (WLFI) $ 0.152504 3.41%
paypal-usd
PayPal USD (PYUSD) $ 0.999915 0.02%
crypto-com-chain
Cronos (CRO) $ 0.102605 0.91%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.21 0.04%
usdt0
USDT0 (USDT0) $ 0.99999 0.02%
the-open-network
Toncoin (TON) $ 1.50 0.57%
uniswap
Uniswap (UNI) $ 5.53 1.98%
polkadot
Polkadot (DOT) $ 2.05 1.42%
mantle
Mantle (MNT) $ 0.977967 3.69%
canton-network
Canton (CC) $ 0.077418 8.64%
usd1-wlfi
USD1 (USD1) $ 0.999454 0.02%
aave
Aave (AAVE) $ 169.53 0.87%
bittensor
Bittensor (TAO) $ 265.29 3.22%
bitget-token
Bitget Token (BGB) $ 3.46 0.38%
memecore
MemeCore (M) $ 1.40 1.32%