Malicious package · PyPI
Malicious code in semverr (PyPI)
1.0.0No safe version. Remove it.What it does
semverr is a near-empty package (a one-line version) whose name resembles the popular semver library. Its setup.py runs at install time (invoked by pip during pip install) and calls urllib.request.urlretrieve to fetch an opaque binary from https://c2-worker.crawlnet-claim.workers.dev/dl/pyupd, writes it to a PID-suffixed path in the system temp directory, and launches it via subprocess.Popen with start_new_session=True and stdout/stderr redirected to DEVNULL so the detached child survives the install and runs silently. The fetch is unpinned, unverified (no hash or signature check), and directed at an anonymous Cloudflare Workers host unrelated to any declared publisher. Exceptions in the fetch/exec path are swallowed so install still appears to succeed. The package has no other functionality.
Reported by kam193 During installation, package downloads and executes malware.
No fix · Remove and contain
pip uninstall semverrSources