MAL-2026-3158
Dashboard / Malicious Package / MAL-2026-3158
MAL-2026-3158
Summary: Malicious code in apple-internal-pki-trust (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. Exfiltrates Azure access tokens (~/.azure/accessTokens.json), git credentials (~/.git-credentials), and .env files from the home directory, base64-encoded, to https://franki.requestcatcher.com/apple_pre via curl. Source: amazon-inspector (50fe6a637643643b8f442834e218443bbcaf18dcaefe0f0b5ae8d66cbe7a6e84) The package apple-internal-pki-trust was found to contain malicious code. Source: ghsa-malware (7ff0ba62a485e4357c65d36f2f577a2df53ae7310a2cf5712011cfdb83a9c054) 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-internal-pki-trust
Purl: pkg:npm/apple-internal-pki-trust
Affected ranges
Type: SEMVER
Events:
