MAL-2026-15636

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-forms-style/MAL-2026-15636.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15636
Published
2026-08-31T18:00:58Z
Modified
2026-08-31T18:31:28.304999495Z
Summary
Malicious code in tailwindcss-forms-style (npm)
Details

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

Source: amazon-inspector (8948b9d83b1d0eb952b8364b7a15d32efb78d6bed43956bc67a42e151dcfc7a2)

Package typosquats @tailwindcss/forms. On require('tailwindcss-forms-style'), src/index.js runs eval(atob(...)) on a base64 blob appended after module.exports. The decoded payload queries public Ethereum RPC endpoints (1rpc.io, eth.drpc.org, publicnode, blastapi, eth.blockscout.com) for the latest transaction from hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes an IP address from the transaction's to field, then fetches XOR-encrypted payloads from that host at http://<ip>:443/0x/cls and http://<ip>:443/0x/ls (XOR keys 'q4FZkxX{!h,Sr3=@' and 'y-p_>d$0B&@^1aQk'), and executes them via eval() and a detached spawn('node','-e',...) child process. Immediately after the eval runs, src/index.js rewrites itself with fs.writeFileSync(__filename,...) to remove the eval block, so later inspection of the file on disk shows only benign tailwind plugin code. The combination provides arbitrary remote code execution in the installer's Node process, a detached persistent child, an attacker-controlled command channel resilient to takedown (C2 IP rotated via on-chain transactions), and anti-forensic self-erasure.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-31T18:22:29.112404101Z",
            "source": "amazon-inspector",
            "versions": [
                "0.1.2"
            ],
            "id": "IN-MAL-2026-019295",
            "modified_time": "2026-08-31T18:00:58Z",
            "sha256": "8948b9d83b1d0eb952b8364b7a15d32efb78d6bed43956bc67a42e151dcfc7a2"
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-forms-style

Package

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

Affected ranges

Affected versions

0.*
0.1.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-forms-style/MAL-2026-15636.json"
indicators
{
    "evidence_files": [
        {
            "path": "src/index.js",
            "tlsh": "7b822827e113033f7e2b8c6951cdbdd0324eb44aa6f017c9e89959b44eca9c5793ba1c",
            "sha256": "93e77a06d701faf0fe8611eec245f5dcfa89c1a9cc3e5e3851356f49eff542fe"
        }
    ],
    "package_integrity": [
        {
            "filename": "tailwindcss-forms-style-0.1.2.tgz",
            "hashes": {
                "sha1": "cbc49b1c42fa2f3bd583cdc927d38ffc2bb77828",
                "sha512_sri": "sha512-Nq9sgK4bkZg6v6qHw9joXTzg2vldwN4rziUCEbqRT1smnAQtQSD/at8dQs24eqXG+mIldLXa6dJNlfvikhBU6w=="
            }
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]