GHSA-v87g-929x-2rg9
Malicious code in serverless-env-helpers (npm)
Auswirkung
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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/c12c2501196fb99e4c30b2533ea0ab512c576d14/osv/malicious/npm/serverless-env-helpers/MAL-2026-20051.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | serverless-env-helpers | = 1.0.0 | nicht erfasst |