Malicious code in tailwind-scrollbar-hider (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14512
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (aaa2dba899c9723740dfcc2fe8588bcf695f021442bbe8de1156239029bf7987) dist/index.js exports a small legitimate scrollbarHide Tailwind plugin and then executes `eval(atob('<~39KB base64>'))` at module top level, so the payload runs on any require()/import of the package. The decoded body is packed with an obfuscator.io-style string-array dispatcher (`_0x355e` / `_0x12f0` with shuffling) that hides all string literals, and it dynamically resolves `node:http`, `node:https`, `node:zlib`, and `child_process.spawn` via `createRequire(import.meta.url)`. At runtime it assembles an Ethereum RPC endpoint list from `process.env.ETH_RPC_URL` plus hardcoded providers including `*.publicnode.com` and `h.drpc.org`, together with an indexer URL and a hardcoded `SENDER` Ethereum address, and issues `eth_blockNumber` and block-range requests — the shape of an on-chain wallet-monitoring / drainer relay embedded in a CSS-only utility. A Tailwind scrollbar-hiding plugin has no legitimate need to eval a base64 blob, spawn child processes, open network sockets, or scan Ethereum blocks on import. ## Source: ghsa-malware (419e7970b5bc0bd5afe8a044ba0c64352a634818d5a96f850657ff8506af5677) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 25 Aug 2026 16:33:19 UTC
- Source modified
- 31 Aug 2026 18:31:28 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.