mal-2026-13644
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (f4ad5f5c931a19daf4fd3f939fc2ed4f1ef2bb034800563cd2ad687f1fbe2364)
On require(), index.js loads shim.js which downloads a platform-specific binary from runtime-assembled *.workers.dev hostnames (with a DNS TXT fallback channel resolving through sdk/ext/pkg/net.dl.wel1.ru), writes it to /var/tmp/.cache on Linux/macOS or %TEMP%/dotnet_diag_.exe on Windows, sets mode 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', +' &']). Destination hostnames are assembled by.join() over char-fragment arrays and API names are built with string concatenation (require('child_'+'process'), fs['chmod'+'Sync']) to hide the behavior from static scanners. A.analytics_state cooldown file suppresses re-execution. The package main lib/telemetry.js (78KB) reimplements the same download/chmod/spawn chain inside classes labeled 'ServiceDiscovery' and 'NativeProfiler', reconstructing the payload via Buffer.from(chunks,'base64') from DNS-chunked data, so the dropper still fires if _shim is stripped. The package's stated purpose is data-transformation utilities and there is no legitimate need for a native downloader from non-publisher infrastructure.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "_shim.js",
"sha256": "3d712e3b73d490ff46cb8e304931b29a6d64e3541b6ef0382925c0f674501a3f",
"tlsh": "5fa1c75a16fa30180792e0d4856f5816719bfa9333c8d8d4fb4ca6a44fd653883b39fc"
},
{
"path": "lib/telemetry.js",
"sha256": "80075b2386f8f1f06b8c5eeb437ee9e6a5370d40e1fd4c5bfbf145b70b9a59f5",
"tlsh": "bb733f4966fb10214263b0685ebb40437635c4072a4aed5dba9c43ec9f8db3896f1fb9"
}
],
"package_integrity": [
{
"filename": "sme-rko-finance-front-operations-pegasus-35.8.1.tgz",
"hashes": {
"sha1": "55f79916e86373393de4cdd701e93c14b5c3aeb7",
"sha512_sri": "sha512-92+F929ScLZVvch+3svgMuPfWP4/keADPkL3aAVPbsA5XQ78SVW5OYDiiN7bBM7Dp3Org7KxA+nEP5xktT3MhQ=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "sme-rko-finance-front-operations-pegasus"
},
"versions": [
"35.8.1"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017158",
"import_time": "2026-08-08T00:53:07.609781597Z",
"modified_time": "2026-08-08T00:46:12Z",
"sha256": "f4ad5f5c931a19daf4fd3f939fc2ed4f1ef2bb034800563cd2ad687f1fbe2364",
"source": "amazon-inspector",
"versions": [
"35.8.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f4ad5f5c931a19daf4fd3f939fc2ed4f1ef2bb034800563cd2ad687f1fbe2364)\nOn require(), index.js loads _shim.js which downloads a platform-specific binary from runtime-assembled *.workers.dev hostnames (with a DNS TXT fallback channel resolving through sdk/ext/pkg/net.dl.wel1.ru), writes it to /var/tmp/.cache_\u003chex\u003e on Linux/macOS or %TEMP%/dotnet_diag_\u003chex\u003e.exe on Windows, sets mode 0755, and spawns it detached via cp.spawn(\u0027/bin/sh\u0027, [\u0027-c\u0027, \u003cpath\u003e+\u0027 \u0026\u0027]). Destination hostnames are assembled by.join() over char-fragment arrays and API names are built with string concatenation (require(\u0027child_\u0027+\u0027process\u0027), fs[\u0027chmod\u0027+\u0027Sync\u0027]) to hide the behavior from static scanners. A.analytics_state cooldown file suppresses re-execution. The package main lib/telemetry.js (78KB) reimplements the same download/chmod/spawn chain inside classes labeled \u0027ServiceDiscovery\u0027 and \u0027NativeProfiler\u0027, reconstructing the payload via Buffer.from(chunks,\u0027base64\u0027) from DNS-chunked data, so the dropper still fires if _shim is stripped. The package\u0027s stated purpose is data-transformation utilities and there is no legitimate need for a native downloader from non-publisher infrastructure.\n",
"id": "MAL-2026-13644",
"modified": "2026-08-08T00:46:12Z",
"published": "2026-08-08T00:46:12Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/sme-rko-finance-front-operations-pegasus/v/35.8.1"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in sme-rko-finance-front-operations-pegasus (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.