{"id":"MAL-2026-16262","summary":"Malicious code in tailwindcss-form-ui (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c7a21e4623006a0c69e3dfeb80857eadd9102550c8a77c1d95e880245a5f0fa9)\nPackage name and repository field impersonate the legitimate tailwindlabs/tailwindcss-forms plugin, but the shipped main entry src/index.js is a fully obfuscated (obfuscator.io string-array) module that has nothing to do with Tailwind CSS. On module load it imports node:child_process (spawn), node:http/https, node:zlib and node:url, builds a list of Ethereum JSON-RPC endpoints (process.env.ETH_RPC_URL, *.publicnode.com, drpc.org, 1rpc.io/eth, blockscout) and an Etherscan-style txlist URL for the hardcoded sender address 0xa322E5f39aDC2490EfD311D3080e6f0121063e1a, and polls eth_blockNumber / eth_getBlockByNumber / eth_getTransactionCount to retrieve attacker-published transactions. The retrieved payloads are decompressed via gunzip/inflate/brotli and passed to child_process.spawn, giving whoever controls that Ethereum address arbitrary command execution on any host that requires or imports the package. The on-chain command channel is takedown-resistant. The Tailwind-forms identity, the obfuscated main, and the require-time RCE together form a cover-story typosquat delivering installer-side remote code execution.\n","modified":"2026-09-17T20:30:05.734283450Z","published":"2026-09-17T19:51:15Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020139","import_time":"2026-09-17T20:18:44.980237849Z","modified_time":"2026-09-17T19:51:15Z","sha256":"c7a21e4623006a0c69e3dfeb80857eadd9102550c8a77c1d95e880245a5f0fa9","source":"amazon-inspector","versions":["0.5.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-form-ui/v/0.5.1"}],"affected":[{"package":{"name":"tailwindcss-form-ui","ecosystem":"npm","purl":"pkg:npm/tailwindcss-form-ui"},"versions":["0.5.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"filename":"tailwindcss-form-ui-0.5.1.tgz","hashes":{"sha1":"6ad4e9d33db7ff1f025da8ee3be606323f0f48ca","sha512_sri":"sha512-pukhSsK+8SK6vgskhwNxkr5IlhRnIEtpu84CISV2zwKNY8gQ01l8NMMDCIdoKlUMFh16b+l9O23Fe0r/6H3wiQ=="}}],"evidence_files":[{"sha256":"f5fd0ca9d7642087d0edf609c126197b4d958cc2e1d576c62d444287444e229d","tlsh":"9503e9957e81121a33434f7fba1bf4e4e12a1899369448c7d21cbc94f8e631ae9f6d34","path":"src/index.js"},{"path":"package.json","sha256":"3d69860a60dfe83778e5d2fdf8e93d8cf796283d9832663ffe00ade9c8a6c79c","tlsh":"a421c822cd140e7301e0293596f905837297a463895cf81a3396c19ccf8d6bfe0f909f"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-form-ui/MAL-2026-16262.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}