MAL-2026-3159

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-internal-pki-trust-v5/MAL-2026-3159.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3159
Aliases
  • GHSA-cgj9-rq56-vc54
Published
2026-04-29T08:00:00Z
Modified
2026-05-15T11:20:16.097267Z
Summary
Malicious code in apple-internal-pki-trust-v5 (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 hostname and filtered environment variables matching APPLE, AWS, GIT, or SECRET key patterns, base64-encoded, to https://franki.requestcatcher.com/apple_leak via curl.


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

Source: amazon-inspector (a7e9bdc3ce79637ac9a7c0ed34919f54ba8f38157315d4b54ac01fed9b80898e)

The package apple-internal-pki-trust-v5 was found to contain malicious code.

Source: ghsa-malware (0f934e1ae6f166cd10db59d8fb5520d721f1ad76ce83e82ee3cbbc5035279c77)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "a7e9bdc3ce79637ac9a7c0ed34919f54ba8f38157315d4b54ac01fed9b80898e",
            "import_time": "2026-04-30T22:23:15.013705755Z",
            "modified_time": "2026-04-30T21:59:18Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "0f934e1ae6f166cd10db59d8fb5520d721f1ad76ce83e82ee3cbbc5035279c77",
            "import_time": "2026-05-15T11:03:58.968276987Z",
            "modified_time": "2026-05-15T10:41:00Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-cgj9-rq56-vc54",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / apple-internal-pki-trust-v5

Package

Name
apple-internal-pki-trust-v5
View open source insights on deps.dev
Purl
pkg:npm/apple-internal-pki-trust-v5

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-internal-pki-trust-v5/MAL-2026-3159.json"