MAL-2026-3163 Malicious code in npm-global-util (npm)

Malicious package Published
Package
npm-global-util
Registry
npm

What is MAL-2026-3163?

MAL-2026-3163 is a malicious package in npm-global-util, published on 29 Apr 2026.

Official description

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.

The package npm-global-util was found to contain malicious code.

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.

What should I do about MAL-2026-3163?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-56m6-68r8-r7p4.

Is MAL-2026-3163 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free