Skip to content
OpenAdvisories
Malicious MAL-2026-16049

tailwindcss-aspectratio-styles

npm package · versions 0.3.5, 0.3.4

Reported Sep 8, 2026 · Updated Sep 8, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (9b995eb02f80f9037beda9f8a864f55109e054925175289df0c1b29ed8011bc3)
src/index.js, referenced by the package main and executed on require(), performs an HTTP GET to http://tailwindlan.online, writes the response body to a sibling file, and immediately require()s that file, giving the operator of tailwindlan.online arbitrary code execution in the installer's Node.js process at import time. The fetch uses plain HTTP with no integrity or signature check, and the domain is unrelated to the tailwindlabs project. The package name resembles the official @tailwindcss/aspect-ratio plugin, and package.json's repository field points at tailwindlabs/tailwindcss-aspect-ratio to mimic the upstream; the legitimate plugin code is preserved verbatim with the remote-fetch-and-execute block appended to the end of the single minified line.