unscoredMalware report
MAL-2026-20051
Malicious code in serverless-env-helpers (npm)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | serverless-env-helpers | unknown | none recorded |