mexc-utils-helper (npm): malicious postinstall steals AWS/GCloud/Docker/Git credentials and beacons to 69.42.222.23
Severity: critical · Patch status: no-fix-needed · Since 2026-11-17
OpenSSF reported npm package mexc-utils-helper as malicious code (GHSA-c9cq-9rpq-6v74, CWE-506). A postinstall hook runs node postinstall.js, which reads cloud and developer credentials (~/.aws/config, ~/.aws/credentials, ~/.config/gcloud/applicationdefaultcredentials.json, ~/.docker/config.json, ~/.git-credentials), performs host reconnaissance (ps aux, whoami, id, uname -a) and connects to bare IP 69.42.222.23. The name targets users of the MEXC crypto exchange; the package has no repository or README. Version 1.0.0 was published 2026-03-24 and unpublished from npm on 2026-03-27; no patched version exists. Anyone who installed it should assume credentials were exfiltrated.
What to do
- Check whether mexc-utils-helper@1.0.0 was installed in any environment; remove it and purge node_modules/lockfile entries
- Rotate all AWS, Google Cloud, Docker Hub and Git credentials on affected machines, including application_default_credentials
- Review cloud audit logs and network logs for connections to 69.42.222.23
- Rebuild affected hosts/CI runners from trusted images
- Block 69.42.222.23 at egress and scan for the postinstall.js artifact
Sources
All live incidents on Threat Watch