{"id":"MAL-2026-15905","summary":"Malicious code in tailwindcss-3d-styles (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6afb2de10208993a1e7511cb81a6f11806561b389673da3fa24d22598178b744)\nThe package's main entry point fetches a JavaScript file from http://23.27.245.100:3000/index.js over plain HTTP at require time, writes the response to./inout.js in the current working directory, and require()s the resulting file — causing arbitrary code from that host to execute in the Node process of any consumer importing this package. The remaining code is a copy of the legitimate `tailwindcss-3d` library (per the manifest's repository/homepage), and the published name `tailwindcss-3d-styles` differs from the upstream `tailwindcss-3d`, using the upstream library as cover for the appended dropper.\n","modified":"2026-09-04T04:30:05.856890770Z","published":"2026-09-04T03:46:16Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019456","import_time":"2026-09-04T04:21:21.135434037Z","modified_time":"2026-09-04T03:46:16Z","sha256":"6afb2de10208993a1e7511cb81a6f11806561b389673da3fa24d22598178b744","source":"amazon-inspector","versions":["1.2.4"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-3d-styles/v/1.2.4"}],"affected":[{"package":{"name":"tailwindcss-3d-styles","ecosystem":"npm","purl":"pkg:npm/tailwindcss-3d-styles"},"versions":["1.2.4"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"tlsh":"80511284bfa2d4c09703c3f2aade59436975fe590061b0e5f3b4c16e54c86dac396b2b","path":"index.js","sha256":"a03b78ff51485bb93d441168c51c9d44fd048506dbf00a47a0ac6970d91c8e0a"},{"tlsh":"11f08b22d924693307d826d087ea1947b1a70d174414bc5e37f3821dcbbd6af60fc25e","path":"package.json","sha256":"2d4950024e071696e867561ab48810907ef8205da476711f058871db60feb0ec"}],"package_integrity":[{"filename":"tailwindcss-3d-styles-1.2.4.tgz","hashes":{"sha1":"b97de277403cf73df3d55fe66bb101d4316ad77e","sha512_sri":"sha512-/B53Dtxx62siWLbrUlsJJE88kUPffo8b3Ng8pfvpTsJRE4PsV6j9aLc94/nLQuyIEWFqlBmeARY+KpbePApDug=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-3d-styles/MAL-2026-15905.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}