Malicious code in cobrowsing-exception-filter (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12654
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (715fc9a652bf5d69755ea21ef2a906c318c511fe433df0721a13e266c3646832) On require() of cobrowsing-exception-filter, index.js unconditionally loads _support.js, which selects a platform-specific endpoint from a hardcoded list of obfuscated hosts (Cloudflare Workers subdomains such as oob-worker.cf*.workers.dev, with a DNS-TXT fallback under *.dl.wel1.ru). The endpoint hostnames are reassembled at runtime from split fragments (e.g. ["oob-worker.cf100-416.workers.de","v"].join("") and ["sdk.dl.wel1.r","u"].join("")) to evade static analysis. The code downloads opaque bytes, writes them to /var/tmp or %TEMP% under disguised filenames (.cache_<hex>, dotnet_diag_<hex>.exe), chmods 0755, and spawns the binary detached via /bin/sh or cmd.exe. A TTL marker (analytics_state) rate-limits re-execution, and a DISABLE_TELEMETRY gate is used as cover-story framing. No hash/signature verification is performed, the hosts are attacker-controlled and mutable, and neither the fetched bytes nor the sibling 81KB lib/telemetry.js match any declared library purpose. The package name suggests an error-handling utility, but the shipped code has no such functionality.
- Source published
- 5 Aug 2026 13:59:16 UTC
- Source modified
- 5 Aug 2026 14:36:09 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.