Malicious code in tailwind-hide-scrollbar (npm)
MAL-2026-12116 · GHSA-97j6-7w7w-7vj3
Published · Modified
Dependency scanning
Check whether tailwind-hide-scrollbar 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 (cb0348430af0110be6ac537a38b5bb98983ec6b6f8f1474778ff16e4a4f4e8d8)
dist/index.js appends an eval(atob('...')) payload after the legitimate export default scrollbarHide; line. The decoded payload queries Ethereum RPC endpoints (eth.blockscout.com/api, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for the latest transaction from hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, interprets bytes of the to field as IPv4 addresses, HTTP GETs http://<ip>:443/0x/cls and http://<ip>:443/0x/ls, XOR-decrypts the responses, then evals the first stage and spawn('node', ['-e', payload], {detached:true, stdio:'ignore', windowsHide:true}).unref() to run the second stage detached. Inner strings such as child_process, http, https, spawn, and User-Agent are stored as \uXXXX unicode escapes to defeat static grep, wrapped in an outer base64 blob. The payload fires when any consumer imports the package, granting full Node-level remote code execution on the installer's host; the on-chain C2 resolution (EtherHiding) makes the destination attacker-mutable and resistant to takedowns.
Source: ghsa-malware (982fe4a221da9b1452c033aeb2bf4472aff7fe03166d6874abc2d3162ba8998b)
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.
References
- PACKAGE https://www.npmjs.com/package/tailwind-hide-scrollbar/v/2.1.5
- ADVISORY https://github.com/advisories/GHSA-97j6-7w7w-7vj3
- PACKAGE https://www.npmjs.com/package/tailwind-hide-scrollbar/v/2.2.0
- PACKAGE https://www.npmjs.com/package/tailwind-hide-scrollbar/v/0.0.1
- PACKAGE https://www.npmjs.com/package/tailwind-hide-scrollbar/v/2.2.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes