Find a vulnerability
Search criteria
Related vulnerabilities
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| Ecosystem | Package | Versions |
|---|---|---|
| npm |
tailwind-input-kit
|
Affected: All versions (semver)
0.5.5
|
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.
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.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
src/index.js
|
sha256
5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24etlsh
38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67 |
- CWE-506 - Embedded Malicious Code
| URL | Tags |
|---|---|
| https://github.com/advisories/GHSA-w4jv-38cq-v2wm | ADVISORY |
| https://www.npmjs.com/package/tailwind-input-kit/… | PACKAGE |
{
"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)"
}