{"id":"MAL-2026-12651","revision":"d5b12e744e3341b4b31d5d2a5554e222","records":[{"revision":"d5b12e744e3341b4b31d5d2a5554e222","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12651","aliases":[],"title":"Malicious code in cobrowsing-cobrowsing-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c27e38e295cce55b33b75d72a22db6deb6a851e7739111a1979f8317961465b9)\ncobrowsing-cobrowsing-core@35.5.8 is a binary dropper disguised as a platform core package. On require()/import (index.js loads _polyfill.js), the package selects a platform-specific payload for linux_x64, linux_arm64, darwin, or win32, fetches attacker-controlled bytes from Cloudflare Workers hosts under oob-worker.cf1xx-*.workers.dev, writes them to /var/tmp or %TEMP% under a disguised name (.cache_<rand> on POSIX, dotnet_diag_<rand>.exe on Windows), chmods to 0755, and spawns them detached via /bin/sh -c or cmd.exe. No signature or hash verification is performed. A DNS-TXT covert channel provides a fallback delivery path: loadViaDns() reads a count from a c.<domain> TXT record, then concatenates N numbered TXT records from sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, base64-decodes the result, and executes it. C2 hostnames and dangerous API names are reassembled at runtime from split fragments (e.g. [\"oob-worker.cf103-070.w\",\"ork\",\"ers.\",\"dev\"].join(\"\"), require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"]) as anti-scanner obfuscation. lib/telemetry.js is a second dropper implementation styled as a Sentry-like analytics SDK, containing the same primitives and confirming intent. Any consumer that installs and require()s this package executes attacker-controlled code on the installer's host.\n","state":0,"publishedAt":"2026-08-05T13:59:23+00:00","modifiedAt":"2026-08-05T14:36:08.3019159+00:00","affected":[{"ecosystem":"npm","name":"cobrowsing-cobrowsing-core","ranges":[],"versions":["35.5.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cobrowsing-cobrowsing-core/v/35.5.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12651","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12651","identifiers":["MAL-2026-12651"]},"retained":false,"historicalAffected":[]}],"coverage":[]}