Ethereum, Solana Wallets Targeted in ‘npm’ Attack With Billions of Downloads, Just 5 Cents Taken Ethereum, Solana Wallets Targeted in ‘npm’ Attack With Billions of Downloads, Just 5 Cents Taken

Ethereum, Solana Wallets Targeted in ‘npm’ Attack With Billions of Downloads, Just 5 Cents Taken

A phishing email on Monday took down one of Node.js’s most prolific developers by pushing malicious code into packages downloaded billions of times a week, in what researchers call the largest software supply-chain attack in recent times.

While the scope of the attack is massive, Security Alliance said in a Tuesday report that the attacker walked away with barely a few cents. However, security teams now face the substantial cost of updating backend systems to counter further attacks.

A very popular maintainer whose work (like chalk and debug-js) gets used in billions of downloads every week, known as “qix,” responsible for libraries such as chalk and debug-js, was compromised last week after receiving an email from support@npmjs[.]help. The domain once pointed to a Russian server and redirected to a spoofed two-factor authentication page hosted on the content delivery network BunnyCDN.

The credential stealer harvested username, password, and 2FA codes before sending them to a remote host. With full access, the attacker republished every qix package with a crypto-focused payload.

Node Package Manager (shortened to npm, not NPM) is like an app store for developers and is where coders download little building blocks of code (called packages) instead of writing everything from scratch. A maintainer is the person or entity who creates and updates those packages.

How the attack happened

The injected code was simple. It checked if window.ethereum was present and, if so, hooked into Ethereum’s core transaction functions. Calls to approve, permit, transfer, or transferFrom were silently rerouted to a single wallet, “0xFc4a4858bafef54D1b1d7697bfb5c52F4c166976.”

Any Ethereum transaction with value and no data was also redirected. For Solana, the malware overwrote recipients with an invalid string beginning “1911…,” breaking transfers outright.

Network requests were also intercepted.

By hijacking fetch and XMLHttpRequest, the malware scanned JSON responses for substrings resembling wallet addresses and replaced them with one of 280 hardcoded alternatives to look deceptively similar.

Impact of the attack

But for all the distribution, the impact was negligible.

On-chain data shows the attacker received only around five cents of ether and about $20 worth of an illiquid memecoin that traded less than $600 in volume, the Security Alliance report said.

Popular browser wallet MetaMask also said on X that it was not affected by the npm supply chain attack as the wallet locks its code versions, uses manual and automated checks, and releases updates in stages. It also employs “LavaMoat,” which blocks malicious code even if inserted, and “Blockaid,” which rapidly flags compromised wallet addresses, to keep such attacks at bay.

Meanwhile, Ledger CTO Charles Guillemet warned that the malicious code had been pushed into packages with over a billion downloads and was designed to silently replace wallet addresses in transactions.

The attack follows another case flagged last week by ReversingLabs, where npm packages used Ethereum smart contracts to conceal malware links — a technique that disguised command-and-control traffic as ordinary blockchain calls.



Source link

Shaurya Malwa

https://www.coindesk.com/markets/2025/09/09/ethereum-solana-wallets-targeted-in-massive-npm-attack-but-just-5-cents-taken

2025-09-09 13:00:00

bitcoin
Bitcoin (BTC) $ 121,748.00 0.07%
ethereum
Ethereum (ETH) $ 4,410.90 1.21%
bnb
BNB (BNB) $ 1,301.26 0.93%
tether
Tether (USDT) $ 1.00 0.02%
xrp
XRP (XRP) $ 2.81 1.59%
solana
Solana (SOL) $ 223.90 1.27%
usd-coin
USDC (USDC) $ 0.999697 0.00%
staked-ether
Lido Staked Ether (STETH) $ 4,410.87 1.13%
dogecoin
Dogecoin (DOGE) $ 0.246507 0.19%
tron
TRON (TRX) $ 0.338618 0.39%
cardano
Cardano (ADA) $ 0.812664 0.60%
wrapped-steth
Wrapped stETH (WSTETH) $ 5,367.65 1.12%
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 4,761.76 1.20%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 121,706.00 0.01%
chainlink
Chainlink (LINK) $ 21.90 0.13%
ethena-usde
Ethena USDe (USDE) $ 0.998542 0.21%
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.02 2.07%
sui
Sui (SUI) $ 3.44 1.04%
hyperliquid
Hyperliquid (HYPE) $ 45.25 2.44%
stellar
Stellar (XLM) $ 0.377412 0.51%
avalanche-2
Avalanche (AVAX) $ 28.34 0.29%
wrapped-eeth
Wrapped eETH (WEETH) $ 4,763.50 1.10%
bitcoin-cash
Bitcoin Cash (BCH) $ 577.67 0.08%
weth
WETH (WETH) $ 4,420.75 1.01%
hedera-hashgraph
Hedera (HBAR) $ 0.212592 2.07%
litecoin
Litecoin (LTC) $ 116.94 0.52%
leo-token
LEO Token (LEO) $ 9.66 0.05%
mantle
Mantle (MNT) $ 2.65 11.28%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.99668 0.65%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 121,798.00 0.09%
usds
USDS (USDS) $ 0.999268 0.05%
usdt0
USDT0 (USDT0) $ 1.00 0.03%
shiba-inu
Shiba Inu (SHIB) $ 0.000012 0.36%
the-open-network
Toncoin (TON) $ 2.73 0.63%
crypto-com-chain
Cronos (CRO) $ 0.19283 3.80%
whitebit
WhiteBIT Coin (WBT) $ 43.72 0.75%
monero
Monero (XMR) $ 336.39 4.43%
polkadot
Polkadot (DOT) $ 4.05 2.61%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.20 0.05%
world-liberty-financial
World Liberty Financial (WLFI) $ 0.177788 0.68%
uniswap
Uniswap (UNI) $ 7.82 0.54%
dai
Dai (DAI) $ 0.999822 0.08%
okb
OKB (OKB) $ 212.03 2.44%
aave
Aave (AAVE) $ 279.12 0.15%
ethena
Ethena (ENA) $ 0.563674 4.41%
bitget-token
Bitget Token (BGB) $ 5.68 1.22%
pepe
Pepe (PEPE) $ 0.000009 0.89%
near
NEAR Protocol (NEAR) $ 2.89 2.11%
aptos
Aptos (APT) $ 5.04 4.53%
memecore
MemeCore (M) $ 2.04 2.31%