MAL-2026-3163
Dashboard / Malicious Package / MAL-2026-3163
MAL-2026-3163
Summary: Malicious code in npm-global-util (npm)
Details: Malicious npm package published by threat actor "raya4321" as part of a coordinated typosquatting campaign impersonating Apple internal infrastructure services (authentication, PKI, telemetry, CloudKit, and cloud infrastructure). All packages in this campaign execute credential-theft payloads during npm installation via preinstall or postinstall lifecycle hooks. Trigger: preinstall. Executes ms_audit.sh on install: reads the full process environment from /proc/1/environ (including PID 1 / container init secrets), searches filesystem for entrypoint/startup scripts, and queries the GCP instance metadata API for all instance attributes; exfiltrates all data to https://webhook.site/e44df9ae-8bff-478a-b1f2-514c1fcbf303. Source: amazon-inspector (48ee2fe96a946076abe1db7acffc5f90477a30fe288e50bf2dae0a53a80fc3d7) The package npm-global-util was found to contain malicious code. Source: ghsa-malware (4dff7c54f2930e75fc19e2a137e55cfc6e67b2d77e0e15aad170737da00bb8f6) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected packages
Package
Name: npm-global-util
Purl: pkg:npm/npm-global-util
Affected ranges
Type: SEMVER
Events:
