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

Published Nov 16, 2026
·
Updated

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 Software

1 affected component
npm/serverless-env-helpers=1.0.0, =1.0.1, =1.0.2, =1.0.3, =1.0.4, =1.0.5, =1.0.6, =1.0.7

Event History

Nov 16, 2026
Advisory Published
via OSV·03:00 PM
Data Sourced
via OSV·03:00 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203