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. Searches for Apple and CloudKit token/JSON files in ~/.apple and ~/.cloudkit directories; if found, exfiltrates them base64-encoded to https://franki.requestcatcher.com/ck_hit via curl.
-= Per source details. Do not edit below this line.=-
The package apple-cktool-api-v2 was found to contain malicious code.
1.1.0Exploitability
AV:NAC:LPR:NUI:NScope
S:CImpact
C:HI:HA:H10.0/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H