Malicious code in tailwind-toolkit (npm)
The tailwind-toolkit npm package version 1.3.2 masquerades as a Tailwind CSS plugin but contains malicious code that executes attacker-controlled payloads. When registered in tailwind.config, it makes an HTTPS request to a hardcoded IP address and executes the returned code within the Node.js process. This payload appears designed to steal browser credentials by leveraging dependencies capable of decrypting Windows DPAPI credentials and accessing browser cookie and login databases. The malicious behavior is unrelated to the advertised functionality and poses a significant risk to users who install this package.
AI Analysis
Technical Summary
The tailwind-toolkit package (npm ecosystem) version 1.3.2 contains malicious code that, upon registration in tailwind.config, issues an HTTPS request to a hardcoded bare IP address (31.97.137.157:45000/icons/109). The response's 'credits' field is executed as code within the installer's Node.js process using 'new Function', allowing fully attacker-controlled code execution. The package declares dependencies such as @primno/dpapi, better-sqlite3/sqlite3, and node-machine-id, indicating the payload is designed to steal browser credentials, including decrypting Windows DPAPI credentials and accessing browser cookie and login data. The remote host and executed payload are unrelated to the package's advertised Tailwind CSS plugin functionality, representing a supply chain compromise and malicious package distribution.
Potential Impact
Users installing tailwind-toolkit version 1.3.2 risk executing arbitrary attacker-controlled code within their Node.js environment. This can lead to theft of sensitive browser credentials, including decrypted Windows DPAPI credentials and browser login data. The malicious payload is delivered from a hardcoded IP address and executed dynamically, enabling full remote control by the attacker. This compromises user security and privacy, potentially leading to credential theft and further system compromise.
Mitigation Recommendations
No official patch or remediation guidance is currently provided. Users should immediately avoid installing or using tailwind-toolkit version 1.3.2. Remove the package from any projects and replace it with a trusted alternative. Monitor for any suspicious activity related to credential theft. Check vendor advisories or npm security advisories for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in tailwind-toolkit (npm)
Description
The tailwind-toolkit npm package version 1.3.2 masquerades as a Tailwind CSS plugin but contains malicious code that executes attacker-controlled payloads. When registered in tailwind.config, it makes an HTTPS request to a hardcoded IP address and executes the returned code within the Node.js process. This payload appears designed to steal browser credentials by leveraging dependencies capable of decrypting Windows DPAPI credentials and accessing browser cookie and login databases. The malicious behavior is unrelated to the advertised functionality and poses a significant risk to users who install this package.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The tailwind-toolkit package (npm ecosystem) version 1.3.2 contains malicious code that, upon registration in tailwind.config, issues an HTTPS request to a hardcoded bare IP address (31.97.137.157:45000/icons/109). The response's 'credits' field is executed as code within the installer's Node.js process using 'new Function', allowing fully attacker-controlled code execution. The package declares dependencies such as @primno/dpapi, better-sqlite3/sqlite3, and node-machine-id, indicating the payload is designed to steal browser credentials, including decrypting Windows DPAPI credentials and accessing browser cookie and login data. The remote host and executed payload are unrelated to the package's advertised Tailwind CSS plugin functionality, representing a supply chain compromise and malicious package distribution.
Potential Impact
Users installing tailwind-toolkit version 1.3.2 risk executing arbitrary attacker-controlled code within their Node.js environment. This can lead to theft of sensitive browser credentials, including decrypted Windows DPAPI credentials and browser login data. The malicious payload is delivered from a hardcoded IP address and executed dynamically, enabling full remote control by the attacker. This compromises user security and privacy, potentially leading to credential theft and further system compromise.
Mitigation Recommendations
No official patch or remediation guidance is currently provided. Users should immediately avoid installing or using tailwind-toolkit version 1.3.2. Remove the package from any projects and replace it with a trusted alternative. Monitor for any suspicious activity related to credential theft. Check vendor advisories or npm security advisories for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14038
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f2bf8831d5395d77cf
Added to database: 08/14/2026, 16:36:02 UTC
Last enriched: 08/14/2026, 16:53:20 UTC
Last updated: 08/14/2026, 23:17:06 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.