Skip to main content

Malicious code in tailwindcss-hide-scrollbar (npm)

0
High
Published: 08/06/2026 (08/06/2026, 13:56:23 UTC)
Source: GCVE Database
Product: tailwindcss-hide-scrollbar

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ac906893a6ea1562025bfa35bf4f1998cfd745619f21c4dc3880aa386dc3cfe1) dist/index.js exports a small tailwind scrollbar-hide plugin followed by a trailing eval(atob('<~32KB obfuscator.io payload>')) that executes on every require()/import of the package. The decoded payload pulls in http, https, zlib and child_process.spawn (with require('child_proc'+'ess') split-string obfuscation and an obfuscator.io string-array dispatcher) and contains hardcoded Ethereum JSON-RPC method names (eth_getBlockByNumber, eth_blockNumber), etherscan-style transaction listing paths (?module=account&action=...&startblock=0&endblock=99999999), a process.env.ETH_RPC_URL read, and hardcoded RPC/explorer hosts under drpc.org, publicnode.com, blockscout.com and blast-api.io. A CSS utility plugin has no legitimate need for network I/O, spawned child processes, or dynamic evaluation of an obfuscated blob. The package name inverts the word order of the established tailwind-scrollbar-hide plugin, consistent with a typosquat carrier for the loader. ## Source: ghsa-malware (db8f8e9574e99a7ff90f6934b87642ac2408d46e35bd267f6281d3e8061071db) 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.

Affected software

npmghsa
tailwindcss-hide-scrollbar
Affected versions
=2.5.4=2.5.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 18:31:40 UTC

Technical Analysis

The tailwindcss-hide-scrollbar npm package versions 2.5.3 and 2.5.4 include a malicious payload hidden in an obfuscated eval call within dist/index.js. This payload executes on every import and uses Node.js modules such as http, https, zlib, and child_process.spawn to perform network requests and spawn processes. It targets Ethereum JSON-RPC methods and blockchain explorer APIs, reading environment variables like ETH_RPC_URL and connecting to hardcoded RPC and explorer hosts. The package name is a deliberate inversion of the legitimate tailwind-scrollbar-hide plugin, consistent with typosquatting tactics to trick developers into installing malicious code.

Potential Impact

Users who install and import this package risk executing malicious code that can perform unauthorized network communications and spawn child processes on their systems. This could lead to data leakage, system compromise, or unauthorized blockchain interactions. The malicious behavior is hidden behind obfuscation and dynamic evaluation, increasing the risk of unnoticed exploitation in development or production environments.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid installing or using the tailwindcss-hide-scrollbar package, especially versions 2.5.3 and 2.5.4. Verify dependencies carefully to avoid typosquatted packages and prefer the legitimate tailwind-scrollbar-hide plugin. Monitor package sources and use trusted registries. Patch status is not yet confirmed — check the vendor advisory or official npm security advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13424
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a74cf8cbf8831d5391ae5da

Added to database: 08/06/2026, 18:16:44 UTC

Last enriched: 08/06/2026, 18:31:40 UTC

Last updated: 09/18/2026, 02:12:01 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses