Advisory

MAL-2026-12520

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in caen-caen-core (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (bb26af904b5c17120eb2473e92815157757686f5dd47f19bd954a65224defbf6)
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.

Severity

Not rated by the source.

Dates

Published
2026-08-05 14:17 UTC
Modified
2026-08-05 14:35 UTC

Affected packages and fixes

caen-caen-core

npm · All systems

Affected

  • Versions: 35.5.8

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences