Skip to content

MAL-2026-18103 Malicious code in semverr (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: amazon-inspector (110e0a64dd80654ca98caa5e291499d158a39eb66c1d35efe896a42095c85118)

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.

Source: kam193 (0f1ce7737886cf79e2762db6431449cafab516651f2163e202faaf449a139ecb)

During installation, package downloads and executes malware.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-10-semvver

Reasons (based on the campaign):

  • Downloads and executes a remote executable.

  • malware

  • typosquatting

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi semverr(PyPI) = 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi semverr(PyPI) = 1.0.0 No fix listed

References