@doaction/signalhubnpm
Malicious code in @doaction/signalhub (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
@doaction/[email protected] is shaped as a dependency-confusion attack against organizations using a private @doaction scope. package.json declares "preinstall": "node scripts/postinstall.js", which unconditionally require()s @doaction/shared/bin/postinstall.js. The package's own src/index.js re-exports collectEnv, sendToDatadog, and reportEnvToDatadog from @doaction/shared, and the description states the purpose is "Datadog environment telemetry for internal testing." On npm install, before any user code runs, the preinstall hook executes and ships the installer's environment variables to a third-party Datadog endpoint with no consent prompt and no opt-out. The 9.9.9 version on a scoped, internal-sounding name is the canonical dependency-confusion squat marker — designed to outrank private-registry versions and silently resolve from the public registry into internal builds.
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 versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection