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

serverless-env-helpersnpm

Advisory published Updated

serverless-env-helpers is a confirmed malicious npm package (MAL-2026-20051) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in serverless-env-helpers (npm)

MAL-2026-20051
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall serverless-env-helpers

What this malware does

Malicious package. A postinstall hook runs node postinstall.js. In version 1.0.1 it read ~/.aws/config, ~/.aws/credentials, ~/.docker/config.json and ~/.netrc, queried the ECS task metadata endpoint (169.254.170.2/v2/metadata), requested an EC2 IMDSv2 token (169.254.169.254/latest/api/token) and ran npm config list --json. Every detonated version contacted probe-worker.hugebigballs87.workers.dev. Observed in a sandboxed install. All eight versions were published on 2026-04-03 within about an hour and unpublished from npm on 2026-04-05.

Malicious versions

8 flagged
1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.7

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for serverless-env-helpers (8 malicious versions).

  2. If you installed it — respond

    serverless-env-helpers 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 serverless-env-helpers 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. serverless-env-helpers on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

References

Credits

  • wormsign · finder

Detect & block this

O3 blocks serverless-env-helpers-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

serverless-env-helpers (npm) malicious package — MAL-2026-20051 | O3 Security