MAL-2026-3124

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-internal-dev-check/MAL-2026-3124.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3124
Aliases
  • GHSA-p9p8-h8cq-mhq7
Published
2026-04-27T06:58:17Z
Modified
2026-05-15T11:22:44.811302Z
Summary
Malicious code in apple-internal-dev-check (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 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.=-

Source: amazon-inspector (95aeeda1c4b09aef606511b9d3f46c776a597189420959935831310789d5fcb5)

The package apple-internal-dev-check was found to contain malicious code.

Source: ghsa-malware (46ead9073f7db53f463a83ad97dec95ccc82f9af9c4908abcc8771168e800a91)

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.

Source: ossf-package-analysis (b9be007ef6ea0b1d3d9ba50b8958b00bc0089155dfc001fdf4988da85469dcd5)

The OpenSSF Package Analysis project identified 'apple-internal-dev-check' @ 2.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "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"
        }
    ]
}
References
Credits

Affected packages

npm / apple-internal-dev-check

Package

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

Affected ranges

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

Affected versions

2.*
2.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-internal-dev-check/MAL-2026-3124.json"
cwes
[
    {
        "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"
    }
]