Malicious code in cardsmobile-event-emitter (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12532
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (66db77fd91ad9316ea06a13f10281595e60cf846e89787bcbb793d061cdd1315) On require of cardsmobile-event-emitter, index.js unconditionally loads _loader.js, which fetches an opaque platform-specific binary over HTTPS from runtime-concatenated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS TXT fallback channel across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /tmp (Unix) or %TEMP% (Windows) under a disguised name such as.cache_<hex> or dotnet_diag_<hex>.exe, chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start /b. Destination hostnames are assembled via array-join string splits to evade static analysis, and the DNS-TXT channel reassembles base64-encoded TXT records into an alternate payload path. The package's stated 'event emitter' purpose is unrelated to the download-and-execute behavior; there is no version pinning and no hash or signature verification of the fetched binary. A second full copy of the dropper (lib/telemetry.js, ~81KB) ships in the tarball with the same fetch/spawn shape.
- Source published
- 5 Aug 2026 14:16:30 UTC
- Source modified
- 5 Aug 2026 14:35:03 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.