NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: @doaction published 15 malicious packages. See the full campaign →
Malicious package

@doaction/authnpm

Advisory published Updated

@doaction/auth is a confirmed malicious npm package (MAL-2026-5369) that steals credentials and exfiltrates sensitive data (malicious versions 9.9.9, 99.99.99). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @doaction/auth (npm)

MAL-2026-5369
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @doaction/auth

What this malware does

package.json declares "preinstall": "node scripts/postinstall.js", which require()s '@doaction/shared/bin/postinstall.js'. The package's stated purpose is to transmit environment data to Datadog (api.datadoghq.com) at install time. The actual fetch/transmit logic lives in the @doaction/shared dependency, not in this tarball, so the runtime behavior at install time depends on what that sibling package executes when loaded. The library API src/index.js exports reportAuthEnv()/reportEnvToDatadog() with an auth-related env whitelist (AUTH_PROVIDER, OAUTH_ENABLED, SSO_ENABLED, etc.); that path requires a caller-supplied ddApiKey and is opt-in. Additionally, package.json wires the preinstall lifecycle to a file named scripts/postinstall.js while an unused scripts/preinstall.js also ships in the tarball — a naming inversion that reduces reviewer signal. The destination is a known commercial observability SaaS rather than attacker infrastructure, and the package's advertised purpose is exactly this telemetry, so this is undisclosed-by-default telemetry shape (consent-violating at install time, breaks air-gapped installs, no opt-out) rather than credential exfiltration to attacker-controlled hosts. Routing to human review to assess the sibling package's actual install-time payload and whether disclosure/opt-out should be required.

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

2 flagged
9.9.999.99.99

Indicators of compromise (SHA-256)

4f5cb209773d28630723ae7434596493f0829f1a14a765ba0b66f1f689a10e3a
315373bdc7d680635b763119fdedc6245f623aba4d3423f8f1447f057ea75c90
f96ec00bc5ed7192c8483a1b27f2212ce64e5a86f1dc309b66d14ea969de00fb
a625267416db212dbcffcba51a6ac48bd779ccd3760b7ef8f59e6b4905df44e5

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @doaction/auth (2 malicious versions).

  2. If you installed it — respond

    @doaction/auth is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @doaction/auth was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @doaction/auth on npm has been identified as a malicious package (versions 9.9.9, 99.99.99 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-5cwj-c46v-mpmfIN-MAL-2026-004996IN-MAL-2026-004995IN-MAL-2026-008955

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @doaction/auth-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@doaction/auth (npm) malicious package — MAL-2026-5369 | O3 Security