tailwind-extension-kit
Affected
- Versions:
1.3.2
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tailwind-extension-kit (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (7048fbbdab179b32cf7705e06d396bc0fb6a04df45872a6119324a545d8d03db)
Package is presented as a Tailwind CSS utility, but its default export getPlugin fetches JSON from a hardcoded bare-IP endpoint (https://31.97.137.157:45000/icons/109) and passes the returned data.credits field to new Function(...) bound with require, process, module, and Buffer, then invokes it. Following the README's instruction to register the default export as a Tailwind plugin causes Tailwind to invoke getPlugin, executing attacker-controlled JavaScript with full Node.js capabilities on the developer's machine. Cover-story framing (variables named IconProvider/iconDomain, a CDN hostname map for cloudflare/fastly/akamai/cloudfront, a /ajax/libs/font-awesome/... path fragment, a bearrtoken: "logo" header, and an unused setDefaultModule decoy) masks the loader as icon retrieval. Declared runtime dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with browser-credential and cookie-stealer payloads that the fetched code can deploy.
Not rated by the source.
1.3.2None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0