MAL-2026-13644

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sme-rko-finance-front-operations-pegasus/MAL-2026-13644.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13644
Published
2026-08-08T00:46:12Z
Modified
2026-08-08T01:04:45.955652907Z
Summary
Malicious code in sme-rko-finance-front-operations-pegasus (npm)
Details

-= 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<hex> on Linux/macOS or %TEMP%/dotnetdiag<hex>.exe on Windows, sets mode 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', <path>+' &']). 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-08T00:46:12Z",
            "id": "IN-MAL-2026-017158",
            "import_time": "2026-08-08T00:53:07.609781597Z",
            "versions": [
                "35.8.1"
            ],
            "source": "amazon-inspector",
            "sha256": "f4ad5f5c931a19daf4fd3f939fc2ed4f1ef2bb034800563cd2ad687f1fbe2364"
        }
    ]
}
References
Credits

Affected packages

npm / sme-rko-finance-front-operations-pegasus

Package

Name
sme-rko-finance-front-operations-pegasus
View open source insights on deps.dev
Purl
pkg:npm/sme-rko-finance-front-operations-pegasus

Affected ranges

Affected versions

35.*
35.8.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "sme-rko-finance-front-operations-pegasus-35.8.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-92+F929ScLZVvch+3svgMuPfWP4/keADPkL3aAVPbsA5XQ78SVW5OYDiiN7bBM7Dp3Org7KxA+nEP5xktT3MhQ==",
                "sha1": "55f79916e86373393de4cdd701e93c14b5c3aeb7"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "_shim.js",
            "tlsh": "5fa1c75a16fa30180792e0d4856f5816719bfa9333c8d8d4fb4ca6a44fd653883b39fc",
            "sha256": "3d712e3b73d490ff46cb8e304931b29a6d64e3541b6ef0382925c0f674501a3f"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "bb733f4966fb10214263b0685ebb40437635c4072a4aed5dba9c43ec9f8db3896f1fb9",
            "sha256": "80075b2386f8f1f06b8c5eeb437ee9e6a5370d40e1fd4c5bfbf145b70b9a59f5"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sme-rko-finance-front-operations-pegasus/MAL-2026-13644.json"