VYPR

npm · Malicious package advisory

Malware

apple-cloud-infrastructure-monitor

MAL-2026-3151

Malicious code in apple-cloud-infrastructure-monitor (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 environment variables, SSH private keys (~/.ssh/id_rsa), AWS credentials (~/.aws/credentials), and git credentials (~/.git-credentials) base64-encoded to https://webhook.site/9a376595-d347-4110-ac32-814e6e2f0754 via curl.

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (1c3116cb9a38975697b1cee2df2a53c5008e04f41df57345669b89af78889468)
The package apple-cloud-infrastructure-monitor was found to contain malicious code.

## Source: ghsa-malware (e0138a1312052605678c000e1fca8499981898d4dbc3d526f1f11bd2d2a23814)
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 (1)

  • 1.1.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.