tailwind-scrollbar-styles (npm) · Malicious Code
Affects tailwind-scrollbar-stylesSource GCVE Database
Malicious package : remove tailwind-scrollbar-styles and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15904
What to do
Remove tailwind-scrollbar-styles from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtailwind-scrollbar-styles | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The tailwind-scrollbar-styles npm package version 4.0.3 contains malicious code embedded in its dist/index.js file. This code executes a base64-encoded payload that queries Ethereum RPC endpoints to retrieve a transaction from a hardcoded Ethereum address. It decodes part of the transaction to obtain a command-and-control (C2) server IP address, fetches and XOR-decodes commands from that server, and executes them via eval and a detached Node.js process. After execution, the malicious code removes itself from the file to evade detection and forensic analysis. This mechanism allows the attacker to dynamically rotate the C2 server by publishing new Ethereum transactions. No patch or remediation information is provided.