# MAL-2026-16049: Malicious code in tailwindcss-aspectratio-styles (npm)


- **Type:** Malicious package
- **Package:** `tailwindcss-aspectratio-styles` (npm)
- **Published:** 8 Sep 2026

## What is MAL-2026-16049?

MAL-2026-16049 is a malicious package in tailwindcss-aspectratio-styles, published on 8 Sep 2026. 

### Official description

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.

## What should I do about MAL-2026-16049?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-16049 is a malicious package: tailwindcss-aspectratio-styles (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-16049/ (Markdown: https://insights.sbomify.com/MAL-2026-16049/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-16049

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-16049/
Summaries are generated and may contain mistakes; the official description above is the record.
