CRITICAL npm Malware

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

MAL-2026-13638

Published · Modified

Description


__

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 (POSIX) or %TEMP%\dotnet_diag_.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', 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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes