Advisory

MAL-2026-20051

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in serverless-env-helpers (npm)

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-11-16 15:00 UTC
Modified
2026-11-17 05:45 UTC

Affected packages and fixes

serverless-env-helpers

npm · All systems

Affected

  • 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

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences