MAL-2026-18594Malicious code in tailwind-form-core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tailwind-form-core | * |
| npm | tailwind-form-core | 0.5.5 |
{"schema_version":"1.7.4","id":"MAL-2026-18594","published":"2026-11-04T00:26:44Z","modified":"2026-11-04T07:39:27.376268476Z","aliases":["GHSA-8cm5-g9p9-26fr"],"summary":"Malicious code in tailwind-form-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (982a885e35238eeb63f37a2d7e87eac99ff0eaad0514cd7f61778e5511694d01)\nThe package's declared main entry src/index.js begins with eval(atob('<~50KB base64 blob>')) that runs on every require/import. Decoding the string-array reveals node:http/https, node:child_process (spawn), '[eval]', stdin.write, and Ethereum RPC calls (eth_blockNumber, eth_getTransactionCount, eth_getBlockByNumber) issued to publicnode.com and drpc.org, plus Blockscout txlist queries ('/api?module=account&action=txlist'). The loader retrieves attacker-controlled payload data from these blockchain/dead-drop endpoints and executes it by piping into a spawned 'node -e' child process, yielding arbitrary code execution on the consumer host whenever the module is loaded. The payload destinations are concealed through obfuscator.io-style string-array + base64 wrapping with runtime index decoders (_0x5c1d/_0xa42d). The legitimate @tailwindcss/forms plugin source (plugin.withOptions(...)) is appended after the eval() so the package appears functional. package.json impersonates Tailwind Labs by falsifying repository to 'tailwindlabs/tailwindcss-forms' and author to '@tailwindcss', while the real package name 'tailwind-form-core' is a lookalike of the official '@tailwindcss/forms'.\n\n## Source: ghsa-malware (c3a5d7c9b46c3501aae2d2ddeb597b15ad7d122180f8d7c7a961ab94ea96621e)\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","affected":[{"package":{"name":"tailwind-form-core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.5.5"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"src/index.js","sha256":"5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24e","tlsh":"38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67"},{"path":"package.json","sha256":"68d1c500705fe321cfe9c4d426650781cffd307f34c29df0ac03e3f139655412","tlsh":"f621a536cd140e7302e0283592f90183b2a79863895cfc193386c19c8f8d5bfe0b909e"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8cm5-g9p9-26fr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwind-form-core/v/0.5.5"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-8cm5-g9p9-26fr","import_time":"2026-11-04T00:37:30.042290511Z","modified_time":"2026-11-04T00:26:44Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"c3a5d7c9b46c3501aae2d2ddeb597b15ad7d122180f8d7c7a961ab94ea96621e","source":"ghsa-malware"},{"id":"IN-MAL-2026-022540","import_time":"2026-11-04T07:37:35.403241393Z","modified_time":"2026-11-04T07:35:27Z","sha256":"982a885e35238eeb63f37a2d7e87eac99ff0eaad0514cd7f61778e5511694d01","source":"amazon-inspector","versions":["0.5.5"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0