MAL-2026-3163

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-global-util/MAL-2026-3163.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3163
Aliases
  • GHSA-56m6-68r8-r7p4
Published
2026-04-29T08:00:00Z
Modified
2026-05-15T11:22:28Z
Summary
Malicious code in npm-global-util (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. Executes ms_audit.sh on install: reads the full process environment from /proc/1/environ (including PID 1 / container init secrets), searches filesystem for entrypoint/startup scripts, and queries the GCP instance metadata API for all instance attributes; exfiltrates all data to https://webhook.site/e44df9ae-8bff-478a-b1f2-514c1fcbf303.


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

Source: amazon-inspector (48ee2fe96a946076abe1db7acffc5f90477a30fe288e50bf2dae0a53a80fc3d7)

The package npm-global-util was found to contain malicious code.

Source: ghsa-malware (4dff7c54f2930e75fc19e2a137e55cfc6e67b2d77e0e15aad170737da00bb8f6)

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": [
        {
            "import_time": "2026-04-30T22:23:12.052051371Z",
            "modified_time": "2026-04-30T21:59:18Z",
            "sha256": "48ee2fe96a946076abe1db7acffc5f90477a30fe288e50bf2dae0a53a80fc3d7",
            "source": "amazon-inspector",
            "versions": [
                "1.3.2",
                "1.3.4"
            ]
        },
        {
            "id": "GHSA-56m6-68r8-r7p4",
            "import_time": "2026-05-15T11:03:58.96194923Z",
            "modified_time": "2026-05-15T10:40:55Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4dff7c54f2930e75fc19e2a137e55cfc6e67b2d77e0e15aad170737da00bb8f6",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / npm-global-util

Package

Name
npm-global-util
View open source insights on deps.dev
Purl
pkg:npm/npm-global-util

Affected ranges

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

Affected versions

1.*
1.3.2
1.3.4

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-global-util/MAL-2026-3163.json"