Skip to main content
MalwarePublished

tailwind-aspect (npm) · Malicious Code

Affects tailwind-aspectSource GCVE Database

0

Malicious package : remove tailwind-aspect and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 17:29 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15912

What to do

Remove tailwind-aspect 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
npmtailwind-aspectAffected
  • =0.4.2
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-aspect' version 0.4.2 contains malicious code that downloads and executes a JavaScript file from an untrusted HTTP source. The package impersonates the official Tailwind CSS aspect-ratio plugin to deceive users. The downloaded code is fetched over unencrypted HTTP from a hardcoded IP address, allowing arbitrary code execution on the installer's machine during package import.

References

Community reviews

Loading reviews…