Malicious code in tailwindcss-3d-styles (npm)
Description
The npm package tailwindcss-3d-styles version 1.2.4 contains malicious code that fetches and executes arbitrary JavaScript from an external HTTP server at runtime. This behavior allows remote code execution within the Node.js process of any consumer importing this package. The package masquerades as a legitimate library by copying the upstream tailwindcss-3d code and appending the malicious dropper functionality.
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 tailwindcss-3d-styles npm package (version 1.2.4) includes a malicious main entry point that downloads a JavaScript file from an unencrypted HTTP endpoint (http://23.27.245.100:3000/index.js) when required. It writes the fetched code to a local file (./inout.js) and then requires it, resulting in execution of arbitrary code controlled by the remote host. The package uses the legitimate tailwindcss-3d library code as a cover, while the published package name differs from the upstream project, indicating a supply chain compromise or malicious repackaging.
Potential Impact
Any Node.js application that installs and imports tailwindcss-3d-styles version 1.2.4 is at risk of remote code execution due to the package's behavior of fetching and executing code from an attacker-controlled server. This can lead to full compromise of the application environment, data theft, or further malicious activity. There are no known exploits in the wild reported at this time.
Mitigation Recommendations
No official patch or remediation is provided in the available data. Users should immediately remove the tailwindcss-3d-styles package version 1.2.4 from their projects and avoid using this package. Verify dependencies and replace with the legitimate tailwindcss-3d library or other trusted alternatives. Monitor for any unauthorized code execution and audit supply chain dependencies carefully.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15905
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4edacd9273b49b6780e
Added to database: 09/04/2026, 14:25:49 UTC
Last enriched: 09/07/2026, 17:10:27 UTC
Last updated: 10/01/2026, 23:04:09 UTC
Views: 39
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.