MAL-2026-3151

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-cloud-infrastructure-monitor/MAL-2026-3151.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3151
Aliases
  • GHSA-gr3q-f7jp-gr5c
Published
2026-04-29T08:00:00Z
Modified
2026-05-15T11:22:42.513845Z
Summary
Malicious code in apple-cloud-infrastructure-monitor (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 environment variables, SSH private keys (~/.ssh/id_rsa), AWS credentials (~/.aws/credentials), and git credentials (~/.git-credentials) base64-encoded to https://webhook.site/9a376595-d347-4110-ac32-814e6e2f0754 via curl.


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

Source: amazon-inspector (1c3116cb9a38975697b1cee2df2a53c5008e04f41df57345669b89af78889468)

The package apple-cloud-infrastructure-monitor was found to contain malicious code.

Source: ghsa-malware (e0138a1312052605678c000e1fca8499981898d4dbc3d526f1f11bd2d2a23814)

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": "1c3116cb9a38975697b1cee2df2a53c5008e04f41df57345669b89af78889468",
            "source": "amazon-inspector",
            "modified_time": "2026-04-30T21:59:18Z",
            "import_time": "2026-04-30T22:23:11.34477482Z",
            "versions": [
                "1.1.0"
            ]
        },
        {
            "sha256": "e0138a1312052605678c000e1fca8499981898d4dbc3d526f1f11bd2d2a23814",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "modified_time": "2026-05-15T10:41:00Z",
            "id": "GHSA-gr3q-f7jp-gr5c",
            "import_time": "2026-05-15T11:03:58.97321064Z"
        }
    ]
}
References
Credits

Affected packages

npm / apple-cloud-infrastructure-monitor

Package

Name
apple-cloud-infrastructure-monitor
View open source insights on deps.dev
Purl
pkg:npm/apple-cloud-infrastructure-monitor

Affected ranges

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

Affected versions

1.*
1.1.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apple-cloud-infrastructure-monitor/MAL-2026-3151.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"
    }
]