NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@nstrlabs/utilsnpm

Advisory published Updated

@nstrlabs/utils is a confirmed malicious npm package (MAL-2026-5423) that steals credentials and exfiltrates sensitive data (malicious versions 99.0.0, 99.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @nstrlabs/utils (npm)

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

What this malware does

On npm install, the package's preinstall script (node index.js || true) executes automatically and collects host identifiers from the installer's machine — os.hostname(), os.userInfo().username, __dirname, and process.cwd() — then exfiltrates them through two channels. First, the JSON payload is POSTed to a hardcoded bare IP http://172.201.213.59:9090/c. Second, the data is hex-encoded into a subdomain and resolved via DNS against *.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live, an Interactsh out-of-band beacon. The || true suffix swallows any error so the install always succeeds silently. Although the package metadata describes itself as 'security research', every installer is harmed: host reconnaissance fires unconditionally on install with no opt-out and no disclosure.

Malicious versions

2 flagged
99.0.099.0.1

Indicators of compromise (SHA-256)

3dc7b28e2c70c166b75e806b589dac5e2aae3dffe338f5b9f2707692dd1b8c17
84a4bcae5f6897112304920f60d6cbb6cbe880104db4ef1ff69be17fbb69b8ac
36d8d7c327560bb7a4c08d906db240a2dc146e20f828d9dfc5ab79497b155355
99c9771eea6e1ac9070aeee2d1c4a2264bfd92586e2af228932ca88f5fee0b0f

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @nstrlabs/utils (2 malicious versions).

  2. If you installed it — respond

    @nstrlabs/utils 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 @nstrlabs/utils 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. @nstrlabs/utils 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-005102IN-MAL-2026-005101IN-MAL-2026-005142IN-MAL-2026-005143

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @nstrlabs/utils-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

@nstrlabs/utils (npm) malicious package — MAL-2026-5423 | O3 Security