MAL-2026-14512

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-scrollbar-hider/MAL-2026-14512.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14512
Aliases
  • GHSA-869j-r989-xpvr
Published
2026-08-25T16:33:19Z
Modified
2026-08-26T00:24:14.403891185Z
Summary
Malicious code in tailwind-scrollbar-hider (npm)
Details

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

Source: amazon-inspector (aaa2dba899c9723740dfcc2fe8588bcf695f021442bbe8de1156239029bf7987)

dist/index.js exports a small legitimate scrollbarHide Tailwind plugin and then executes eval(atob('<~39KB base64>')) at module top level, so the payload runs on any require()/import of the package. The decoded body is packed with an obfuscator.io-style string-array dispatcher (_0x355e / _0x12f0 with shuffling) that hides all string literals, and it dynamically resolves node:http, node:https, node:zlib, and child_process.spawn via createRequire(import.meta.url). At runtime it assembles an Ethereum RPC endpoint list from process.env.ETH_RPC_URL plus hardcoded providers including *.publicnode.com and h.drpc.org, together with an indexer URL and a hardcoded SENDER Ethereum address, and issues eth_blockNumber and block-range requests — the shape of an on-chain wallet-monitoring / drainer relay embedded in a CSS-only utility. A Tailwind scrollbar-hiding plugin has no legitimate need to eval a base64 blob, spawn child processes, open network sockets, or scan Ethereum blocks on import.

Source: ghsa-malware (419e7970b5bc0bd5afe8a044ba0c64352a634818d5a96f850657ff8506af5677)

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": [
        {
            "modified_time": "2026-08-25T16:33:20Z",
            "source": "ghsa-malware",
            "sha256": "419e7970b5bc0bd5afe8a044ba0c64352a634818d5a96f850657ff8506af5677",
            "id": "GHSA-869j-r989-xpvr",
            "import_time": "2026-08-25T17:25:28.189263747Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "versions": [
                "5.0.2"
            ],
            "source": "amazon-inspector",
            "sha256": "aaa2dba899c9723740dfcc2fe8588bcf695f021442bbe8de1156239029bf7987",
            "id": "IN-MAL-2026-018742",
            "modified_time": "2026-08-25T21:44:35Z",
            "import_time": "2026-08-25T22:10:01.719005814Z"
        }
    ]
}
References
Credits

Affected packages

npm / tailwind-scrollbar-hider

Package

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

Affected ranges

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

Affected versions

5.*
5.0.2

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "91db5e87fb793b47e2d041a3aa3b3649557823e19cffb05f8e7c81958a297f2f",
            "tlsh": "bb03f7b547ae79c54e2ce902bbb78e2c0359a43b112be9db057f6e4c341919f7400da7"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-scrollbar-hider/MAL-2026-14512.json"
cwes
[
    {
        "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"
    }
]