MAL-2026-3154 Malicious code in apple-infra-gcp-leak (npm)
- Package
- apple-infra-gcp-leak
- Registry
- npm
What is MAL-2026-3154?
MAL-2026-3154 is a malicious package in apple-infra-gcp-leak, 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. Queries the GCP instance metadata service to steal the GCP project ID, zone, service account OAuth2 access token (the 'golden ticket'), and service account scopes; exfiltrates all data to https://webhook.site/1324ffab-98a9-4f19-8f72-4bbaad684aaf. The package also bundles pwn.sh, which hunts for npm/GitHub authentication tokens (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, NPM_AUTH_TOKEN) in the environment and ~/.npmrc, then uses any found token to publish a trojanized version of apple-app-store-server-library to the npm registry (supply chain attack), and exfiltrates results to https://webhook.site/85f78e76-dc73-4cb5-a65c-27f2c10db591.
The package apple-infra-gcp-leak 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-3154?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-wvgf-2hjr-hcw7.