{"id":"MAL-2026-12224","summary":"Malicious code in tailwindcss-scrollbar-hide (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1199d5059f205844a58fd599bb890d1056ea3127830ea4d6c13a7c08ffb6f6b9)\ndist/index.js appends `eval(atob('...'))` after the legitimate CSS-plugin export, so simply importing or requiring the package executes an obfuscated payload on the installer's machine. Identifiers in the payload (`http`, `https`, `child_process`, `spawn`, hostnames, RPC method names) are hidden with `\\u00XX` escapes. The decoded payload queries Ethereum public RPCs (1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) and eth.blockscout.com for the latest transaction from the attacker-controlled address 0xa322E5f3D311D3080e6f01210763e9aDC2490Ef1a, treats the first 8 bytes of that transaction's `to` field as two IPv4 addresses, fetches second-stage bytes from `http://\u003cip\u003e:443/0x/cls` and `http://\u003cip\u003e:443/0x/ls`, XOR-decodes them, and runs them via `eval` and a detached `spawn('node', ['-e',...], {detached: true, stdio: 'ignore', windowsHide: true}).unref()`. The advertised purpose is a zero-dependency pure-CSS Tailwind plugin; the presence of network, child_process, blockchain lookup, obfuscation, and dynamic code execution in that context has no legitimate purpose. The on-chain dead-drop lookup lets the operator rotate the C2 endpoint at will by broadcasting new transactions from the watched address.\n\n## Source: ghsa-malware (1aa721b0e8aaa04d464f303d279b81f869896720a9303f2c5af21d4725b4e16c)\nAny 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.\n","aliases":["GHSA-6r49-6vv4-wpp3"],"modified":"2026-08-06T01:21:25.933126583Z","published":"2026-08-05T09:15:51Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T09:28:30.60667186Z","modified_time":"2026-08-05T09:15:51Z","sha256":"1199d5059f205844a58fd599bb890d1056ea3127830ea4d6c13a7c08ffb6f6b9","source":"amazon-inspector","versions":["2.2.6"],"id":"IN-MAL-2026-014613"},{"id":"GHSA-6r49-6vv4-wpp3","import_time":"2026-08-06T00:58:53.306619379Z","modified_time":"2026-08-05T22:31:47Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"1aa721b0e8aaa04d464f303d279b81f869896720a9303f2c5af21d4725b4e16c","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-scrollbar-hide/v/2.2.6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6r49-6vv4-wpp3"}],"affected":[{"package":{"name":"tailwindcss-scrollbar-hide","ecosystem":"npm","purl":"pkg:npm/tailwindcss-scrollbar-hide"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.2.6"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha1":"d0ffcc83c7f2c240a5483e4804efe913f595f5b9","sha512_sri":"sha512-nltn3ViqxMxOfQqhHDFGA9JoJbJp4Gc4gkN6zLNh/Qw5Tx63AkimCspyU9QgJcHAdfTHY8m5TW70sOPYDGtumw=="},"filename":"tailwindcss-scrollbar-hide-2.2.6.tgz"}],"evidence_files":[{"sha256":"c233075b529057ad409cfb89342d7dae68691d04166a0e1417148548797aea07","tlsh":"00423da64692b687cf176926fe87170e237104b232dd6f24744f9d357388d4634ad60f","path":"dist/index.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-scrollbar-hide/MAL-2026-12224.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}