Malicious code in semveer (PyPI)
Description
The 'semveer' package on PyPI is a malicious typosquatting package that downloads and executes malware during installation. It uses a setup.py install hook to fetch a remote payload from an unrelated host without verification and runs it as a detached process. The package name closely mimics the legitimate 'semver' package, aiming to trick users into installing it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'semveer' PyPI package (version 1.0.0) contains no functional code in its module but executes malicious behavior during installation. Specifically, its setup.py install hook downloads an opaque payload from a remote URL (https://c2-worker.crawlnet-claim.workers.dev/dl/pyupd) using urllib.request.urlretrieve, saves it to a temporary file, and launches it as a detached subprocess. This download is performed without any error reporting, hash or signature verification, and the remote host is unrelated to the declared publisher or project homepage. The package name is a one-character variation of the popular 'semver' package, consistent with typosquatting tactics designed to trick users into installing malware.
Potential Impact
Installing this package results in the silent download and execution of a remote payload, which is malware. This can lead to compromise of the user's system, data theft, or other malicious activities depending on the payload. The lack of verification and error suppression increases the risk of successful exploitation.
Defensive Guidance
Avoid installing the 'semveer' package. Verify package names carefully to avoid typosquatting traps. Since no official fix or patch is available, users should uninstall this package if installed and rely on trusted sources. Use package signing and verification tools where possible to detect tampered or malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-18102
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6ad7ec522cdf04f6566ba2a9
Added to database: 10/20/2026, 22:33:54 UTC
Last enriched: 10/20/2026, 22:44:42 UTC
Last updated: 10/20/2026, 22:44:42 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.