CRITICAL npm Malware

Malicious code in tailwind-scrollbar-hider (npm)

MAL-2026-14512 · GHSA-869j-r989-xpvr

Published · Modified

Dependency scanning

Check whether tailwind-scrollbar-hider is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes