Dormant npm Packages Poisoned with a Loader That Hides Its Server on Ethereum

Summary
Six malicious releases across four dormant npm packages use loaders that retrieve server IPs from Ethereum transactions and run additional code in memory. The second stage and any resulting activity are unknown.
Key points
- On November 3, 2026, six new versions of four packages were published; each package’s latest tag pointed to a malicious release.
- The loader runs when a project loads a package with require; disabling install scripts does not prevent execution.
- The loader queries public Ethereum endpoints for a wallet’s latest transaction, extracts server IPs, and fetches further code over HTTP on port 443.
- One variant runs a second stage in a separate node -i process; Greenflagged did not analyze the second stage or contact the servers.
- The releases came from the maintainer account clockbook-app; whether the account was hijacked or the activity is linked to an August npm worm is unknown.
- The packages had fewer than 100 combined downloads in the preceding week, and all six malicious versions were still available when checked on November 4.
- The article advises checking lockfiles, treating machines that loaded an affected version as compromised, rotating accessible credentials, and pinning or removing the packages.
Article Details
- Attack Vectors
- On November 3, 2026, malicious versions of four dormant npm packages were published with the latest tag pointing to a malicious release, so a plain npm install could select it.
- The loader executes when a project loads an affected package with require; it does not rely on an install script.
- The loader queries public Ethereum endpoints for a wallet’s latest transaction and extracts server IP addresses from the transaction’s recipient address.
- It retrieves a payload over plain HTTP on port 443, decodes it, and runs it in the host process; it then fetches a second stage and runs it in a separate node -i process through standard input, without writing it to disk.
- The first variant uses hidden tab characters and eval(atob(...)); a later variant uses character swapping and the Function constructor.
- The second stage was not analyzed, so its subsequent activity is unknown.
- Defensive Notes
- Search package-lock.json, yarn.lock, and pnpm-lock.yaml for the six malicious versions, including transitive dependencies.
- If an affected package was installed and loaded, treat the machine or CI runner as compromised and rotate credentials it could access, including npm and GitHub tokens, cloud keys, and CI secrets.
- Pin or remove the affected packages; the article lists the last releases before November 3 as utils 0.0.16-128, client-redux 0.0.16-17, server-hemera-mongo 0.0.11, and health-api-server 0.0.18-alpha.464.
- Look for Ethereum JSON-RPC calls from server processes, plain HTTP on port 443, the Sec-V request header, the x-payload-b64 response header, paths /0x/cls and /0x/ls, the listed server IPs, and node -i processes started by another Node process.
- Install from a committed lockfile using npm ci to prevent an unexpected latest release from entering a build.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| IPV4 | 103[.]179[.]143[.]219 | Listed by Greenflagged as one of four IP addresses used so far by the malicious loader's servers. |
| IPV4 | 166[.]88[.]134[.]75 | Listed by Greenflagged as one of four IP addresses used so far by the malicious loader's servers. |
| IPV4 | 23[.]27[.]13[.]72 | Listed by Greenflagged as one of four IP addresses used so far by the malicious loader's servers. |
| IPV4 | 95[.]135[.]181[.]151 | Listed by Greenflagged as one of four IP addresses used so far by the malicious loader's servers. |
MITRE ATT&CK
T1027 · Obfuscated Files or InformationThe first variant hides its loader after more than 100 tab characters and uses encoded code; another variant uses character swapping and the Function constructor.T1059.007 · JavaScriptThe JavaScript loader executes when an affected package is loaded with require and runs retrieved code using eval or the Function constructor.T1071.001 · Web ProtocolsThe loader requests its next stage from a server over plain HTTP on port 443.T1105 · Ingress Tool TransferThe loader retrieves a payload from its server and then fetches a second stage.T1140 · Deobfuscate/Decode Files or InformationThe first variant decodes the loader with atob, and the retrieved payload is decoded before execution.T1195.002 · Compromise Software Supply ChainMalicious versions were published to the npm registry under four package names, with each package's latest tag pointing to a malicious release.T1620 · Reflective Code LoadingThe retrieved payload is decoded and run in the host process without being written to disk.
