npm/@ornikar/commitlint-config is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.
-= Per source details. Do not edit below this line.=-
This package advertises itself as a commitlint configuration (index.js is 12 lines of rules) but its package.json declares a preinstall hook node setup.mjs. setup.mjs is obfuscator.io-style renamed code (_0x-style identifiers, property-alias indirection tables hiding calls to execFileSync, https.get, zlib.inflateRawSync) that downloads the Bun runtime archive from the oven-sh/bun GitHub releases, extracts the bun binary to a temp directory, chmods it executable, and then invokes it against a bundled 727KB sibling file math_init.js. math_init.js is a single-line obfuscator.io-style bundle with a // @bun @bun-cjs header, a string-rotation function and large numeric/string constant table, and a decoder — designed to run only under the downloaded Bun runtime, which prevents inspection by Node-based tooling on the installer. The combination of an alternate-runtime fetch used to execute a heavily-obfuscated in-tarball blob, on npm install, in a package whose declared purpose has no relation to Bun or to native execution, is the alternate-runtime-dropper pattern and constitutes install-time arbitrary code execution on the developer/build machine.
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.
{
"iocs": {
"files": [
{
"paths": [
"setup.mjs"
],
"note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.",
"source": "PACKAGE_ARCHIVE"
},
{
"paths": [
"Math_Symbol.js",
"math_init.js"
],
"note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.",
"source": "PACKAGE_ARCHIVE"
}
]
},
"malicious-packages-origins": [
{
"source": "ghsa-malware",
"modified_time": "2026-08-04T16:44:48Z",
"sha256": "16f9277694f2a93d93238b33bd96b49e1b642a58ca15afb0bf6b653646240512",
"id": "GHSA-79fp-44mf-fvwq",
"versions": [
"8.3.12",
"8.3.11",
"8.3.10",
"8.3.9",
"8.3.8",
"8.3.7",
"8.3.6",
"8.3.5",
"8.3.4",
"8.3.3",
"8.3.2"
],
"import_time": "2026-08-05T00:10:17.954498719Z"
},
{
"import_time": "2026-08-05T03:11:45.524989763Z",
"modified_time": "2026-08-05T02:26:58Z",
"sha256": "0065445968b1cc6bdaa8f312deff9415e56a989d061dd306423923c4fa68cb1d",
"id": "IN-MAL-2026-011784",
"versions": [
"8.3.6"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:01:10Z",
"sha256": "192f0e9d25c684f29072994388b7e495dc701291b80c75028b11c5db42a3e946",
"id": "IN-MAL-2026-011603",
"versions": [
"8.3.3"
],
"import_time": "2026-08-05T03:11:25.893029225Z"
},
{
"import_time": "2026-08-05T03:11:47.300818284Z",
"modified_time": "2026-08-05T02:29:21Z",
"sha256": "50f2a8c80b55006d2aabc40d053b156b6959dd7fe1e6662521a6d7390486f012",
"id": "IN-MAL-2026-011801",
"versions": [
"8.3.10"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:11:20.413158955Z",
"modified_time": "2026-08-05T01:54:09Z",
"sha256": "aa861d9c1fbc85914717602811cc2cf239a70d8ea2a4918b216c7a32e8f133bc",
"id": "IN-MAL-2026-011554",
"versions": [
"8.3.4"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:11:47.652657701Z",
"modified_time": "2026-08-05T02:29:48Z",
"sha256": "fb1d3426d0e9133e0ec99f2f7c057d1a5841fd9487fa632dd9ede7f4fb69ba75",
"id": "IN-MAL-2026-011804",
"versions": [
"8.3.5"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:01:34Z",
"sha256": "034fe705d76bbb59eee89f80fb97d49cb9fa83833a5888453f3904b7332a0605",
"id": "IN-MAL-2026-011606",
"versions": [
"8.3.9"
],
"import_time": "2026-08-05T03:11:26.163635583Z"
},
{
"import_time": "2026-08-05T03:11:47.430475556Z",
"sha256": "0ebfdd65b45932305f8e7368fad86f61b10bc178b51ad312b16e48e30a469747",
"modified_time": "2026-08-05T02:29:30Z",
"id": "IN-MAL-2026-011802",
"versions": [
"8.3.11"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:11:47.519481537Z",
"sha256": "4ab56a794832335e6b4496583cfe68d3a763a9a782bff3dc1aa80ed7f0fe077f",
"modified_time": "2026-08-05T02:29:40Z",
"id": "IN-MAL-2026-011803",
"versions": [
"8.3.7"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T01:54:28Z",
"sha256": "77e675daa3972714d08451ba53e91278e641cb6ff4ed007f1b0b8bbaa87fc897",
"id": "IN-MAL-2026-011556",
"versions": [
"8.3.8"
],
"import_time": "2026-08-05T03:11:20.579587721Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:11:12Z",
"sha256": "7b020506dd83351ea62ff2c444ebd8f4bb227469b2df55dfff044ba342d8ba00",
"id": "IN-MAL-2026-011672",
"versions": [
"8.3.2"
],
"import_time": "2026-08-05T03:11:33.592587903Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:27:13Z",
"sha256": "d6a8bf52dc4aeb64660ba6779833e28efb8b6ce6f183b7f766b95dcf07eb1ad3",
"id": "IN-MAL-2026-011786",
"versions": [
"8.3.12"
],
"import_time": "2026-08-05T03:11:45.738066768Z"
}
]
}[
{
"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."
},
{
"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."
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"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",
"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."
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-7Q6+wU/TyznVNOP6SWopRFJy8V2kx4w8WfVhoMDJVVFoJogpR37RyH8/s/HkPRFxg+jlWfrWbrxfpWp9KYzmbg==",
"sha1": "5e1eac2be325dd4ef2752b93bd92a10152e81f54"
},
"filename": "commitlint-config-8.3.6.tgz"
}
],
"evidence_files": [
{
"path": "setup.mjs",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
},
{
"path": "math_init.js",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/commitlint-config/MAL-2026-11744.json"