MAL-2026-16405

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-form-styles/MAL-2026-16405.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16405
Aliases
  • GHSA-h48r-xx59-h44r
Published
2026-09-22T18:23:36Z
Modified
2026-09-22T22:30:05Z
Summary
Malicious code in tailwind-form-styles (npm)
Details

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

Source: amazon-inspector (353df78be0134825a2efc6d7e4d4cbf25dfba4d057925e64fc117e78a3f2814a)

The package presents itself as a Tailwind CSS forms plugin but its main entry src/index.js is heavily obfuscated (obfuscator.io-style rotated string array of 303 entries, hex-named identifiers, control-flow flattening) and has no relationship to the legitimate tailwindlabs/tailwindcss-forms project it mimics. On require()/import — which occurs whenever a consumer loads the plugin from tailwind.config — the module imports node:http, node:https, node:zlib and spawn from node:child_process, and installs global['r']=require and global['m']=module to stage further execution. It then issues HTTP requests to endpoints reconstructed from string-array fragments: an Etherscan-style transaction-list indexer and multiple Ethereum RPC hosts (drpc.org, publicnode, blockscout). A hardcoded Ethereum address 0xa322E5f39aDC2490EfD311D3080e6f0121063e1a is reassembled from fragments and used as the SENDER filter in eth_blockNumber, eth_getBlockByNumber, eth_getTransactionCount calls and in the txlist URL, and custom X-Payload-* headers gate later stages. The combination of Tailwind-plugin cover, obfuscated destination reconstruction, import-time network I/O to attacker-controlled infrastructure, child_process availability, and Ethereum on-chain command-and-control is the shape of a wallet-drainer / RCE stager, not a CSS plugin.

Source: ghsa-malware (4ce59f3fc439ed6eea4fd92bb0e977acd545061b59716b31fa78e71e23c7e94d)

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":  "GHSA-h48r-xx59-h44r",
            "import_time":  "2026-09-22T18:31:21.172036507Z",
            "modified_time":  "2026-09-22T18:23:36Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "4ce59f3fc439ed6eea4fd92bb0e977acd545061b59716b31fa78e71e23c7e94d",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-020311",
            "import_time":  "2026-09-22T22:16:11.315560547Z",
            "modified_time":  "2026-09-22T21:51:22Z",
            "sha256":  "353df78be0134825a2efc6d7e4d4cbf25dfba4d057925e64fc117e78a3f2814a",
            "source":  "amazon-inspector",
            "versions":  [
                "0.5.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tailwind-form-styles

Package

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

Affected ranges

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

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"
    },
    {
        "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":  "fd1ef3edfc6c02581abf6bf69f9e73b19ca8d3ddc915fa51beba648e6c0ae62f",
            "tlsh":  "e103e9957e81121a33434f7fba1bf4e4e12a1899369448c7d21cbc94f8e631ae9f6d34"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-form-styles/MAL-2026-16405.json"