MAL-2026-16195

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-forms-styles/MAL-2026-16195.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16195
Aliases
  • GHSA-q8wp-7xrg-83rx
Published
2026-09-15T15:54:48Z
Modified
2026-09-15T16:31:09Z
Summary
Malicious code in tailwind-forms-styles (npm)
Details

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

Source: amazon-inspector (92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2)

tailwind-forms-styles ships a src/index.js that is fully obfuscated with obfuscator.io (rotated 303-entry string array, hex-named identifiers, control-flow flattening) and bears no relation to the Tailwind forms plugin advertised in the README and src/index.d.ts. On require() the module opens HTTP(S)/zlib streams to Ethereum RPC endpoints (public.blockscout, *.drpc.org, *.publicnode.com) and an etherscan-like transaction indexer, queries transactions for the hardcoded address 0xa322E5f3D311D3080e9aDC2490Ef6f0121063e1a, imports node:child_process spawn, and injects reconstructed strings into the Node global object (_t_u, _t_s, _H, _H2, _r=require, _m=module, _global=global). This is an EtherHiding-style loader that pulls executable payload data from attacker-controlled on-chain storage and hands it to child_process/global-eval sinks, producing arbitrary code execution on the machine that requires the package (e.g. from tailwind.config.js during a build). The package name and the package.json repository field pointing at tailwindlabs/tailwindcss-forms are impersonation of the real @tailwindcss/forms plugin to induce installation.

Source: ghsa-malware (3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc)

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-020060",
            "import_time": "2026-09-15T16:19:15.344447492Z",
            "modified_time": "2026-09-15T15:54:48Z",
            "sha256": "92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2",
            "source": "amazon-inspector",
            "versions": [
                "0.5.2"
            ]
        },
        {
            "id": "GHSA-q8wp-7xrg-83rx",
            "import_time": "2026-09-15T16:27:03.932297515Z",
            "modified_time": "2026-09-15T16:16:46Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / tailwind-forms-styles

Package

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

Affected ranges

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

Affected versions

0.*
0.5.2

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": "f5fd0ca9d7642087d0edf609c126197b4d958cc2e1d576c62d444287444e229d",
            "tlsh": "9503e9957e81121a33434f7fba1bf4e4e12a1899369448c7d21cbc94f8e631ae9f6d34"
        },
        {
            "path": "package.json",
            "sha256": "3d2f74c1ce8ff1f79a59c0bcabf33f2aa7c0d950ee487ae0223aff3a894a52bd",
            "tlsh": "bd21c822cd140e7301e0293596f91183b297a4638a6cf8193396c19c8f8d6bfe0fa09f"
        }
    ],
    "package_integrity": [
        {
            "filename": "tailwind-forms-styles-0.5.2.tgz",
            "hashes": {
                "sha1": "068527fa122a4ce22bd46e81294e702a979d0e14",
                "sha512_sri": "sha512-ogCSpG7qJWjMmzLgGM/Tn+HInQZvqdSzvY6DoQmxf9k0CBPL/TEl4wA6aZqcLmku7EqSAZ4UCcTf5ZnYrY7ssQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-forms-styles/MAL-2026-16195.json"