MAL-2026-3154

    Dashboard / Malicious Package / MAL-2026-3154

    MAL-2026-3154

    Published: 29 Apr 2026Last Modified: 15 May 2026Aliases: 
    GHSA-wvgf-2hjr-hcw7

    Summary: Malicious code in apple-infra-gcp-leak (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. 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. Source: amazon-inspector (78e8c1e0510900d5269d9d79d11cad804cc69d38cd2230d3c4fdef470136ee3b) The package apple-infra-gcp-leak was found to contain malicious code. Source: ghsa-malware (fb432d919ca836694a5ccb2d4e9db7310a0300fea05231071362cc8b7a749764) 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: apple-infra-gcp-leak

    Purl: pkg:npm/apple-infra-gcp-leak

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.2.0