MAL-2026-16049

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-aspectratio-styles/MAL-2026-16049.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16049
Published
2026-09-08T19:05:59Z
Modified
2026-09-08T19:30:05Z
Summary
Malicious code in tailwindcss-aspectratio-styles (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019665",
            "import_time": "2026-09-08T19:15:03.643402591Z",
            "modified_time": "2026-09-08T19:05:59Z",
            "sha256": "3befad00c0d8d9cadf54366894d4308bc939736ab4f3e1013b97486a33b721a8",
            "source": "amazon-inspector",
            "versions": [
                "0.3.5"
            ]
        },
        {
            "id": "IN-MAL-2026-019667",
            "import_time": "2026-09-08T19:15:03.699484639Z",
            "modified_time": "2026-09-08T19:06:15Z",
            "sha256": "9b995eb02f80f9037beda9f8a864f55109e054925175289df0c1b29ed8011bc3",
            "source": "amazon-inspector",
            "versions": [
                "0.3.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-aspectratio-styles

Package

Name
tailwindcss-aspectratio-styles
View open source insights on deps.dev
Purl
pkg:npm/tailwindcss-aspectratio-styles

Affected ranges

Affected versions

0.*
0.3.4
0.3.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "src/index.js",
            "sha256": "0c12919f950b315f3b5e935f400ce3d6594b5c2a0336b3b2f54024ce506e4877",
            "tlsh": "873140a14ac191045862ba9653a19c02e7dfa1b4ce7f5082eac54cb907c1dc1fb13ebb"
        },
        {
            "path": "package.json",
            "sha256": "ac81d360bf27878efadc98eb97326a731fc09190410f4c2d8d77bd789b2af2d7",
            "tlsh": "7c017822ce240e7301e4717197b9059762a308234469bc0e32c6851ccb8c5aff0fa6ad"
        }
    ],
    "package_integrity": [
        {
            "filename": "tailwindcss-aspectratio-styles-0.3.5.tgz",
            "hashes": {
                "sha1": "e7c753d6053e4aeabfd6a9c8313d380cf6c16edf",
                "sha512_sri": "sha512-4pbJxSIxxCAvjl0GAII/L3lP57LCom9fWJtkG/F8vq3y4KWfLc0M5XWdW8bazMQUhICupRuurabycMz7ymJy3g=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-aspectratio-styles/MAL-2026-16049.json"