tailwind-plugin-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-plugin-kit (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (3e480310d422f93f8558763cca56b726148c94b19e20eec879f0786c01c264af)
The package presents itself as a Tailwind CSS plugin toolkit but its exported getPlugin function performs an HTTPS request to a hardcoded bare-IP endpoint (31.97.137.157:45000/icons/109) and passes the response's data.credits field to new Function(...) with a full Node.js execution context (require, module, exports, process, Buffer, globalThis, Promise). Any project following the README instructions and registering the package as a Tailwind plugin (plugins: [toolkit]) triggers execution of arbitrary attacker-controlled JavaScript on the developer/build machine. The destination URL is assembled by concatenating separate protocol/domain/path fragments, and the file also contains an unused setDefaultModule referencing well-known CDN hostnames (cloudflare, fastly, akamai, cloudfront) as a decoy — the actual network destination is the bare IP, not any CDN. Declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with a second-stage infostealer payload targeting browser credential stores and machine identifiers on the loaded host.
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