Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesStocksEarnInstitutionAI & More
Three trusted npm libraries shipped poisoned versions that phone home through Ethereum

Three trusted npm libraries shipped poisoned versions that phone home through Ethereum

CryptopolitanCryptopolitan2026/08/13 18:03
By:Cryptopolitan

Sonatype Research Labs released findings that six npm packages pull their command server locations from an attacker’s Ethereum wallet.

Three of the six npm packages were well-known libraries that attackers quietly took over. Anyone who installed the affected versions should remove them and look for any follow-on code that may have executed.

Attackers hijacked three real libraries 

Sonatype researcher Adam Reynolds says the six packages fall into two buckets.

The publishing accounts of real libraries appear to have been compromised so a poisoned version could ship.

These are @kolbo/[email protected], [email protected], and [email protected]. They placed the loader on the end of a file that already came with the package, thus preserving the original functionality.

The other three were custom-built packages to carry the malware. They are [email protected], [email protected], and [email protected].

The first package ships configuration helpers, the other ships a working PostCSS plugin, and the last package buries the loader inside a minified utility file.

Sonatype confirmed that all six code blocks are using the same payload and Ethereum wallet.

When the victim runs the code, the loader queries Ethereum for the wallet’s last outbound transaction and extracts bytes from the recipient field of that transaction.

Those bytes translate to two IPv4 addresses. They serve as primary and secondary command-and-control servers for the malware. The transfer exists only to stash instructions on where the malware should connect.

Sonatype researchers said the loader hits multiple Ethereum RPC providers at once and races them against each other. It then batches its JSON-RPC calls and falls back to the Blockscout API if direct queries fail.

Once it finds a server, it tries two more stages at the endpoints `/0x/cls` and `/0x/ls`, falling back to an `X-Payload-B64` response header when a plain GET does not deliver the goods.

What comes back is Base64- and XOR-decoded, then run in the current Node.js process through `` or spawned as a detached child process.

NullReceiver is a leaner EtherHiding

This on-chain retrieval scheme was seen by OpenSourceMalware in two trojanized Tailwind CSS clones, bianira-ui and fluid-type-ui, and was named NullReceiver.

The activity is linked by the firm to the DPRK-linked Contagious Interview campaign associated with the Lazarus group. Sonatype verified the wallet match.

NullReceiver addresses a gap in EtherHiding, the technique Google Threat Intelligence attributed to a DPRK-linked actor in October 2025.

EtherHiding hides the secret inside the data field of a transaction and always sends to Ethereum’s public burn address, giving defenders a fixed point of reference to watch.

NullReceiver sends no data and does not reuse a destination. In the sample OpenSourceMalware deconstructed, the recipient bytes decoded to 166.88.134.62, with the trailing bytes spelling the string “helloipbot!!” as an attacker fingerprint.

In September 2025, Cryptopolitan reported that ReversingLabs had discovered npm downloaders colortoolv2 and mimelib2, which concealed malware URLs inside Ethereum smart contracts and were linked to Stargazer’s Ghost Network.

Sonatype said it is still looking into related npm activity. Affected developers should remove the flagged npm packages. They should also be looking for signs that a second-stage payload was executed.

0
0

Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.

Understand the market, then trade.
Bitget offers one-stop trading for cryptocurrencies, stocks, and gold.
Trade now!

You may also like

AI investment enters the "Trough of Disillusionment", the next 18 months will be a life-or-death test!

Goldman Sachs believes that the AI investment cycle is currently in the "trough of disillusionment," but this is not the first time. The core contradiction lies in the fact that the business models of new cloud computing providers are highly dependent on end-user returns from AI spending, while currently "there are basically zero companies that can attribute profits to AI." Social Capital founder Palihapitiya has clearly defined an 18-month key window, during which the market will decide which AI business models are sustainable and which are not.

华尔街见闻•2026/11/11 05:11
AI investment enters the "Trough of Disillusionment", the next 18 months will be a life-or-death test!

Anthropic's Core Concern: Revenue Can Be Withdrawn at Any Time, but Computing Power Costs Are Locked in for up to 20 Years

Zheshang Securities believes that Anthropic's revenue is mainly based on usage-based billing, with remaining performance obligations covering only about 5.1 months of annualized revenue, while compute power costs are already locked in with $895.4 billion in irrevocable commitments, some extending as far as 2045. Revenues can be reduced at any time, but costs are non-exitable, creating a highly asymmetric maturity gap between the two—this is the company's real core constraint.

华尔街见闻•2026/11/11 04:46
Anthropic's Core Concern: Revenue Can Be Withdrawn at Any Time, but Computing Power Costs Are Locked in for up to 20 Years

Triple Pressure from the Federal Reserve, Treasury, and Congress; Goldman Sachs: Liquidity Crisis May Occur in 2027

Goldman Sachs warns that the reserve ratio of bank assets has dropped to around 11%, only slightly above the crisis trough of 2019. In the second half of 2027, a deadlock in debt ceiling negotiations will force the Treasury to rebuild the TGA, triggering a "perfect storm" of a sharp drop in reserves and a surge in T-bill supply; combined with stalled money market fund buying, this will create a huge liquidity black hole. The Federal Reserve could be forced into the awkward position of lowering interest rates and launching large-scale bond purchases to rescue the market.

华尔街见闻•2026/11/11 04:12
Triple Pressure from the Federal Reserve, Treasury, and Congress; Goldman Sachs: Liquidity Crisis May Occur in 2027