MAL-2026-16049
Dashboard / Malicious Package / MAL-2026-16049
MAL-2026-16049
Summary: Malicious code in tailwindcss-aspectratio-styles (npm)
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.
References: https://www.npmjs.com/package/tailwindcss-aspectratio-styles/v/0.3.5, https://www.npmjs.com/package/tailwindcss-aspectratio-styles/v/0.3.4
Affected packages
Package
Name: tailwindcss-aspectratio-styles
Purl: pkg:npm/tailwindcss-aspectratio-styles
Affected ranges
Type: N/A
Events:
