Advisory

MAL-2026-12530

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 cardsmobile-command-utils (npm)

Details

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

Source: amazon-inspector (36cfe57bdba8edd36f9303058545ce1097dd496f1c32304f1d8d912ccf321480)
On require(), index.js loads _bridge.js which selects a platform-specific URL, downloads a binary over HTTPS from author-controlled Cloudflare Workers subdomains, writes it to a hidden temp path with a decoy name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods it to 0755, and spawns it detached via /bin/sh or cmd.exe. The destination hostnames are constructed via [...].join('') string-fragment obfuscation (e.g. ["oob-","worker.cf","102-baf.work","ers.d","ev"].join("") resolving to oob-worker.cf102-baf.workers.dev, plus oob-worker.cf101-adf.workers.dev and oob-worker.cf100-416.workers.dev) to defeat static searches for the C2 infrastructure. If HTTPS fetches fail, _bridge.js falls back to a DNS TXT covert channel: it queries a chunk count at c.<domain> and reassembles a base64-encoded payload from <i>.<domain> TXT records under attacker-controlled zones sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. No signature or hash verification is performed on the fetched bytes, decoy filenames masquerade as.NET diagnostics/cache artifacts, staging uses hidden dot-files, execution is detached, and the loader honors DO_NOT_TRACK to suppress activity on researcher machines. Cover-story comments (// Clean up temporary files after extraction, // Binary-safe buffer concatenation) are unrelated to the surrounding code.

Severity

Not rated by the source.

Dates

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

Affected packages and fixes

cardsmobile-command-utils

npm · All systems

Affected

  • Versions: 35.9.2

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