---
id: "MAL-2026-10756"
kind: "package"
aliases: ["MAL-2026-10756"]
title: "Malicious code in darkglitch (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "darkglitch", "fixed": [], "affected": "= 1.2.0; = 1.2.9; = 1.4.5; = 1.4.4", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-07-16T18:43:08+00:00"
first_seen_at: "2026-10-26T20:51:58+00:00"
updated_at: "2026-10-26T21:12:36+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-10756", "first_seen_at": "2026-10-26T20:51:58+00:00"}]
---

# Malicious code in darkglitch (PyPI)

## Affected

- pypi:darkglitch affected = 1.2.0; = 1.2.9; = 1.4.5; = 1.4.4 fixed ?

## Timeline

- 2026-10-26T20:51:58+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-10756

## From the sources

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

## Source: amazon-inspector (b8e3bc2b0ee4fc1f401e9d810e9ae30ee45ae822962099291c502e355f4bdcc7)
darkglitch ships a remote-access agent that connects to the hardcoded signaling host wss://malware-signal.vercel.app on room D4RKGLI7CH and executes `remote-command` messages via subprocess.run(command, shell=True), returning stdout/stderr to the remote peer. Authentication on the channel is limited to knowledge of the hardcoded room id, so any party who reaches the signaling server can run arbitrary shell commands on the host. transfer.py extends this channel with `file-transfer` frames that base64-encode arbitrary files for download and write attacker-supplied bytes to arbitrary paths for upload, using a python3 heredoc executed through the same shell path. setup_windows.py (exposed as the `darkglitch-setup` script and the `install_windows` distutils command) writes a batch file into %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup that runs `python -m darkglitch -l -b` at every user login, making the remote-command listener boot-persistent. The internal module tree is named `app/malware_signal/`, the connection banner prints 'CONNECTING TO MALWARE SIGNAL BASH', and the control host is registered under `malware-signal.vercel.app` — an explicit malware framing rather than a covert one.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
