tailwind-custom-templates (npm) · Malicious Code
Affects tailwind-custom-templatesSource GCVE Database
Malicious package : remove tailwind-custom-templates and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:42 UTC
Malicious package
Published to npm · OSV MAL-2026-14195
What to do
Remove tailwind-custom-templates from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtailwind-custom-templates | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'tailwind-custom-templates' version 0.7.2 contains malicious code disguised as a Tailwind CSS form-styling plugin. It includes an obfuscated payload that initiates Ethereum-related network activity, including connections to RPC providers and blockchain explorer APIs. This behavior is unrelated to the package's stated purpose and suggests a wallet-address-swap or on-chain command-and-control operation triggered upon import.