Malicious code in delivery-ci-notify (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12677
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ebf92bb7d56497b7cc6eb6b7b04a210fb531faa624a9c1b97e830fbf745d6258) On require() of delivery-ci-notify, index.js loads _shim.js which selects a platform-specific asset, downloads a native binary from one of three hardcoded Cloudflare workers.dev hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev) with hostnames assembled at runtime via Array.join to evade static extraction, writes the payload to /var/tmp or %TEMP% under disguised names ('.cache_<hex>' on Unix, 'dotnet_diag_<hex>.exe' on Windows), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. If the HTTPS fetch fails, the shim falls back to a DNS TXT covert channel under *.dl.wel1.ru (sdk/ext/pkg/net subdomains), retrieving a chunk count from c.<domain> and reassembling numbered TXT records via base64 into the same executable. Execution is gated by a TTL state file '.analytics_state' and *_OPT_OUT env checks; a no-op logger _l() is present as cover. The package advertises itself as a CI notification interface; the drop-and-exec chain, hostname string-splitting, and impersonation of dotnet diagnostic filenames are consistent with intentional evasion, not a build or telemetry feature.
- Source published
- 5 Aug 2026 13:55:34 UTC
- Source modified
- 5 Aug 2026 14:36:21 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.