MAL-2026-17524

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-forms-styles/MAL-2026-17524.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17524
Published
2026-10-04T23:25:12Z
Modified
2026-10-04T23:45:18Z
Summary
Malicious code in tailwindcss-forms-styles (npm)
Details

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

Source: amazon-inspector (587d9a389f35a8ec2d3ed714c90f7daa43feb6875f4ce2e4280f5ce19569d895)

The package name tailwindcss-forms-styles mimics the legitimate @tailwindcss/forms plugin, and its src/index.js copies that plugin's code verbatim as cover. Above the cover code, a top-level IIFE joins a ~140-element base64 string array, atob()-decodes it, and eval()s the result. The decoded loader queries public Ethereum RPC/Blockscout endpoints for the most recent transaction sent by hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, parses two IPv4 addresses out of the transaction recipient field, downloads an XOR-encoded JavaScript payload from staging URLs of the form http://:443/0x/cls and http://:443/0x/ls, and executes it via eval and a detached spawn('node', ['-e',...]) child process. Because the IIFE runs at module load, any consumer that performs require('tailwindcss-forms-styles') triggers remote code execution on the installer, with the command-and-control endpoint resolved dynamically from the blockchain so the C2 can be rotated without changing the package.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020952",
            "import_time":  "2026-10-04T23:40:45.329549096Z",
            "modified_time":  "2026-10-04T23:25:12Z",
            "sha256":  "587d9a389f35a8ec2d3ed714c90f7daa43feb6875f4ce2e4280f5ce19569d895",
            "source":  "amazon-inspector",
            "versions":  [
                "0.5.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-forms-styles

Package

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

Affected ranges

Affected versions

0.*
0.5.1

Database specific

cwes
[
    {
        "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":  "0bca0654b9db9263dba6eb6e135a036c2a2d1fe424bfb42eecb2b91f0b63425e",
            "tlsh":  "a3a25b2be313023f7e3b4c6596d9bdc8220e644a65f016c1f45d66b54fca9c968bb30d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "tailwindcss-forms-styles-0.5.1.tgz",
            "hashes":  {
                "sha1":  "511ab891bbc884f2f0a75096a9cde2c73ece94dd",
                "sha512_sri":  "sha512-fhE9kQHbFVK+FM+mWrOH8yFZcBBjPsS8J4nuLdUlyv5cPV6IOOqiQH6AcD4qHgi/CS3KnHeLBCMIgDnGJmT5xw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-forms-styles/MAL-2026-17524.json"