Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@nstrlabs/authnpm

Malicious code in @nstrlabs/auth (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

On npm install, the package's preinstall hook (node index.js || true, declared in package.json) automatically collects host identifiers — os.hostname(), os.userInfo().username, __dirname, and process.cwd() — and exfiltrates them through two channels: (1) a DNS lookup to a hex-encoded subdomain of d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live (an out-of-band interaction canary), and (2) an HTTP POST of the JSON payload to the bare IP 172.201.213.59 on port 9090 at path /c. The package ships no other functionality; the entire codebase is a beacon. Combined with the implausible version 99.0.0, the @nstrlabs scope, and the self-described 'security research' purpose, this has the canonical shape of a dependency-confusion attack against a private @nstrlabs/auth namespace, where any organization that mistakenly resolves the public registry copy will leak internal hostnames and developer identities to the attacker.

Malicious versions

2 flagged
99.0.099.0.1

Indicators of compromise (SHA-256)

f9efcc731c346683d950fd8237f2ca892a7971d0cc340a48efcb60ba02abe851
fe577c55bca36113c93b1486725ad4f853775354bd6a7c6e0eb6c300652e2ae4
608be3457e7c809e60c1b76b9406489652f0ef708bfb97db2b6e0bb92b6836c2
6af43df85e84a095699136acc4e3a92111b93764db3d276288e842f3bb17e575

Frequently asked questions

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

Campaign

IN-MAL-2026-005084IN-MAL-2026-005085IN-MAL-2026-005140IN-MAL-2026-005141

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
@nstrlabs/auth (npm) malicious package — MAL-2026-5419 | O3 Security