MAL-2026-5383
Dashboard / Malicious Package / MAL-2026-5383
MAL-2026-5383
Summary: Malicious code in @doaction/wasm-loader (npm)
Details: Source: amazon-inspector (118555cc138d5dbc40c11c385af69fa4c6c5caa2fc05e6b0b49c65cc69491a78) Package name and description advertise a 'WASM loader,' but the tarball ships no WebAssembly code. Instead, package.json declares `"preinstall": "node scripts/postinstall.js"`, and scripts/preinstall.js unconditionally `require()`s `@doaction/shared/bin/preinstall.js`, which the package self-documents as shipping environment telemetry to a Datadog intake on every `npm install`. This auto-fires for every installer with no opt-in or disclosure in the README, and the destination is hardcoded outside the installer's control. Additionally, src/index.js exports `collectEnv` and `sendToDatadog` as part of the public module surface (`module.exports = { collectEnv, sendToDatadog, reportWasmEnv, WASM_WHITELIST }`), giving any caller a primitive to send arbitrary `process.env` contents to the same Datadog endpoint, bypassing the advertised `WASM_WHITELIST` path. The combination of a misleading package identity (wasm loader with no wasm), a 9.9.9 dependency-confusion-shaped version, a scoped org, and install-time + import-time exfiltration primitives to a single hardcoded third-party intake constitutes installer-side data exfiltration. Source: ghsa-malware (a0b625151fd5954a20ab970790e56e52f1e321705f15ab535f5912ff5b79a3d6) 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.
References: https://github.com/advisories/GHSA-54mr-v524-rmw6, https://www.npmjs.com/package/@doaction/wasm-loader/v/99.99.99, https://www.npmjs.com/package/@doaction/wasm-loader/v/9.9.9
Affected packages
Package
Name: @doaction/wasm-loader
Purl: pkg:npm/%40doaction%2Fwasm-loader
Affected ranges
Type: SEMVER
Events:
