caen-caen-corenpm
caen-caen-core is a confirmed malicious npm package (MAL-2026-12520) that opens a backdoor for remote access (malicious version 35.5.8). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in caen-caen-core (npm)
What this malware does
The package's main entry (index.js) loads ext.js on require. ext.js downloads an OS-specific native binary from hardcoded Cloudflare Workers hosts (oob-worker.cf10{1,2,3}-*.workers.dev) with a DNS-TXT base64 fallback resolving via {sdk,ext,pkg,net}.dl.wel1.ru, writes it to /tmp or %TEMP% under deceptive names (.cache<hex>, dotnet_diag<hex>.exe), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. No hash or signature verification is performed. Hostnames are reconstructed at runtime by Array.join over split string fragments to evade static analysis, and the module presents an 'analytics'/telemetry cover story with DISABLE_TELEMETRY-style env gates. A secondary dropper in lib/telemetry.js contains the same shape with additional obfuscation: require("child_" + "process"), Buffer.from(chunks, "base64"), fs["chmod"+"Sync"], and cp.spawn("/bin/sh", ["-c", filePath + " &"]). The fetched destinations and delivered binaries are unrelated to the stated 'platform core' purpose, giving whoever controls the C2 arbitrary code execution on any machine that installs or requires this package.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for caen-caen-core (version 35.5.8). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging caen-caen-core across your stack and pipelines.
If you installed it — respond
caen-caen-core establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If caen-caen-core was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.
How O3 protects you
O3 blocks caen-caen-core before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks caen-caen-core-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.