# MAL-2026-20051: Malicious code in serverless-env-helpers (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-16
- Modified: 2026-11-17

## Affected versions

- serverless-env-helpers (npm): 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7

## Description

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.

## References

- https://wormsign.io/portfolio/serverless-env-helpers/

Page: https://cve.now/MAL-2026-20051

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
