MAL-2026-5375
Dashboard / Malicious Package / MAL-2026-5375
MAL-2026-5375
Summary: Malicious code in @doaction/pay (npm)
Details: Source: amazon-inspector (94ec95e460ba16497749775ca5e0bac92e4013e2297dd506bb2b99254acffaf3) @doaction/pay 9.9.9 declares `"preinstall": "node scripts/postinstall.js"` in package.json, which requires `@doaction/shared/bin/postinstall.js` and runs automatically on `npm install` with no user consent. The package's stated purpose is Datadog environment telemetry, and src/index.js wraps `collectEnv` and `sendToDatadog` from the shared dependency. At install time no caller-supplied API key or destination exists, so the preinstall execution path reads installer environment variables and ships them to a destination hardcoded inside the transitive dependency. Two additional concerns corroborate intent: (1) the lifecycle script invoked from `preinstall` is misleadingly named `scripts/postinstall.js`, while an unused `scripts/preinstall.js` of similar shape sits alongside it — a reviewer-confusion pattern; (2) the 9.9.9 version with an 'internal testing' description is consistent with a coordinated package set targeting installer environments rather than a normal release. Source: ghsa-malware (ea0e4224fea42b723c5ddeed073192af51d5fec4e00b596f37df2f4e3585f4b5) 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-55rv-c39c-944m, https://www.npmjs.com/package/@doaction/pay/v/99.99.99, https://www.npmjs.com/package/@doaction/pay/v/9.9.9
Affected packages
Package
Name: @doaction/pay
Purl: pkg:npm/%40doaction%2Fpay
Affected ranges
Type: SEMVER
Events:
