MAL-2026-12116

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-hide-scrollbar/MAL-2026-12116.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12116
Aliases
  • GHSA-97j6-7w7w-7vj3
Published
2026-08-05T06:22:29Z
Modified
2026-08-06T13:34:46.486054460Z
Summary
Malicious code in tailwind-hide-scrollbar (npm)
Details

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

Source: amazon-inspector (cb0348430af0110be6ac537a38b5bb98983ec6b6f8f1474778ff16e4a4f4e8d8)

dist/index.js appends an eval(atob('...')) payload after the legitimate export default scrollbarHide; line. The decoded payload queries Ethereum RPC endpoints (eth.blockscout.com/api, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for the latest transaction from hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, interprets bytes of the to field as IPv4 addresses, HTTP GETs http://<ip>:443/0x/cls and http://<ip>:443/0x/ls, XOR-decrypts the responses, then evals the first stage and spawn('node', ['-e', payload], {detached:true, stdio:'ignore', windowsHide:true}).unref() to run the second stage detached. Inner strings such as child_process, http, https, spawn, and User-Agent are stored as \uXXXX unicode escapes to defeat static grep, wrapped in an outer base64 blob. The payload fires when any consumer imports the package, granting full Node-level remote code execution on the installer's host; the on-chain C2 resolution (EtherHiding) makes the destination attacker-mutable and resistant to takedowns.

Source: ghsa-malware (982fe4a221da9b1452c033aeb2bf4472aff7fe03166d6874abc2d3162ba8998b)

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-05T06:22:29Z",
            "sha256": "cb0348430af0110be6ac537a38b5bb98983ec6b6f8f1474778ff16e4a4f4e8d8",
            "id": "IN-MAL-2026-013433",
            "versions": [
                "2.1.5"
            ],
            "import_time": "2026-08-05T07:06:47.322822579Z"
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-05T17:40:19Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-97j6-7w7w-7vj3",
            "sha256": "982fe4a221da9b1452c033aeb2bf4472aff7fe03166d6874abc2d3162ba8998b",
            "import_time": "2026-08-06T00:58:53.332945975Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-06T12:18:32Z",
            "sha256": "165099324429d22ba5c3e3f41da736483503b496cae04f97a71ced94169da6c0",
            "id": "IN-MAL-2026-016011",
            "versions": [
                "2.2.0"
            ],
            "import_time": "2026-08-06T13:08:37.77096726Z"
        },
        {
            "import_time": "2026-08-06T13:08:40.443935528Z",
            "modified_time": "2026-08-06T12:21:37Z",
            "sha256": "bc5f522cf6afadde9d267886cae6da8c6bf949a0e912d810a62c7424e9b97d9a",
            "id": "IN-MAL-2026-016033",
            "versions": [
                "0.0.1"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-06T13:08:37.67440657Z",
            "modified_time": "2026-08-06T12:18:25Z",
            "sha256": "ed6b51b0f1ed9c10372cff8a3fe0b8392148f3b59d17720e269a0e5212d28864",
            "id": "IN-MAL-2026-016010",
            "versions": [
                "2.2.1"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / tailwind-hide-scrollbar

Package

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

Affected ranges

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

Affected versions

0.*
0.0.1
2.*
2.1.5
2.2.0
2.2.1

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "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."
    },
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-ObXzoxbKYPqAQVZ+ZFWs7LixA2y64nAP7lrYV4TM4/Q7nN8mu9r9iQ7ApyMUSF2qCQsEgJyyqX/57M8FoU3dyg==",
                "sha1": "f0e90467c0cd29896652c28a600a642bbde9d6c7"
            },
            "filename": "tailwind-hide-scrollbar-2.1.5.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "d9564c35e3a4b56b895c35f74da8d5d285bcdacbe71254da3887280384d76716",
            "tlsh": "e8423da64692b687cf176926fe87170e237104b232dd6f24744f9d357388d4634ad60f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwind-hide-scrollbar/MAL-2026-12116.json"