mal-2026-4438
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (a79ca8ef6257be2fbac9c361b969d9e63ce6a833e42dafa4b558e1f805276502)
On npm install, scripts/postinstall.js performs two attacker-benefit actions against the installer. First, it scrapes installer-side credentials: it iterates process.env matching a sensitive-key list (npm_token, github_token, aws_access_key_id, aws_secret_access_key, artifactory_token, nexus_token, node_auth_token, npm_config__auth) and reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, then POSTs the collected secrets together with hostname, username, cwd, PATH, node/npm versions, default registry, and a private_registry_detected flag to https://oob.moika.tech/report. The registry-detection field is dependency-confusion targeting telemetry to identify high-value victims behind private registries. Second, it fetches a per-OS script from https://oob.moika.tech/payload/{linux,mac,win}, writes it to os.tmpdir() as ._service-suppliers_init.sh/.bat, chmods 0755, and spawns it via /bin/sh or cmd.exe with detached/stdio:ignore — an unpinned external host unrelated to the claimed publisher, with no hash verification. The package self-identifies its payload as 'dependency-confusion-npm' and the public scope @service-suppliers/suppliers appears to squat an internal namespace. The 'authorized testing' label in the source provides no protection to any unintended installer that resolves this version from the public registry.
Source: ghsa-malware (6ec168f76cb0912591c310c865e6c3e795b002b5d85d4ed470ed162612161bce)
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.
{
"affected": [
{
"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"
}
],
"indicators": {
"domains": [
"oob.moika.tech"
],
"evidence_files": [
{
"path": "scripts/postinstall.js",
"sha256": "8631889798f24a4bf6b43889ac02134c6a7ab2f1a40340e19ffe16889daf009b",
"tlsh": "d4d1cadb62f7553407d6a5ea991b6412e633b1033d06f8e0fa6c51005f8aa7c8273eed"
}
],
"package_integrity": [
{
"filename": "suppliers-9.9.10.tgz",
"hashes": {
"sha1": "5105bf564d8db7ddd0df829c8d33ed11e8483bb3",
"sha512_sri": "sha512-dVc9djD++WSWkAMKK9Puph/QQS52MxcBFch4SsL3Nki9Jbzma7EA7r9oVPUXqKLJH7G4jADcijFvbFJG/S/kTw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@service-suppliers/suppliers"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"9.9.10"
]
}
],
"aliases": [
"GHSA-ppcx-6vx9-76mf"
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-004749",
"import_time": "2026-05-26T05:53:12.60126042Z",
"modified_time": "2026-05-25T18:11:14Z",
"sha256": "41ce044d6dd8b4ef89acd4b335e67c8301487572c6be883ac2d46cab7bfc7345",
"source": "amazon-inspector",
"versions": [
"9.9.10"
]
},
{
"id": "IN-MAL-2026-004748",
"import_time": "2026-05-26T05:53:12.462706214Z",
"modified_time": "2026-05-25T18:11:14Z",
"sha256": "a79ca8ef6257be2fbac9c361b969d9e63ce6a833e42dafa4b558e1f805276502",
"source": "amazon-inspector",
"versions": [
"9.9.10"
]
},
{
"id": "GHSA-ppcx-6vx9-76mf",
"import_time": "2026-05-28T15:25:19.334561004Z",
"modified_time": "2026-05-28T13:39:50Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "6ec168f76cb0912591c310c865e6c3e795b002b5d85d4ed470ed162612161bce",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a79ca8ef6257be2fbac9c361b969d9e63ce6a833e42dafa4b558e1f805276502)\nOn `npm install`, scripts/postinstall.js performs two attacker-benefit actions against the installer. First, it scrapes installer-side credentials: it iterates process.env matching a sensitive-key list (npm_token, github_token, aws_access_key_id, aws_secret_access_key, artifactory_token, nexus_token, node_auth_token, npm_config__auth) and reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, then POSTs the collected secrets together with hostname, username, cwd, PATH, node/npm versions, default registry, and a `private_registry_detected` flag to https://oob.moika.tech/report. The registry-detection field is dependency-confusion targeting telemetry to identify high-value victims behind private registries. Second, it fetches a per-OS script from https://oob.moika.tech/payload/{linux,mac,win}, writes it to os.tmpdir() as `._service-suppliers_init.sh`/`.bat`, chmods 0755, and spawns it via /bin/sh or cmd.exe with detached/stdio:ignore \u2014 an unpinned external host unrelated to the claimed publisher, with no hash verification. The package self-identifies its payload as \u0027dependency-confusion-npm\u0027 and the public scope @service-suppliers/suppliers appears to squat an internal namespace. The \u0027authorized testing\u0027 label in the source provides no protection to any unintended installer that resolves this version from the public registry.\n\n## Source: ghsa-malware (6ec168f76cb0912591c310c865e6c3e795b002b5d85d4ed470ed162612161bce)\nAny 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.\n",
"id": "MAL-2026-4438",
"modified": "2026-05-28T15:26:36Z",
"published": "2026-05-25T18:11:14Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@service-suppliers/suppliers/v/9.9.10"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-ppcx-6vx9-76mf"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @service-suppliers/suppliers (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.