MAL-2026-18595 (GHSA-W4JV-38CQ-V2WM)

Vulnerability from ossf_malicious_packages – Published: 2026-11-04 00:24 – Updated: 2026-11-04 07:39 – Source website
Malicious package
Summary
Malicious code in tailwind-input-kit (npm)
Affected package
Ecosystem Package Versions
npm tailwind-input-kit
Affected: All versions (semver)
0.5.5
Details
Amazon Inspector IN-MAL-2026-022539 Reported 2026-11-04 07:35

The package impersonates @tailwindcss/forms (name 'tailwind-input-kit', author.name '@tailwindcss', repository pointing to github.com/tailwindlabs/tailwindcss-forms, with README/HTML/CHANGELOG copied from the official plugin) while prepending a malicious loader to src/index.js. The file begins with eval(atob('<~50KB base64 blob>')) that executes before any legitimate plugin code is reached on require(). The decoded blob is a heavily _0x-obfuscated loader that imports node:http, node:https, node:zlib, and node:child_process (spawn), reconstructs destinations from an obfuscated string array (including an api endpoint on an external host, Ethereum JSON-RPC endpoints such as publicnode and drpc.org, and Etherscan-style txlist queries parameterized by hardcoded 0x addresses), issues outbound HTTPS requests carrying a custom 'x-payload-' header, decompresses gzip/brotli/deflate responses, and hands the resulting JavaScript to eval ('[eval]' marker present). The loader additionally spawns a child 'node' process with stdin piping, injects the parent's require and module into globals (global.r, global.m, global._H, global._H2, global._V, _t_s, _t_u), and feeds the fetched second-stage script into that child — giving the remote operator full code execution on the installer's host on every require(), with the ability to deliver new payloads at will. The retained tailwindcss-forms plugin code after the eval() serves as cover for a cursory read.

GitHub Advisory Database GHSA-w4jv-38cq-v2wm Reported 2026-11-04 00:24

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.

Indicators
Type Indicator Hashes
Evidence file src/index.js
sha256 5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24e
tlsh 38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67
CWE
  • CWE-506 - Embedded Malicious Code
Credits
Amazon Inspector inspector-research@amazon.com

{
  "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": "src/index.js",
              "sha256": "5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24e",
              "tlsh": "38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67"
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "tailwind-input-kit"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "0.5.5"
      ]
    }
  ],
  "aliases": [
    "GHSA-w4jv-38cq-v2wm"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "GHSA-w4jv-38cq-v2wm",
        "import_time": "2026-11-04T00:37:30.076637096Z",
        "modified_time": "2026-11-04T00:24:49Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "6494a1e8a2c80262deac2480044bfa5a1f823651eb4a812376d6fb5af521ce87",
        "source": "ghsa-malware"
      },
      {
        "id": "IN-MAL-2026-022539",
        "import_time": "2026-11-04T07:37:35.305491494Z",
        "modified_time": "2026-11-04T07:35:21Z",
        "sha256": "630101a331666e0b23f3bf13fc5b6390d361ccc4be631c55f6ea29d10f3f7711",
        "source": "amazon-inspector",
        "versions": [
          "0.5.5"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (630101a331666e0b23f3bf13fc5b6390d361ccc4be631c55f6ea29d10f3f7711)\nThe package impersonates @tailwindcss/forms (name \u0027tailwind-input-kit\u0027, author.name \u0027@tailwindcss\u0027, repository pointing to github.com/tailwindlabs/tailwindcss-forms, with README/HTML/CHANGELOG copied from the official plugin) while prepending a malicious loader to src/index.js. The file begins with eval(atob(\u0027\u003c~50KB base64 blob\u003e\u0027)) that executes before any legitimate plugin code is reached on require(). The decoded blob is a heavily _0x-obfuscated loader that imports node:http, node:https, node:zlib, and node:child_process (spawn), reconstructs destinations from an obfuscated string array (including an api endpoint on an external host, Ethereum JSON-RPC endpoints such as publicnode and drpc.org, and Etherscan-style txlist queries parameterized by hardcoded 0x addresses), issues outbound HTTPS requests carrying a custom \u0027x-payload-\u0027 header, decompresses gzip/brotli/deflate responses, and hands the resulting JavaScript to eval (\u0027[eval]\u0027 marker present). The loader additionally spawns a child \u0027node\u0027 process with stdin piping, injects the parent\u0027s require and module into globals (global.r, global.m, global._H, global._H2, global._V, _t_s, _t_u), and feeds the fetched second-stage script into that child \u2014 giving the remote operator full code execution on the installer\u0027s host on every require(), with the ability to deliver new payloads at will. The retained tailwindcss-forms plugin code after the eval() serves as cover for a cursory read.\n\n## Source: ghsa-malware (6494a1e8a2c80262deac2480044bfa5a1f823651eb4a812376d6fb5af521ce87)\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-18595",
  "modified": "2026-11-04T07:39:27.392824431Z",
  "published": "2026-11-04T00:24:48Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-w4jv-38cq-v2wm"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/tailwind-input-kit/v/0.5.5"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in tailwind-input-kit (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.