npm/@servicetitan/anvil2-ext-common 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 a React UI component extension library, but its package.json declares scripts.preinstall = "node setup.mjs". setup.mjs is written with hex-mangled identifiers and property-lookup indirection (e.g. _0x488df8, _0x19328d.WuGMv="musl", _0x19328d.TdVzu="/etc/os-release"), fingerprints the installer's libc/distro via execFileSync("ldd", ["--version"]) and by reading /etc/os-release to detect musl/Alpine, then constructs a URL of the form https://github.com/oven-sh/bun/releases/download/bun-v<V>/<variant>.zip (selecting bun-linux-x64-musl-baseline on Alpine), downloads and extracts the Bun runtime, chmods it to 0755, and finally runs execFileSync(bun, ["math_init.js"]). math_init.js is a ~727 KB single-line obfuscator.io-style bundle with a shuffled string-array decoder (WV8StW performs push(shift()) rotation over a large mixed numeric/string array), so its behavior is not auditable from shipped source. The net effect on npm install is: fetch an alien runtime from a non-registry host and use it to execute a heavily-obfuscated bundled script on the installer's machine. A React component library has no legitimate need for the Bun runtime or an obfuscated multi-hundred-KB blob at install time, and executing the payload under Bun bypasses Node-based install-time inspection. This matches the alternate-runtime-dropper shape (obfuscated loader + alien-runtime execution of an opaque payload at preinstall) with a stated package purpose that does not justify any of it.
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": [
{
"import_time": "2026-08-05T00:10:18.18975553Z",
"modified_time": "2026-08-04T16:42:12Z",
"sha256": "ac55602d114a5d2d113428b41e9b27b6766a5d7bcfe8d4d192cccd19ce940d3a",
"source": "ghsa-malware",
"id": "GHSA-q2p9-cg4w-wmxp",
"versions": [
"0.7.7",
"0.7.6",
"0.7.5",
"0.7.4",
"0.7.3",
"0.7.2",
"0.7.1"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T00:44:45.869294Z",
"sha256": "000fc6465001194d6dcd8984b6e23ef9bce2ef62c72e25762c74e4d65770c022",
"modified_time": "2026-08-05T00:12:51Z",
"id": "IN-MAL-2026-011418",
"versions": [
"0.7.6"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:32.634034033Z",
"sha256": "425ac1ae0088d948001e0919d16afecb745e600c352357583e4aefd88f590fdd",
"modified_time": "2026-08-05T04:25:50Z",
"id": "IN-MAL-2026-012620",
"versions": [
"0.7.4"
]
},
{
"modified_time": "2026-08-05T04:16:47Z",
"source": "amazon-inspector",
"sha256": "632c25a9f84f91ed36287054ebf0760a33593d2b4124cea1b0186eaf10df76b6",
"import_time": "2026-08-05T04:38:24.907399323Z",
"id": "IN-MAL-2026-012556",
"versions": [
"0.7.5"
]
},
{
"import_time": "2026-08-05T04:37:59.013807837Z",
"modified_time": "2026-08-05T03:45:13Z",
"sha256": "b0e34728186817cac717a7485fb09a3192dd9c0e990d8621349b25c56632d08d",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012337",
"versions": [
"0.7.3"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:08.730939787Z",
"sha256": "bfc26b02856838fc3a73358768ebee77b15bd08cc98a0d528d0552dad593f1b2",
"modified_time": "2026-08-05T03:57:31Z",
"id": "IN-MAL-2026-012423",
"versions": [
"0.7.7"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:02.809180229Z",
"sha256": "0ef7e8313b265bd2823203d2927777b717b2e156f4210fb1c2706a6b3927c573",
"modified_time": "2026-08-05T03:50:19Z",
"id": "IN-MAL-2026-012372",
"versions": [
"0.7.2"
]
},
{
"modified_time": "2026-08-05T04:56:44Z",
"source": "amazon-inspector",
"sha256": "e09333be6937c07e3255a8e9f1b604e2617a7baba201cbe395e3ed254b1028c8",
"import_time": "2026-08-05T06:00:10.515252349Z",
"id": "IN-MAL-2026-012839",
"versions": [
"0.7.1"
]
}
],
"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."
},
{
"paths": [
"Math_Symbol.js",
"math_init.js"
],
"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."
}
]
}
}[
{
"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."
},
{
"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."
}
]
{
"package_integrity": [
{
"filename": "anvil2-ext-common-0.7.6.tgz",
"hashes": {
"sha512_sri": "sha512-3uX9tQx1jEtOKkTFY2FlotSx9LGFGDFkf53kBLhKDaZKstTrvCAEUASjDdxTyO0hlwY3oIpTIZeHCTnJYnkRJQ==",
"sha1": "7ae548fbb888f6c551109958e895b3e64aa7dd81"
}
}
],
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
},
{
"tlsh": "d5418a14cca5ddd32dc611ad58361202a018550b9c25fc8c33ea976e8f9e7af31b9b6e",
"sha256": "62aa95705b5d49bfcccd96532f36a243348c309c4800a3c00d4864806a82ef01",
"path": "package.json"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/anvil2-ext-common/MAL-2026-11826.json"