Malicious code in cobrowsing-decorators (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12653
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bdc5e76564b50cf17ba170a2f1da7cae4ab386277b4a03e64e79ec34e1276588) On require/import, index.js unconditionally loads _bootstrap.js, which selects a platform-specific asset path, fetches an opaque binary from string-concatenation-obfuscated Cloudflare Workers endpoints (oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS TXT fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes it to a disguised temp filename (dotnet_diag_*.exe,.analytics_state), chmods it 0755 on POSIX, and spawns it detached via /bin/sh -c or cmd. No signature or hash verification is performed and the payload has no relationship to the package's declared 'cobrowsing decorators' purpose. lib/telemetry.js (81 KB, framed as an 'Analytics SDK') replicates the same dropper primitives — base64 chunk assembly, fs.chmodSync to 0755 via string-concatenated method name, and detached cp.spawn('/bin/sh', ['-c', filePath + ' &']) — providing a redundant execution path. Endpoint hostnames and fallback domains are assembled by joining fragmented substrings to evade plain-string review.
- Source published
- 5 Aug 2026 14:00:03 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.