npm/@ornikar/graphql-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.=-
@ornikar/graphql-config@1.1.10 declares a preinstall hook (node setup.mjs) that runs automatically on npm install. setup.mjs uses _0xNNNNNN-style identifier obfuscation and per-call string-lookup objects to hide its constants; when bun is not already on PATH it downloads a Bun runtime archive from github.com/oven-sh/bun/releases/download/bun-v<VER>/<platform>.zip, unpacks it to a temp directory, chmods the binary executable, and invokes it (execFileSync) to run the sibling file math_init.js. math_init.js is a 727KB Bun-compiled bundle (// @bun @bun-cjs) with hex-scrambled identifiers and no readable source. The advertised purpose of the package is GraphQL configuration/validation, which has no relationship to Bun or a compiled binary payload. The combination — install-time execution, alternate-runtime dropper that bypasses Node-based scanner visibility, obfuscation of both the loader and the payload, and a cover-story package name unrelated to what is executed — is the alternate-runtime install-time-RCE dropper pattern. The bytes executed under the fetched Bun runtime cannot be traced from Node tooling.
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": [
{
"source": "PACKAGE_ARCHIVE",
"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.",
"paths": [
"setup.mjs"
]
},
{
"source": "PACKAGE_ARCHIVE",
"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.",
"paths": [
"Math_Symbol.js",
"math_init.js"
]
}
]
},
"malicious-packages-origins": [
{
"source": "ghsa-malware",
"import_time": "2026-08-05T00:10:18.187511386Z",
"versions": [
"1.1.11",
"1.1.10",
"1.1.9",
"1.1.8",
"1.1.6",
"1.1.4",
"1.1.5",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.7"
],
"sha256": "b71cc4ec63fdca7037cc2088acc89d58c838589179afa24a910a34076d5f5414",
"modified_time": "2026-08-04T16:44:48Z",
"id": "GHSA-pwmg-hhvx-94mr"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.163680908Z",
"versions": [
"1.1.4"
],
"sha256": "17537e0ede0e391eaf2981a35ec3991fb9c5cd4b91585018def6c203cedeb4dd",
"modified_time": "2026-08-05T02:44:52Z",
"id": "IN-MAL-2026-011911"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.29620088Z",
"versions": [
"1.1.6"
],
"sha256": "4a60ed2585322f4b13c5ff5cee4334402e1ac9d16034dda93e4cc15088c866c2",
"modified_time": "2026-08-05T02:44:59Z",
"id": "IN-MAL-2026-011912"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.42902528Z",
"versions": [
"1.1.11"
],
"sha256": "9010976e38916d2ef7fbd229970fd21101c850160f7ebf0d46bf2b67e1788669",
"modified_time": "2026-08-05T02:45:07Z",
"id": "IN-MAL-2026-011913"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:58.831353897Z",
"versions": [
"1.1.8"
],
"sha256": "cd1b7faf61b81baa561b055d8f00956ad110fc20ff45c667f09e74e951edac6b",
"modified_time": "2026-08-05T02:44:18Z",
"id": "IN-MAL-2026-011907"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.080428723Z",
"versions": [
"1.1.5"
],
"sha256": "de8ca55bd26a4d3f8ed03cb5c6a1f3a500fd72a2e2e89a920d01a8d644a7f3d9",
"modified_time": "2026-08-05T02:44:45Z",
"id": "IN-MAL-2026-011910"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:58.906858053Z",
"versions": [
"1.1.2"
],
"sha256": "32827ed42f5a470adb5e47f32793f19df2158ed9a69d9532c95ad04beca8b10c",
"modified_time": "2026-08-05T02:44:28Z",
"id": "IN-MAL-2026-011908"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.82838224Z",
"versions": [
"1.1.1"
],
"sha256": "484f94b4adc9f85e1804149542b73a9339a4a967694540455caa6665973db545",
"modified_time": "2026-08-05T02:45:40Z",
"id": "IN-MAL-2026-011917"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:58.999919349Z",
"versions": [
"1.1.7"
],
"sha256": "9f69b6b6961d4c3ae492df1ff6154a15a6d88201bd440f851e8319e1a80e7e6f",
"modified_time": "2026-08-05T02:44:35Z",
"id": "IN-MAL-2026-011909"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:59.510858194Z",
"versions": [
"1.1.10"
],
"sha256": "ad06bd942330523f8c210d35e7dca76888e1f278df138973ef6a538a226b0727",
"modified_time": "2026-08-05T02:45:15Z",
"id": "IN-MAL-2026-011914"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:39.849158267Z",
"versions": [
"1.1.9"
],
"sha256": "b0780ed733e03972f65bcc96d40e5ac892f51c17cf393bb41b0ef6244c2af88a",
"modified_time": "2026-08-05T02:19:31Z",
"id": "IN-MAL-2026-011731"
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:32.884749235Z",
"versions": [
"1.1.3"
],
"sha256": "e288c041fc0e6032b84a6b44dd3d8caba16d7fa0635b0ae0ee90ae40b74c07a0",
"modified_time": "2026-08-05T02:09:58Z",
"id": "IN-MAL-2026-011665"
}
]
}[
{
"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",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/graphql-config/MAL-2026-11756.json"
{
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"path": "setup.mjs",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb"
},
{
"path": "math_init.js",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "66fcb4f82b285eed2f8235907d81253a3c7d64ae",
"sha512_sri": "sha512-XULa0Ps9sjiYRCt0VrtNOeFFTr0/fc29EY0dQTRIakOHCUoiIgjCjakyGu/Tiy7b86Zk7VKUWBJHHcyVjY/mtA=="
},
"filename": "graphql-config-1.1.4.tgz"
}
]
}