npm · Malicious package advisory
Malwaresme-rko-finance-front-operations-holding-domain
GHSA-wm7f-4h9v-m4mm
Malicious code in sme-rko-finance-front-operations-holding-domain (npm)
Details
**Severity:** Critical
**Affected versions:** `= 35.8.1`
## Source: amazon-inspector (f6838cce82eaa89f91af46e82f5153f7318dafd0ebccb4bdbb6251114d95ff51)
On require() of the package, _shim.js executes a bootstrap() at module top level that fetches a platform-specific native binary from string-concatenation-obfuscated hosts under oob-worker.cf10{0,1,2}-*.workers.dev, with a base64 DNS-TXT fallback under *.dl.wel1.ru. The fetched bytes are written to /var/tmp/.cache_<rand> (POSIX) or %TEMP%\dotnet_diag_<rand>.exe (Windows), chmod'd 0755, and detached-spawned via /bin/sh -c or cmd /c start /b. The exported main lib/telemetry.js contains a duplicate download-decode-chmod-exec chain (Buffer.from(chunks,'base64'), fs['chmod'+'Sync'](...,0o755), cp.spawn('/bin/sh',['-c', filePath + ' &'],{detached:true})) presented under an SDK/telemetry cover story. Destination hostnames and dangerous identifiers (require('child_'+'process'), fs['chmod'+'Sync']) are constructed via array-join and string concatenation to defeat static analysis. Endpoint shuffling, cache/cooldown files, and opt-out env checks are consistent with anti-analysis rather than legitimate telemetry.
---
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-holding-domain/MAL-2026-13638.json))
**References:**
- https://github.com/ossf/malicious-packages/blob/f4865d38bdd8cf89a75895cd20168baaaa03aea4/osv/malicious/npm/sme-rko-finance-front-operations-holding-domain/MAL-2026-13638.json
- https://www.npmjs.com/package/sme-rko-finance-front-operations-holding-domain/v/35.8.1
- https://github.com/advisories/GHSA-wm7f-4h9v-m4mmCompromised 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.