Skip to main content

Malicious code in cobrowsing-cobrowsing-core (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:59:23 UTC)
Source: GCVE Database
Product: cobrowsing-cobrowsing-core

Description

The npm package cobrowsing-cobrowsing-core version 35.5.8 is a malicious package acting as a binary dropper disguised as a platform core package. Upon being imported or required, it downloads attacker-controlled payloads specific to the host platform from Cloudflare Workers domains, writes them to temporary directories, sets executable permissions, and executes them without any signature or hash verification. It also includes a fallback covert delivery mechanism via DNS TXT records. This behavior results in arbitrary code execution on the host system when the package is installed and loaded.

Affected software

npmghsa
cobrowsing-cobrowsing-core
Affected versions
=35.5.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 16:19:33 UTC

Technical Analysis

The cobrowsing-cobrowsing-core npm package at version 35.5.8 contains malicious code that functions as a binary dropper. When the package is imported, it dynamically selects a platform-specific payload for Linux (x64 and ARM64), macOS (darwin), or Windows (win32) and fetches attacker-controlled binaries from Cloudflare Workers domains under oob-worker.cf1xx-*.workers.dev. These binaries are saved to temporary directories with disguised filenames, permissions are set to executable, and the binaries are spawned detached via shell commands. No integrity checks such as signature or hash verification are performed. Additionally, a DNS TXT record-based covert channel is implemented as a fallback delivery method, where base64-encoded payload fragments are retrieved from specific domains and executed. The package uses runtime string assembly and obfuscation techniques to evade detection. A secondary dropper implementation is present in lib/telemetry.js, mimicking an analytics SDK but containing the same malicious primitives. Any user who installs and requires this package will execute attacker-controlled code on their host.

Potential Impact

This malicious package enables arbitrary code execution on the host system of any user who installs and imports it. The attacker can deliver and execute platform-specific payloads without any verification, potentially leading to full system compromise. The use of obfuscation and covert DNS channels complicates detection and analysis. This poses a significant risk to the confidentiality, integrity, and availability of affected systems.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing or using cobrowsing-cobrowsing-core version 35.5.8. Remove the package from any affected systems immediately if installed. Use trusted sources and verify package integrity before installation. Monitor package dependencies for suspicious or unexpected additions. Since this is a malicious package rather than a vulnerability with a vendor fix, remediation relies on removal and prevention of installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12651
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735735bf8831d539141f3e

Added to database: 08/05/2026, 15:31:01 UTC

Last enriched: 08/05/2026, 16:19:33 UTC

Last updated: 09/18/2026, 02:21:53 UTC

Views: 17

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses