mal-2026-14512
Vulnerability from ossf_malicious_packages
Published
2026-08-25 16:33
Modified
2026-08-25 22:11
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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "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": "dist/index.js",
              "sha256": "91db5e87fb793b47e2d041a3aa3b3649557823e19cffb05f8e7c81958a297f2f",
              "tlsh": "bb03f7b547ae79c54e2ce902bbb78e2c0359a43b112be9db057f6e4c341919f7400da7"
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "tailwind-scrollbar-hider"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "5.0.2"
      ]
    }
  ],
  "aliases": [
    "GHSA-869j-r989-xpvr"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "GHSA-869j-r989-xpvr",
        "import_time": "2026-08-25T17:25:28.189263747Z",
        "modified_time": "2026-08-25T16:33:20Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "419e7970b5bc0bd5afe8a044ba0c64352a634818d5a96f850657ff8506af5677",
        "source": "ghsa-malware"
      },
      {
        "id": "IN-MAL-2026-018742",
        "import_time": "2026-08-25T22:10:01.719005814Z",
        "modified_time": "2026-08-25T21:44:35Z",
        "sha256": "aaa2dba899c9723740dfcc2fe8588bcf695f021442bbe8de1156239029bf7987",
        "source": "amazon-inspector",
        "versions": [
          "5.0.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (aaa2dba899c9723740dfcc2fe8588bcf695f021442bbe8de1156239029bf7987)\ndist/index.js exports a small legitimate scrollbarHide Tailwind plugin and then executes `eval(atob(\u0027\u003c~39KB base64\u003e\u0027))` 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 \u2014 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.\n\n## Source: ghsa-malware (419e7970b5bc0bd5afe8a044ba0c64352a634818d5a96f850657ff8506af5677)\nAny 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.\n",
  "id": "MAL-2026-14512",
  "modified": "2026-08-25T22:11:55.605193781Z",
  "published": "2026-08-25T16:33:19Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-869j-r989-xpvr"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/tailwind-scrollbar-hider/v/5.0.2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in tailwind-scrollbar-hider (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…