npm · Malicious package advisory
Malwareapple-internal-pki-utils
MAL-2026-3160
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). --- _-= Per source details. Do not edit below this line.=-_ ## 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.
Compromised versions (2)
- 1.0.2
- 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.