Skip to main content
MalwarePublished Updated

better-tailwindcss (npm) · Malicious Code

Affects better-tailwindcssSource GCVE Database

0

Malicious package : remove better-tailwindcss and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 16:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10550

What to do

Remove better-tailwindcss 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

ProductAffectedFixed in
npmbetter-tailwindcssAffected
  • =4.6.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A malicious package impersonating the legitimate better-tailwindcss npm project was published under the same name. This fake package declares dependencies resolved from an untrusted, plain-HTTP source without integrity verification, causing npm to fetch and execute arbitrary code during installation. The code is unrelated to the real project and is labeled as for 'Security Research Testing Purpose,' indicating namespace squatting and malicious intent.

References

Community reviews

Loading reviews…