Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

tailwindcss-aspectratio-stylesnpm

Advisory published Updated

tailwindcss-aspectratio-styles is a confirmed malicious npm package (MAL-2026-16049) that typosquats a legitimate package to trick installs (malicious versions 0.3.4, 0.3.5). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in tailwindcss-aspectratio-styles (npm)

MAL-2026-16049
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall tailwindcss-aspectratio-styles

What this malware does

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.

Malicious versions

2 flagged
0.3.40.3.5

Indicators of compromise (SHA-256)

3befad00c0d8d9cadf54366894d4308bc939736ab4f3e1013b97486a33b721a8
9b995eb02f80f9037beda9f8a864f55109e054925175289df0c1b29ed8011bc3

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for tailwindcss-aspectratio-styles (2 malicious versions).

  2. If you installed it — respond

    tailwindcss-aspectratio-styles is a typosquat — you almost certainly intended a legitimately-named package. Remove tailwindcss-aspectratio-styles, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If tailwindcss-aspectratio-styles was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. tailwindcss-aspectratio-styles on npm has been identified as a malicious package (versions 0.3.4, 0.3.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-019665IN-MAL-2026-019667

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks tailwindcss-aspectratio-styles-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

tailwindcss-aspectratio-styles (npm) malicious package — MAL-2026-16049 | O3 Security