Malicious code in sme-rko-finance-front-operations-pegasus (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13644
Published--- _-= 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%/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.
- Source published
- 8 Aug 2026 00:46:12 UTC
- Source modified
- 8 Aug 2026 01:04:45 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.