VYPR

npm · Malicious package advisory

Malware

sme-rko-finance-front-operations-pegasus

GHSA-6fvh-4vgq-9765

Malicious code in sme-rko-finance-front-operations-pegasus (npm)

Details

**Severity:** Critical

**Affected versions:** `= 35.8.1`

## 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%/dotnet_diag_<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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f4865d38bdd8cf89a75895cd20168baaaa03aea4/osv/malicious/npm/sme-rko-finance-front-operations-pegasus/MAL-2026-13644.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/f4865d38bdd8cf89a75895cd20168baaaa03aea4/osv/malicious/npm/sme-rko-finance-front-operations-pegasus/MAL-2026-13644.json
- https://www.npmjs.com/package/sme-rko-finance-front-operations-pegasus/v/35.8.1
- https://github.com/advisories/GHSA-6fvh-4vgq-9765

Compromised versions (1)

  • = 35.8.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.