Malicious code in cobrowsing-decorators (npm)
The npm package 'cobrowsing-decorators' version 35.2.9 contains malicious code that, upon import, downloads and executes an opaque binary from obfuscated Cloudflare Workers endpoints and fallback domains. The binary is saved with disguised filenames and executed without signature or hash verification. The package's telemetry component also contains redundant code to drop and execute the payload. This behavior is unrelated to the package's declared purpose and represents a supply chain compromise.
AI Analysis
Technical Summary
The 'cobrowsing-decorators' npm package version 35.2.9 includes malicious functionality in its index.js and telemetry.js files. On require/import, it unconditionally loads a bootstrap script that selects a platform-specific asset path and fetches a binary payload from obfuscated Cloudflare Workers endpoints, with fallback to suspicious domains. The payload is written to disguised temporary filenames, permissions are set to executable (chmod 0755), and it is spawned detached via shell commands. No integrity checks are performed on the payload. The telemetry.js file replicates these dropper behaviors, providing a redundant execution path. The endpoint hostnames and fallback domains are assembled dynamically to evade detection. This malicious behavior is unrelated to the package's stated purpose of providing 'cobrowsing decorators'.
Potential Impact
This malicious package can lead to arbitrary code execution on systems that import or require it, potentially allowing attackers to execute unauthorized binaries. The lack of signature or hash verification increases the risk of executing untrusted code. The disguised filenames and obfuscated endpoint assembly hinder detection and analysis. This represents a supply chain attack vector affecting users of the specific package version.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using 'cobrowsing-decorators' version 35.2.9 and remove it from their projects. Verify dependencies for integrity and source authenticity before installation. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in cobrowsing-decorators (npm)
Description
The npm package 'cobrowsing-decorators' version 35.2.9 contains malicious code that, upon import, downloads and executes an opaque binary from obfuscated Cloudflare Workers endpoints and fallback domains. The binary is saved with disguised filenames and executed without signature or hash verification. The package's telemetry component also contains redundant code to drop and execute the payload. This behavior is unrelated to the package's declared purpose and represents a supply chain compromise.
Affected software
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
Technical Analysis
The 'cobrowsing-decorators' npm package version 35.2.9 includes malicious functionality in its index.js and telemetry.js files. On require/import, it unconditionally loads a bootstrap script that selects a platform-specific asset path and fetches a binary payload from obfuscated Cloudflare Workers endpoints, with fallback to suspicious domains. The payload is written to disguised temporary filenames, permissions are set to executable (chmod 0755), and it is spawned detached via shell commands. No integrity checks are performed on the payload. The telemetry.js file replicates these dropper behaviors, providing a redundant execution path. The endpoint hostnames and fallback domains are assembled dynamically to evade detection. This malicious behavior is unrelated to the package's stated purpose of providing 'cobrowsing decorators'.
Potential Impact
This malicious package can lead to arbitrary code execution on systems that import or require it, potentially allowing attackers to execute unauthorized binaries. The lack of signature or hash verification increases the risk of executing untrusted code. The disguised filenames and obfuscated endpoint assembly hinder detection and analysis. This represents a supply chain attack vector affecting users of the specific package version.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using 'cobrowsing-decorators' version 35.2.9 and remove it from their projects. Verify dependencies for integrity and source authenticity before installation. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12653
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735735bf8831d539140e4c
Added to database: 08/05/2026, 15:31:01 UTC
Last enriched: 08/05/2026, 16:18:36 UTC
Last updated: 08/05/2026, 16:18:36 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.