Malicious code in tailwindcss-3d-animate (npm)
Description
The npm package tailwindcss-3d-animate is a malicious typosquat of the legitimate tailwindcss-3d package. It contains obfuscated code that executes automatically when the package is required, fetching and executing additional code from attacker-controlled sources via Ethereum blockchain data. Systems with this package installed are considered fully compromised, and all secrets and keys should be rotated immediately. Removal of the package does not guarantee full remediation due to potential persistent compromise.
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-animate npm package re-exports the legitimate tailwindcss-3d plugin but appends an obfuscated payload that runs on module load. This payload uses eval on a base64-decoded, control-flow-flattened bundle that imports Node.js modules (http/https/zlib/child_process) to fetch and execute code from URLs derived from Ethereum blockchain transaction data. The package name is a typosquat of the legitimate package and copies its source code to avoid suspicion. The malicious code uses an Ethereum address as a dead-drop staging channel, querying public RPC and explorer hosts to retrieve the next stage payload, which is decompressed and executed via eval and child_process spawn, resulting in full system compromise.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker can execute arbitrary code fetched from the network, potentially gaining full control over the affected computer. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Defensive Guidance
Immediate removal of the tailwindcss-3d-animate package is recommended. All secrets, credentials, and keys stored on the affected system should be rotated from a different, uncompromised device. Due to the high likelihood of full system compromise, a complete system reinstallation or forensic investigation is advised to ensure no persistent malware remains. There is no official patch or fix as this is a malicious package rather than a vulnerability in legitimate software.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14567
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-683p-54mf-9297"]
- Ecosystems
- ["npm"]
Threat ID: 6a92f827acd9273b49e917fc
Added to database: 08/29/2026, 15:17:59 UTC
Last enriched: 09/09/2026, 18:24:00 UTC
Last updated: 10/02/2026, 08:21:55 UTC
Views: 25
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.
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.