OpenSSF/OSV advisory MAL-2026-3160 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-internal-pki-utils (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: postinstall. Exfiltrates hostname and filtered environment variables matching APPLE, AWS, GIT, or SECRET key patterns, base64-encoded, to a requestcatcher.com endpoint constructed from the $CATCHER_NAME environment variable (/apple_leak path).
---
## Source: amazon-inspector (f9d85f8528f4927e9157087f7143d3a0b9229214bf4795afb20ca5a1dcc1d753) The package apple-internal-pki-utils was found to contain malicious code.
## Source: ghsa-malware (75c29acac4d431376d85245a6a7929606ba14b95e5bf35f0c805ac96f2ea0e71) 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-internal-pki-utils@1.0.2 as malicious (MAL-2026-3160): Malicious code in apple-internal-pki-utils (npm)