Advisory

MAL-2026-12557

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 checkout-desktop-legal (npm)

Details

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

Source: amazon-inspector (9e7a07623c75a85bada6117a7a71f40d19924be192a769534e544ffe31f036b0)
On require() of checkout-desktop-legal, index.js loads _compat.js, which selects a platform-specific asset path and downloads a binary from Cloudflare Workers hosts whose names are assembled at runtime via array/join concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev), with a DNS TXT fallback across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The retrieved bytes are written to a temp path under a disguise name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), fs.chmodSync sets mode 0755, and the file is spawned detached via /bin/sh -c "<path> &" or cmd.exe /c start /b <path>. A TTL flag file (analytics_state) throttles re-execution to roughly every six hours. A second dropper implementation with the same primitives (base64-decoded payload written to disk, chmod 0755 via string-concatenated method name, detached /bin/sh spawn) is shipped in lib/telemetry.js. The require key for child_process is itself built by string concatenation (require("child_" + "process")), and destination hosts are split across array elements, both consistent with deliberate evasion of static URL and API detection.

Severity

Not rated by the source.

Dates

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

Affected packages and fixes

checkout-desktop-legal

npm · All systems

Affected

  • Versions: 35.2.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