Advisory

MAL-2026-5383

Also known as: GHSA-54mr-v524-rmw6

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @doaction/wasm-loader (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

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.

Severity

Not rated by the source.

Dates

Published
2026-06-09 14:17 UTC
Modified
2026-06-09 19:01 UTC

Affected packages and fixes

@doaction/wasm-loader

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences