{"id":"MAL-2026-20051","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.","modified":"2026-11-17T05:45:05.530552092Z","published":"2026-11-16T15:00:00Z","database_specific":{"iocs":{"domains":["probe-worker.hugebigballs87.workers.dev"],"files":[{"paths":["postinstall.js"],"digests":{"sha256":"088598999258e9703caa57a9a85994b3ee1b73b89d67d777ea7514e490d5041a"}}]}},"references":[{"type":"WEB","url":"https://wormsign.io/portfolio/serverless-env-helpers/"}],"affected":[{"package":{"name":"serverless-env-helpers","ecosystem":"npm","purl":"pkg:npm/serverless-env-helpers"},"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"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/serverless-env-helpers/MAL-2026-20051.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}