tailwind-contact-forms (npm) · Malicious Code
Affects tailwind-contact-formsSource GCVE Database
Malicious package : remove tailwind-contact-forms and rotate any secrets on hosts that installed it.
Data as of 11 Nov 2026, 22:20 UTC
Malicious package
Published to npm · OSV MAL-2026-15925
What to do
Remove tailwind-contact-forms 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-contact-forms | 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-contact-forms version 0.5.12 contains malicious obfuscated code that executes upon import. It impersonates the legitimate Tailwind Labs package @tailwindcss/forms to trick developers into installing it. The malicious payload performs host reconnaissance by reading environment variables and host identifiers, and it contacts Ethereum RPC and block-explorer infrastructure endpoints. This behavior is unusual and unauthorized for a CSS/Tailwind plugin, indicating malicious intent.
References
- npmjs.com/package/tailwind-contact-forms/v/0.5.12 (opens in a new tab)
- npmjs.com/package/tailwind-contact-forms/v/0.5.1 (opens in a new tab)
- npmjs.com/package/tailwind-contact-forms/v/0.5.5 (opens in a new tab)
- npmjs.com/package/tailwind-contact-forms/v/0.5.9 (opens in a new tab)
- npmjs.com/package/tailwind-contact-forms/v/0.5.8 (opens in a new tab)