Malicious package · PyPI
Malicious code in semveer (PyPI)
1.0.0No safe version. Remove it.What it does
The sdist for 'semveer' ships an inert module (semveer/init.py contains only a version stub) and places all runtime behavior inside setup.py's install hook. On pip install, setup.py calls urllib.request.urlretrieve against https://c2-worker.crawlnet-claim.workers.dev/dl/pyupd, writes the opaque payload to a temporary file, and launches it via subprocess.Popen with start_new_session=True as a detached process. The fetch is wrapped in a bare try/except that suppresses errors, there is no hash or signature verification, the version is not pinned, and the destination host is unrelated to any declared publisher or project homepage. The package name is a one-character edit of the widely used 'semver' name, consistent with a typosquat lure whose only purpose is to trigger the install-time dropper.
Reported by kam193 During installation, package downloads and executes malware.
No fix · Remove and contain
pip uninstall semveerSources