Malicious code in caen-caen-core (npm)
The npm package caen-caen-core version 35.5.8 contains malicious code that downloads and executes OS-specific native binaries from hardcoded, obfuscated Cloudflare Workers hosts and fallback DNS-TXT domains. These binaries are saved under deceptive filenames in temporary directories, given executable permissions, and run detached without any integrity verification. The package uses obfuscation techniques to evade static analysis and disguises its behavior under a telemetry/analytics pretense. This allows an attacker controlling the command-and-control infrastructure to execute arbitrary code on any machine that installs or requires this package.
AI Analysis
Technical Summary
The caen-caen-core npm package (version 35.5.8) includes a malicious payload in its main entry point (index.js) and a secondary dropper in lib/telemetry.js. Upon require, it downloads OS-specific native binaries from obfuscated Cloudflare Workers URLs and fallback DNS-TXT base64-encoded addresses, writes them to temporary directories with deceptive names, sets executable permissions, and spawns them detached via shell commands. No hash or signature verification is performed on the downloaded binaries. Hostnames are dynamically reconstructed to evade static detection. The package falsely claims to provide telemetry functionality, which is used as a cover story. This behavior enables arbitrary code execution controlled by the attacker on any system using this package.
Potential Impact
An attacker controlling the command-and-control infrastructure can achieve arbitrary code execution on any machine that installs or requires the affected version of the caen-caen-core package. This can lead to full system compromise, data theft, or further malware deployment. The lack of integrity checks on downloaded binaries and the use of obfuscation increase the risk and difficulty of detection.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using caen-caen-core version 35.5.8 and remove it from their environments. Avoid installing or requiring this package until a trusted, verified version is available. Monitor for any unusual processes spawned from temporary directories with deceptive names. Verify package integrity and source before installation. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in caen-caen-core (npm)
Description
The npm package caen-caen-core version 35.5.8 contains malicious code that downloads and executes OS-specific native binaries from hardcoded, obfuscated Cloudflare Workers hosts and fallback DNS-TXT domains. These binaries are saved under deceptive filenames in temporary directories, given executable permissions, and run detached without any integrity verification. The package uses obfuscation techniques to evade static analysis and disguises its behavior under a telemetry/analytics pretense. This allows an attacker controlling the command-and-control infrastructure to execute arbitrary code on any machine that installs or requires this package.
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 caen-caen-core npm package (version 35.5.8) includes a malicious payload in its main entry point (index.js) and a secondary dropper in lib/telemetry.js. Upon require, it downloads OS-specific native binaries from obfuscated Cloudflare Workers URLs and fallback DNS-TXT base64-encoded addresses, writes them to temporary directories with deceptive names, sets executable permissions, and spawns them detached via shell commands. No hash or signature verification is performed on the downloaded binaries. Hostnames are dynamically reconstructed to evade static detection. The package falsely claims to provide telemetry functionality, which is used as a cover story. This behavior enables arbitrary code execution controlled by the attacker on any system using this package.
Potential Impact
An attacker controlling the command-and-control infrastructure can achieve arbitrary code execution on any machine that installs or requires the affected version of the caen-caen-core package. This can lead to full system compromise, data theft, or further malware deployment. The lack of integrity checks on downloaded binaries and the use of obfuscation increase the risk and difficulty of detection.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using caen-caen-core version 35.5.8 and remove it from their environments. Avoid installing or requiring this package until a trusted, verified version is available. Monitor for any unusual processes spawned from temporary directories with deceptive names. Verify package integrity and source before installation. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12520
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cf5d
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:46:42 UTC
Last updated: 08/05/2026, 15:46:42 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.