tailwind-hide-scrollbar
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-97j6-7w7w-7vj3
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tailwind-hide-scrollbar (npm)
---
_-= Per source details. Do not edit below this line.=-_
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0