mal-2026-3162
Vulnerability from ossf_malicious_packages
Published
2026-04-29 08:00
Modified
2026-04-30 22:25
Summary
Malicious code in apple-pki-cert-validator (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. Checks for ~/.ssh/id_rsa; if present, exfiltrates the SSH private key and last 50 lines of bash history, base64-encoded, to https://franki.requestcatcher.com/apple_whale via curl.
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (bd5051ccd5f3320b046d595f846390a4f697f2ba1c11cbba710d5fd85e001659)
The package apple-pki-cert-validator was found to contain malicious code.
CWE
- CWE-506 - The product contains code that appears to be malicious in nature.
Credits
{
"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-pki-cert-validator"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.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:10.272434741Z",
"modified_time": "2026-04-30T21:59:18Z",
"sha256": "bd5051ccd5f3320b046d595f846390a4f697f2ba1c11cbba710d5fd85e001659",
"source": "amazon-inspector",
"versions": [
"1.0.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: postinstall. Checks for ~/.ssh/id_rsa; if present, exfiltrates the SSH private key and last 50 lines of bash history, base64-encoded, to https://franki.requestcatcher.com/apple_whale via curl.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bd5051ccd5f3320b046d595f846390a4f697f2ba1c11cbba710d5fd85e001659)\nThe package apple-pki-cert-validator was found to contain malicious code.\n",
"id": "MAL-2026-3162",
"modified": "2026-04-30T22:25:08Z",
"published": "2026-04-29T08:00:00Z",
"schema_version": "1.7.4",
"summary": "Malicious code in apple-pki-cert-validator (npm)"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…