MAL-2026-14038Malicious code in tailwind-toolkit (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tailwind-toolkit | 1.3.2 |
{"modified":"2026-08-14T14:10:32Z","published":"2026-08-14T14:10:32Z","schema_version":"1.7.4","id":"MAL-2026-14038","summary":"Malicious code in tailwind-toolkit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (afeb355b3088d1c03dbbb5a60c1afea5afbe3a384f50417ae6cfa7340d8c072d)\nThe package presents itself as a Tailwind CSS plugin, but its default export (which runs when users register it in tailwind.config) issues an HTTPS request to a hardcoded bare-IP endpoint at 31.97.137.157:45000/icons/109 and passes the response body's `credits` field into `new Function(require, module, exports,...)` for execution in the installer's Node process. The destination URL is assembled from split variables and disguised with CDN/icon vocabulary (an unused `iconDomain` map referencing cloudflare/fastly/akamai, a `bearrtoken: \"logo\"` header, a response field named `credits`), while the actual host is an unrelated bare IP on a non-standard port. The package also declares dependencies on @primno/dpapi (Windows DPAPI credential decryption), better-sqlite3/sqlite3 (browser cookie and Login Data databases), and node-machine-id, indicating the retrieved payload is a browser-credential stealer. The remote host and executed bytes are fully attacker-controlled and unrelated to the advertised Tailwind CSS purpose.\n","affected":[{"package":{"ecosystem":"npm","name":"tailwind-toolkit"},"versions":["1.3.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"52f0e0867043e5bdee7b75188beca44929ccfdc656d42c09f76cea538d9d54d9","tlsh":"e8c1716546fa31a36a63e0edf30f10027165e313375de931f48e42902fca568e5f24e8"}],"package_integrity":[{"filename":"tailwind-toolkit-1.3.2.tgz","hashes":{"sha1":"5b85c9d63ca8c9b9d0fd1fc53c3f4dee027b3005","sha512_sri":"sha512-C2rwhc4qxSBW6PEfKH1bpYmSNvhFehX3lfHfmKUVKg3vpJ3WWjjrsZ8WPOW5YWjeL4gCcAg9gE4YA+Mc/y88mw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwind-toolkit/v/1.3.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017750","import_time":"2026-08-14T14:28:05.716642398Z","modified_time":"2026-08-14T14:10:32Z","sha256":"afeb355b3088d1c03dbbb5a60c1afea5afbe3a384f50417ae6cfa7340d8c072d","source":"amazon-inspector","versions":["1.3.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0