scrollbar-hide-pluginnpm
Advisory published Updated
scrollbar-hide-plugin is a confirmed malicious npm package (MAL-2026-12192) that opens a backdoor for remote access (malicious version 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in scrollbar-hide-plugin (npm)
What this malware does
The package's main entry (dist/index.js) appends an obfuscated payload — wrapped in eval(atob(...)) with require targets and URLs hidden in \uXXXX escapes — to an otherwise legitimate Tailwind scrollbar-hide plugin. When the package is required or imported, the payload queries Ethereum RPCs for transactions from a hardcoded address (0xa322e5f3d311d3080e6f0121063e9adc2490ef1a), decodes attacker IPv4 addresses from the transaction to field bytes, and fetches XOR-encoded JavaScript from those IPs on port 443 (paths /0x/cls and /0x/ls). The fetched code is then executed both via eval in-process and via spawn('node', ['-e',...], {detached:true}).unref() as a detached child process. The C2 destinations are resolved dynamically from on-chain data, so the operator can rotate infrastructure without republishing the package. The name resembles the legitimate tailwind-scrollbar-hide package (reslear/tailwind-scrollbar-hide), consistent with a name-squat trojan.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for scrollbar-hide-plugin (version 1.0.1).
If you installed it — respond
scrollbar-hide-plugin establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If scrollbar-hide-plugin was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks scrollbar-hide-plugin-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.