MAL-2026-16251

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-contact-form/MAL-2026-16251.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16251
Aliases
  • GHSA-cvv5-f2cc-586q
Published
2026-09-17T14:16:40Z
Modified
2026-11-11T21:15:16Z
Summary
Malicious code in tailwindcss-contact-form (npm)
Details

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

Source: amazon-inspector (0b198bc6d5af472f9cb1f1db25acf0215b77c04a742fcce81fef5565d76d837b)

Package presents itself as the Tailwind CSS forms plugin (README is a verbatim copy of @tailwindcss/forms and its package.json points at github.com/tailwindlabs/tailwindcss-forms), and the README instructs users to require('tailwindcss-contact-form') from their tailwind.config.js. The single main file src/index.js is heavily obfuscated (obfuscator.io-style rotated string array, hex identifiers, control-flow flattening) and, when required, imports node:http/node:https and spawn from node:child_process, queries public Ethereum RPCs (eth.drpc.org, ethereum-rpc.publicnode.com, 1rpc.io/eth, public.blastapi.io) and the Blockscout txlist API for outbound transactions of the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts a base64 payload from transaction data (x-payload-B64), and executes it by spawning node. This is a remote-code-execution loader using the Ethereum blockchain as a command-and-control channel: whoever controls the hardcoded key controls code execution on every machine that imports the package. The Tailwind-forms cover story, verbatim README, and forged repository link exist to trick developers into wiring the require() into their build config.

Source: ghsa-malware (b0cc40255b6caf739a99426695780dbf5621d723fb1a8d2edb049fba3a30d631)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-020120",
            "import_time": "2026-09-17T14:20:23.161698178Z",
            "modified_time": "2026-09-17T14:16:40Z",
            "sha256": "0b198bc6d5af472f9cb1f1db25acf0215b77c04a742fcce81fef5565d76d837b",
            "source": "amazon-inspector",
            "versions": [
                "0.5.1"
            ]
        },
        {
            "id": "GHSA-cvv5-f2cc-586q",
            "import_time": "2026-11-04T00:37:30.051631791Z",
            "modified_time": "2026-11-04T00:23:50Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "b0cc40255b6caf739a99426695780dbf5621d723fb1a8d2edb049fba3a30d631",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022605",
            "import_time": "2026-11-11T21:05:23.340024556Z",
            "modified_time": "2026-11-11T20:55:39Z",
            "sha256": "6509520e6a5f74baf0d1472f1f638cce8112ecfb35e845e77b95d54f3ac8a936",
            "source": "amazon-inspector",
            "versions": [
                "0.5.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-contact-form

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.1
0.5.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"
    },
    {
        "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": "f5fd0ca9d7642087d0edf609c126197b4d958cc2e1d576c62d444287444e229d",
            "tlsh": "9503e9957e81121a33434f7fba1bf4e4e12a1899369448c7d21cbc94f8e631ae9f6d34"
        },
        {
            "path": "package.json",
            "sha256": "b8a15fdbb763bf7f22700668956964130dcd94e6aa8c946c9c530461b29b283d",
            "tlsh": "7721a622cd180e7302e0693596f905837297a463895cf8193396c19ccf8d6bfe0f909f"
        }
    ],
    "package_integrity": [
        {
            "filename": "tailwindcss-contact-form-0.5.1.tgz",
            "hashes": {
                "sha1": "1b85b6533839b12a1f10cc8baa609d324412a433",
                "sha512_sri": "sha512-KKFOm8kF/qxxkIW8BwSvwCNmszsN2T573UvFFZT8mjgpfMY7sVg4K8O1QBkZJF+OWGeDhhtMDcyqCe35FTXx4A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-contact-form/MAL-2026-16251.json"