Malicious package · PyPI
Malicious code in semmver (PyPI)
1.0.0No safe version. Remove it.What it does
The package is a typosquat-style empty stub (semmver/init.py contains only version = '1.0.0') whose only functional code is in setup.py. At pip install time, setup.py calls urllib.request.urlretrieve to download an opaque, unpinned binary from https://c2-worker.crawlnet-claim.workers.dev/dl/pyupd, writes it to a temporary path, and launches it via subprocess.Popen with start_new_session=True and stdout/stderr suppressed, detaching it from the installer process. There is no hash or signature verification, no pinning, and the destination host is unrelated to any legitimate utility purpose; the subdomain is self-labeled 'c2-worker'. Installing this package executes attacker-controlled code on the installer's machine.
Reported by kam193 During installation, package downloads and executes malware.
No fix · Remove and contain
pip uninstall semmverSources