MAL-2026-13576
Malicious code in dolyame-ui-inputcount (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for dolyame-ui-inputcount (npm). Pin to a known-safe version or switch to an alternative.