mal-2026-3154
Vulnerability from ossf_malicious_packages
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. Queries the GCP instance metadata service to steal the GCP project ID, zone, service account OAuth2 access token (the 'golden ticket'), and service account scopes; exfiltrates all data to https://webhook.site/1324ffab-98a9-4f19-8f72-4bbaad684aaf. The package also bundles pwn.sh, which hunts for npm/GitHub authentication tokens (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, NPM_AUTH_TOKEN) in the environment and ~/.npmrc, then uses any found token to publish a trojanized version of apple-app-store-server-library to the npm registry (supply chain attack), and exfiltrates results to https://webhook.site/85f78e76-dc73-4cb5-a65c-27f2c10db591.
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (78e8c1e0510900d5269d9d79d11cad804cc69d38cd2230d3c4fdef470136ee3b)
The package apple-infra-gcp-leak was found to contain malicious code.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
},
"package": {
"ecosystem": "npm",
"name": "apple-infra-gcp-leak"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.2.0"
]
}
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://safedep.io"
],
"name": "SafeDep",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"import_time": "2026-04-30T22:23:09.428420362Z",
"modified_time": "2026-04-30T21:59:18Z",
"sha256": "78e8c1e0510900d5269d9d79d11cad804cc69d38cd2230d3c4fdef470136ee3b",
"source": "amazon-inspector",
"versions": [
"1.2.0"
]
}
]
},
"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.\n\nTrigger: preinstall. Queries the GCP instance metadata service to steal the GCP project ID, zone, service account OAuth2 access token (the \u0027golden ticket\u0027), and service account scopes; exfiltrates all data to https://webhook.site/1324ffab-98a9-4f19-8f72-4bbaad684aaf. The package also bundles pwn.sh, which hunts for npm/GitHub authentication tokens (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, NPM_AUTH_TOKEN) in the environment and ~/.npmrc, then uses any found token to publish a trojanized version of apple-app-store-server-library to the npm registry (supply chain attack), and exfiltrates results to https://webhook.site/85f78e76-dc73-4cb5-a65c-27f2c10db591.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (78e8c1e0510900d5269d9d79d11cad804cc69d38cd2230d3c4fdef470136ee3b)\nThe package apple-infra-gcp-leak was found to contain malicious code.\n",
"id": "MAL-2026-3154",
"modified": "2026-04-30T22:25:08Z",
"published": "2026-04-29T08:00:00Z",
"schema_version": "1.7.4",
"summary": "Malicious code in apple-infra-gcp-leak (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.