npm/@ornikar/eslint-config-typescript-nestjs 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.=-
The package advertises itself as an ESLint/TypeScript/NestJS configuration for the @ornikar scope but its install-time behavior is unrelated to any linting functionality. package.json declares scripts.preinstall: node setup.mjs. setup.mjs is itself obfuscator.io-style mangled (identifiers _0x488df8, _0x52943e, state-object property indirection with keys YCZJE/QkQej) and: checks for a local bun binary; otherwise downloads a versioned Bun release zip from github.com/oven-sh/bun, extracts the bun executable to a temp directory, chmod +x's it, and execFileSyncs it against math_init.js shipped in the same tarball. math_init.js is a single-line 727KB heavily obfuscated bundle using a shuffled string-array dispatcher (WV8StW shift routine, mangled identifiers MmgoCP/etDiOOB/JqTtnbZ, hex-numeric string table). The alternate runtime is being fetched specifically to execute the shipped obfuscated payload under an interpreter Node-based static review will not inspect, and the payload's contents cannot be verified from source. This is the alternate-runtime-dropper shape: npm install fires the preinstall, downloads a second JS runtime, and executes an opaque 700KB bundle that has no relationship to the package's declared ESLint-config purpose. The @ornikar scope's legitimate eslint config re-exports rule sets and has no need for Bun or a large binary payload at install time; this release is consistent with a compromised or impersonating publish.
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": [
{
"import_time": "2026-08-05T00:10:18.129925727Z",
"sha256": "4a8a520406850413121725dafe8da111fec11c894d1f8638071d9cce5dd409ce",
"modified_time": "2026-08-04T16:50:53Z",
"id": "GHSA-jr2v-ffp3-8hpw",
"versions": [
"24.0.11",
"24.0.10",
"24.0.9",
"24.0.8",
"24.0.7",
"24.0.6",
"24.0.5",
"24.0.4",
"24.0.3",
"24.0.2",
"24.0.1"
],
"source": "ghsa-malware"
},
{
"import_time": "2026-08-05T03:11:18.896342721Z",
"sha256": "52c6e597298c3680ae454032e29b0a1e46adecd04c15e2817ba1742ba2b9dd77",
"modified_time": "2026-08-05T01:52:00Z",
"id": "IN-MAL-2026-011539",
"versions": [
"24.0.3"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:11:18.780988251Z",
"sha256": "bd1437ed6e6cfa1f1e9346869fb88fb1819ff7b25642be370becd8573b54fc57",
"modified_time": "2026-08-05T01:51:53Z",
"id": "IN-MAL-2026-011538",
"versions": [
"24.0.5"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T01:52:27Z",
"sha256": "f9aa53f37dc8ddbc42ff617a38fa83746b0084389ee96474ef81be971143a3a3",
"id": "IN-MAL-2026-011542",
"versions": [
"24.0.1"
],
"import_time": "2026-08-05T03:11:19.245273134Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:26:42Z",
"sha256": "2593be7791f6341e4838eaf8a361bd16781e33473d08fef86e659b4a0c79d6e6",
"id": "IN-MAL-2026-011782",
"versions": [
"24.0.10"
],
"import_time": "2026-08-05T03:11:45.345196925Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:26:14Z",
"sha256": "309e95733d864a096a4d3609b3dcb9064d6b5fbed1b9dae035a67c511dd25a68",
"id": "IN-MAL-2026-011779",
"versions": [
"24.0.6"
],
"import_time": "2026-08-05T03:11:45.044562702Z"
},
{
"import_time": "2026-08-05T03:11:35.349299086Z",
"sha256": "7aeb115245f0bcaa515018c0dedbae9f3e2150fe050ff60856bfbc32728638c9",
"modified_time": "2026-08-05T02:13:24Z",
"id": "IN-MAL-2026-011688",
"versions": [
"24.0.7"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:13:32Z",
"sha256": "b3f94df718a3d576a552ce3d743c2d78ccf752b156dacd41c39788cbd9d06490",
"id": "IN-MAL-2026-011689",
"versions": [
"24.0.8"
],
"import_time": "2026-08-05T03:11:35.502936068Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T02:12:55Z",
"sha256": "baf9eb0f850b15ac40a5cf911a513b3b667c3ed07ed4223db2608750d574881f",
"id": "IN-MAL-2026-011684",
"versions": [
"24.0.2"
],
"import_time": "2026-08-05T03:11:34.823511991Z"
},
{
"import_time": "2026-08-05T03:11:37.533858002Z",
"sha256": "eb2537483cfa639547e9b5a6eeb51008502744a839bf3e1c700a3a162f6120d5",
"modified_time": "2026-08-05T02:16:06Z",
"id": "IN-MAL-2026-011707",
"versions": [
"24.0.4"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:11:48.292481556Z",
"modified_time": "2026-08-05T02:30:30Z",
"sha256": "1e24cff60a988d21723ce94ceaa8f3ec94426527dd0e172be784a82da9eee773",
"id": "IN-MAL-2026-011809",
"versions": [
"24.0.9"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T01:57:39Z",
"sha256": "3ad44f2329628fc3f4f05cb89a14bc18533609f577ff69f248897844c3b255fd",
"id": "IN-MAL-2026-011578",
"versions": [
"24.0.11"
],
"import_time": "2026-08-05T03:11:23.213162818Z"
}
]
}[
{
"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",
"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."
},
{
"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."
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-f/l8BjMD0n0q0LE2PM0WFm3FnHCu/mZVsmny20GCU8eGlrV2TbA3kWql5HOJmZmg5iV0zUDxrgc4zbcPkP/e1A==",
"sha1": "e5829077c08ae598741d9cca33b20ab557114102"
},
"filename": "eslint-config-typescript-nestjs-24.0.3.tgz"
}
],
"evidence_files": [
{
"path": "setup.mjs",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
},
{
"path": "math_init.js",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
},
{
"path": "package.json",
"sha256": "5f11523dc9191623a6842e58b21f28e3d097dc59df3d8c9e7e3e0824002360db",
"tlsh": "57010421dca89c9302dc19e6dd2a568350229947cc6bbd1cf2f6223c0b6c59f04ba6ad"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/eslint-config-typescript-nestjs/MAL-2026-11752.json"