npm/@or-sdk/views 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's preinstall lifecycle hook runs setup.mjs, an obfuscator.io-style script (hex-numeric identifiers such as _0x488df8, inline lookup objects like _0x19328d.YCZJE) that downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v<V>/... and then invokes execFileSync(bunPath, [math_init.js]). The executed sibling file math_init.js is a 727KB single-line obfuscated bundle using a shuffled string-array (WV8StW rotator) and a large numeric alphabet table (n7gIxM) to reconstruct strings at runtime; its name and // @bun @bun-cjs header are cover-story labels unrelated to any math or view-rendering functionality expected from a views SDK. Fetching a separate runtime specifically to execute obfuscated sibling code at install time bypasses Node-based inspection, and applying obfuscation to the very lifecycle script performing the download-and-execute is characteristic of deliberate evasion rather than a legitimate native-addon build (node-gyp/prebuild-install scripts are not obfuscated). The installer-facing effect on npm install is execution of concealed code delivered via an alternate runtime that does not match the package's advertised purpose.
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.
{
"malicious-packages-origins": [
{
"modified_time": "2026-08-04T15:50:09Z",
"source": "ghsa-malware",
"sha256": "fbe302b8127321481b4917b29a44f53adbfe63c2923cd1e362582068b1fa2593",
"import_time": "2026-08-05T00:10:18.081280478Z",
"id": "GHSA-grj3-qrwq-q7rf",
"versions": [
"3.1.6",
"3.1.7"
]
},
{
"import_time": "2026-08-05T08:22:25.135318545Z",
"modified_time": "2026-08-05T07:53:31Z",
"sha256": "6764513415bf9be4d1b835e161f5a6a81f917cb2133b523a0175beab865a648c",
"source": "amazon-inspector",
"id": "IN-MAL-2026-014047",
"versions": [
"3.1.6"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T08:22:13.465667939Z",
"sha256": "b19b37de6d84bb7721bdc64834547d2ce5fa45a9bdd2db1aa37bfa513065db70",
"modified_time": "2026-08-05T07:29:35Z",
"id": "IN-MAL-2026-013886",
"versions": [
"3.1.7"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T08:22:34.204933252Z",
"sha256": "b48c13356fc36c938fe1c7f57dce85f16da4566e5a6c488b7653ec49d6cba78a",
"modified_time": "2026-08-05T08:12:14Z",
"id": "IN-MAL-2026-014175",
"versions": [
"3.1.5"
]
}
],
"iocs": {
"files": [
{
"paths": [
"setup.mjs"
],
"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."
},
{
"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."
}
]
}
}[
{
"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",
"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."
}
]
{
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@or-sdk/views/MAL-2026-11737.json"