OpenSSF/OSV advisory MAL-2026-3155 confirms this npm version as malicious. 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.
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in apple-infra-network-v2 (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. Performs a network pivot audit: dumps /etc/resolv.conf, performs internal DNS lookups for internal.apple.com, enumerates ARP neighbors, and collects proxy/cloud region environment variables; exfiltrates 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 (e80599af1e13ac4ce47aed30e24d8b5006ddf26b1b98bb61cbb7296965c1cd10) The package apple-infra-network-v2 was found to contain malicious code.
## Source: ghsa-malware (34a04182ce0e3f25068dec2bc79cef04c5bdf3b78eb351128db1a6205a9fcfc5) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms apple-infra-network-v2@1.0.0 as malicious (MAL-2026-3155): Malicious code in apple-infra-network-v2 (npm)