MAL-2026-12224

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-scrollbar-hide/MAL-2026-12224.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12224
Aliases
  • GHSA-6r49-6vv4-wpp3
Published
2026-08-05T09:15:51Z
Modified
2026-08-06T01:21:25.933126583Z
Summary
Malicious code in tailwindcss-scrollbar-hide (npm)
Details

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

Source: amazon-inspector (1199d5059f205844a58fd599bb890d1056ea3127830ea4d6c13a7c08ffb6f6b9)

dist/index.js appends eval(atob('...')) after the legitimate CSS-plugin export, so simply importing or requiring the package executes an obfuscated payload on the installer's machine. Identifiers in the payload (http, https, child_process, spawn, hostnames, RPC method names) are hidden with \u00XX escapes. The decoded payload queries Ethereum public RPCs (1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) and eth.blockscout.com for the latest transaction from the attacker-controlled address 0xa322E5f3D311D3080e6f01210763e9aDC2490Ef1a, treats the first 8 bytes of that transaction's to field as two IPv4 addresses, fetches second-stage bytes from http://<ip>:443/0x/cls and http://<ip>:443/0x/ls, XOR-decodes them, and runs them via eval and a detached spawn('node', ['-e',...], {detached: true, stdio: 'ignore', windowsHide: true}).unref(). The advertised purpose is a zero-dependency pure-CSS Tailwind plugin; the presence of network, child_process, blockchain lookup, obfuscation, and dynamic code execution in that context has no legitimate purpose. The on-chain dead-drop lookup lets the operator rotate the C2 endpoint at will by broadcasting new transactions from the watched address.

Source: ghsa-malware (1aa721b0e8aaa04d464f303d279b81f869896720a9303f2c5af21d4725b4e16c)

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T09:15:51Z",
            "sha256": "1199d5059f205844a58fd599bb890d1056ea3127830ea4d6c13a7c08ffb6f6b9",
            "id": "IN-MAL-2026-014613",
            "versions": [
                "2.2.6"
            ],
            "import_time": "2026-08-05T09:28:30.60667186Z"
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-05T22:31:47Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-6r49-6vv4-wpp3",
            "sha256": "1aa721b0e8aaa04d464f303d279b81f869896720a9303f2c5af21d4725b4e16c",
            "import_time": "2026-08-06T00:58:53.306619379Z"
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-scrollbar-hide

Package

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

Affected ranges

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

Affected versions

2.*
2.2.6

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-nltn3ViqxMxOfQqhHDFGA9JoJbJp4Gc4gkN6zLNh/Qw5Tx63AkimCspyU9QgJcHAdfTHY8m5TW70sOPYDGtumw==",
                "sha1": "d0ffcc83c7f2c240a5483e4804efe913f595f5b9"
            },
            "filename": "tailwindcss-scrollbar-hide-2.2.6.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "c233075b529057ad409cfb89342d7dae68691d04166a0e1417148548797aea07",
            "tlsh": "00423da64692b687cf176926fe87170e237104b232dd6f24744f9d357388d4634ad60f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-scrollbar-hide/MAL-2026-12224.json"