{"id":"MAL-2026-12218","summary":"Malicious code in tailwind-animation-founder (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (212392bc085368a2f4227f1cba627c6dd4629855bb5f3aa3529931d35f13ed21)\nThe package publishes as 'tailwind-animation-founder' while its README, homepage, and npm badges point to a differently-named upstream ('tailwindcss-animationfound'), indicating a typosquat identity. src/index.js appends an obfuscated IIFE after a legitimate-looking Tailwind plugin export. The trailing block pulls http, https, and child_process.spawn into globals, uses a length-based string-shuffle routine to reconstruct the identifier 'constructor', instantiates a Function from a shuffle-decoded source blob, and immediately invokes it. The executable payload is only readable after runtime decoding, so the plugin performs opaque code execution the moment a build tool runs require('tailwind-animation-founder'). The combination of obfuscation, networking primitives (http/https), process-spawn capability, and Function-constructor evaluation on the main entry is the shape of a dropper/stealer, not a Tailwind utility plugin.\n","modified":"2026-08-05T10:06:29.129842967Z","published":"2026-08-05T09:06:25Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T09:28:24.344361225Z","modified_time":"2026-08-05T09:06:25Z","sha256":"212392bc085368a2f4227f1cba627c6dd4629855bb5f3aa3529931d35f13ed21","source":"amazon-inspector","versions":["2.5.7"],"id":"IN-MAL-2026-014547"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwind-animation-founder/v/2.5.7"}],"affected":[{"package":{"name":"tailwind-animation-founder","ecosystem":"npm","purl":"pkg:npm/tailwind-animation-founder"},"versions":["2.5.7"],"database_specific":{"indicators":{"evidence_files":[{"path":"src/index.js","sha256":"e9d6aa5ac88bf50a35f4c12b34664075649be0183d5d1bc4dfb46b2e880ed88a","tlsh":"c0c16cb55b88ea888012b1d897cf4563d021d5652acd8471f34fd8dbcb48960b2d7df6"},{"sha256":"99a6dcbbfe08a4da0b501f9c3f776b1d8ecd78d3a0fc2d9c2a35a761588d2bfa","tlsh":"31212911c9589d735281769a5aba0682446780430c98fe0d73ad825c8f8d66ff2be7ee","path":"package.json"}],"package_integrity":[{"filename":"tailwind-animation-founder-2.5.7.tgz","hashes":{"sha512_sri":"sha512-owkpnk8KKb3tPrGv51kJBVYUjrvJniJmPtqMbdNREZDGSqE8ttR+XPdqBPxZ52pvEfdtilmMg6cNFlT7zdmYcQ==","sha1":"ba5bb6ff57c7d988caf1397b2f328b1217b8826f"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-animation-founder/MAL-2026-12218.json","cwes":[{"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"}]}