tailwind-aspect (npm) · Malicious Code
Affects tailwind-aspectSource GCVE Database
Malicious package : remove tailwind-aspect and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:29 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| npmtailwind-aspect | 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-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.