tailwindcss-aspectratio-styles
This report shows the evidence for tailwindcss-aspectratio-styles@0.3.5. 2 of 2 known versions are blocked or flagged. See all versions.
This package appears in our research on the fake Tailwind CSS plugins, with how it works, the full package list and what to do if you installed it.
OpenSSF/OSV Malicious Advisory
imported 2mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-16049 confirms this npm version as malicious.
Advisory
MAL-2026-16049
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in tailwindcss-aspectratio-styles (npm)
Details
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
Independent scan evidence
public snapshotBehavioral surface
DynamicRequireFilesystemNetwork
UrlStrings
Source & flagged code
1 flaggedtests/test.jsView file
1const postcss = require('postcss')
L2:
Medium
Dynamic Require
Package source references dynamic require/import behavior.
tests/test.jsView on unpkg · L1Findings
2 Medium3 Low
MediumDynamic Requiretests/test.js
MediumNetwork
LowScripts Present
LowFilesystem
LowUrl Strings
Affected versions and remediation
This report applies to tailwindcss-aspectratio-styles@0.3.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing tailwindcss-aspectratio-styles@0.3.5. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.