MAL-2026-3155

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-infra-network-v2/MAL-2026-3155.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3155
Aliases
  • GHSA-4mpf-c2vv-xfj5
Published
2026-04-29T08:00:00Z
Modified
2026-05-15T11:22:51.195302Z
Summary
Malicious code in apple-infra-network-v2 (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: preinstall. Performs a network pivot audit: dumps /etc/resolv.conf, performs internal DNS lookups for internal.apple.com, enumerates ARP neighbors, and collects proxy/cloud region environment variables; exfiltrates to https://webhook.site/1324ffab-98a9-4f19-8f72-4bbaad684aaf. The package also bundles pwn.sh, which hunts for npm/GitHub authentication tokens (NPMTOKEN, NODEAUTHTOKEN, GITHUBTOKEN, NPMAUTHTOKEN) 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 (e80599af1e13ac4ce47aed30e24d8b5006ddf26b1b98bb61cbb7296965c1cd10)

The package apple-infra-network-v2 was found to contain malicious code.

Source: ghsa-malware (34a04182ce0e3f25068dec2bc79cef04c5bdf3b78eb351128db1a6205a9fcfc5)

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": "e80599af1e13ac4ce47aed30e24d8b5006ddf26b1b98bb61cbb7296965c1cd10",
            "import_time": "2026-04-30T22:23:10.212334641Z",
            "modified_time": "2026-04-30T21:59:18Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "34a04182ce0e3f25068dec2bc79cef04c5bdf3b78eb351128db1a6205a9fcfc5",
            "import_time": "2026-05-15T11:03:58.960368546Z",
            "modified_time": "2026-05-15T10:40:55Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-4mpf-c2vv-xfj5",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / apple-infra-network-v2

Package

Name
apple-infra-network-v2
View open source insights on deps.dev
Purl
pkg:npm/apple-infra-network-v2

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-infra-network-v2/MAL-2026-3155.json"