#16631·ComfyUI

[Security report] champdev-comfyui-nodes (publisher: champdev / rohit267) — victim machine infected with RAT + cryptominer after install; RCE nodes + telemetry to attacker-controlled domain; IOCs inside

Author: bluemeat0724Created Sep 28, 2026Updated Sep 28, 2026

A Windows ComfyUI Desktop user installed champdev-comfyui-nodes v0.5.2 from the Comfy Registry via ComfyUI-Manager (install_method: cnr). The machine ended up compromised with a full-featured RAT (remote access trojan) and a cryptominer, which persisted for at least 9 days. The pack has 3,743 downloads and all 13 of its versions (0.1.0–0.6.1) are still Active on the Registry, so other users are likely affected.

This report separates verifiable facts from open questions and requests a maintainer audit.

Victim timeline (local time, UTC+8)

Time Event
2026-09-20 09:23:47 champdev-comfyui-nodes v0.5.2 installed via ComfyUI-Manager (recorded in Manager batch history)
2026-09-20 09:24:12 pip installs pywinpty 3.0.5 per the pack's requirements.txt (verified: legitimate PyPI wheel, not poisoned)
2026-09-20 09:37:36 Unsigned 18 MB miner (comfyui.exe) appears in the ComfyUI shared output directory, connecting to prl.kryptex.network:7048
2026-09-23 → 09-29 A RAT is deployed locally: a prestartup_script.py is written into the installed node's directory, plus 7 fake node packs (comfyui-protocolsuite, -technologysuite, -hardwaresuite, -opensuite, -contentsuite, -codingsuite, -connectsuite) are created in custom_nodes, each containing only an identical prestartup_script.py (Manager prestartup persistence)
2026-09-28 19:26 Miner self-updates and relaunches; runs continuously until incident response
2026-09-29 At IR time, ~60 hidden python processes were running the C2 client (command lines disguised as ComfyUI/main.py, payload fed via stdin), with 2 ESTABLISHED WebSocket connections to C2

What is verifiable about the pack itself

  • The RAT prestartup_script.py is not in the Registry package: byte-for-byte comparison of all 23 files in https://cdn.comfy.org/rohit267/champdev-comfyui-nodes/0.5.2/node.zip matches the local install; only .tracking and the RAT prestartup_script.py exist locally in addition.
  • However, the shipped package contains:
    • Arbitrary RCE primitives by design: a Terminal node (terminal.py, pty_session.py) exposing a full shell through the ComfyUI API, and a FileManager node (filemanager.py, fm_core.py) exposing arbitrary file read/write. On any ComfyUI instance bound to 0.0.0.0 without authentication (common per Censys' April 2026 research), these are a complete remote backdoor.
    • Telemetry to attacker-controlled infrastructure: telemetry.py resolves the machine's public IP via api.ipify.org and POSTs it to https://comfy-nodes-telemetry.champdev.in.
  • Open question (needs maintainer audit): whether the RAT was dropped by the pack's own code path or by a third party abusing the pack's RCE/filemanager nodes on the exposed instance. Both hypotheses are consistent with the evidence; either way the pack's design materially enabled the compromise. All 13 versions, including the latest 0.6.1 (published 2026-08-23), should be audited.

RAT capability (from decoded payload)

WebSocket C2 client with commands: arbitrary Python execution, shell execution, detached process launch, file read/write/push/pull, directory listing, screenshot capture. Machine ID is stored in a local id.txt; cluster identifier cluster5. C2 addresses are refreshed dynamically from Pastebin / Telegra.ph / webnote backup channels.

IOCs

C2 servers (WebSocket, port 8765):
  78.17.213.213        (2 ESTABLISHED connections at IR time)
  121.127.34.173       (mass reconnection attempts)
  103.20.235.215       (dynamically updated via backup channels)

Backup C2 address feeds:
  https://pastebin.com/raw/SiCPwKB6
  https://telegra.ph/my-poem-09-25
  https://telegra.ph/my-thoughts-09-25-2
  https://api-webnote.txttool.cn/netcut/note/info/  (note_id d1b29a62788edd6a)

Attacker domain:
  champdev.in  (telemetry endpoint comfy-nodes-telemetry.champdev.in)

Miner:
  pool prl.kryptex.network:7048, wallet krxYRP8WVQ, worker win103, algorithm pearlhash
  unsigned PE, 18,234,368 bytes

Persistence pack names (created on disk, not on the Registry):
  comfyui-protocolsuite / -technologysuite / -hardwaresuite / -opensuite
  / -contentsuite / -codingsuite / -connectsuite

SHA-256:
  RAT loader prestartup_script.py (7 identical copies):
    cc01756015453c55c7a47b2482920b0a5908d56c131bb7713ca9e72b4ee494dc
  RAT loader, updated variant (protocolsuite):
    22581298a9e0257fd493c5cff92788ed5909836336b04e15c21abc2ffa2620eb
  Decoded C2 client payload:
    0fc2713a4404fc8d2ed282ce4379e765f33a37fef49fb593c7af4e5fb8431bbc
  Miner executable:
    4c571e7357373c362272cda7f960e128e77363813ce8a5b0ab289ae2573d8010

Requested actions

  1. Ban / unpublish the pack and publisher pending audit, and surface a warning to users of all versions.
  2. Audit the publisher's other packs and all 13 versions of this pack (especially 0.6.1, the current latest).
  3. Add these loader/C2 indicators to the Registry's automated scanning.
  4. Consider a policy review for packs shipping shell/filemanager-style RCE nodes, which turn any exposed ComfyUI instance into a remote backdoor.

Full evidence package (timeline, IOC list, decoded RAT source, event logs, hashes) is available to maintainers on request — please contact via this issue.

References