CRITICAL npm Malware

Malicious code in cobrowsing-exception-filter (npm)

MAL-2026-12654 · GHSA-9qpx-296v-g6gh

Published · Modified

Dependency scanning

Check whether cobrowsing-exception-filter is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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, dotnet_diag_.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: ghsa-malware (06bef7ad446a04b9b12656fd6d9dc7ae8406de2496cd445d1579778338440902)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Ready to move

Start Securing

Free, no credit card | First findings in minutes