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 full system fingerprint including hostname, username, home directory file listing, AWS credentials, GCP active config, and all environment variables, base64-encoded, to https://franki.requestcatcher.com/applefullleak via curl.
-= Per source details. Do not edit below this line.=-
The package apple-internal-dev-check was found to contain malicious code.
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.
The OpenSSF Package Analysis project identified 'apple-internal-dev-check' @ 2.0.0 (npm) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"source": "ossf-package-analysis",
"versions": [
"2.0.0"
],
"import_time": "2026-04-28T00:48:37.071975431Z",
"modified_time": "2026-04-27T06:58:17Z",
"sha256": "b9be007ef6ea0b1d3d9ba50b8958b00bc0089155dfc001fdf4988da85469dcd5"
},
{
"source": "amazon-inspector",
"versions": [
"2.0.0"
],
"import_time": "2026-04-30T22:23:09.772901354Z",
"modified_time": "2026-04-30T21:59:18Z",
"sha256": "95aeeda1c4b09aef606511b9d3f46c776a597189420959935831310789d5fcb5"
},
{
"source": "ghsa-malware",
"modified_time": "2026-05-15T10:40:55Z",
"id": "GHSA-p9p8-h8cq-mhq7",
"import_time": "2026-05-15T11:03:58.978025514Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"sha256": "46ead9073f7db53f463a83ad97dec95ccc82f9af9c4908abcc8771168e800a91"
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-internal-dev-check/MAL-2026-3124.json"
[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]