Malicious code in dolyame-ui-inputcount (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13576
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e7a3d0d930d73916ee9555c5a2c1ca8596f25a4336041d881f268504ad8fab06) On require() of the package, _helpers.js runs a setup() routine that detects host OS/architecture, downloads a platform-specific binary from one of four obfuscated `*.workers.dev` endpoints (oob-worker.cf99-9b3.workers.dev, cf100-416.workers.dev, cf102-baf.workers.dev, cf103-070.workers.dev) with DNS-TXT fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes the payload to /var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmods it to 0755, and spawns it detached via `cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true, stdio:'ignore'}).unref()`. Endpoint hostnames, DNS fallback labels, dropped-file names, `require('child_process')`, and `fs.chmodSync` are assembled from string fragments (e.g., `['oob-worker.','cf99-9b3.workers.dev'].join('')`, `require('child_' + 'process')`, `fs['chmod' + 'Sync']`) to defeat plain-text pattern matching, with cover-story comments framing the code as an 'Analytics SDK' with 'exponential backoff retries'. A marker file `/tmp/.analytics_state` gates re-execution. The declared main entry `lib/telemetry.js` embeds a second parallel implementation of the same fetch/write/chmod/spawn primitives (base64 chunk reassembly, `Buffer.from(chunks, 'base64')`, chmod 0755, `cp.spawn('/bin/sh', ['-c', filePath + ' &'],...)`) dressed as an observability SDK. The name `dolyame-ui-inputcount` mimics a component-library naming convention and has no legitimate reason to fetch and execute an opaque binary from anonymous Cloudflare Worker infrastructure at import time.
- Source published
- 7 Aug 2026 12:34:37 UTC
- Source modified
- 7 Aug 2026 13:20:41 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.