Malicious code in semverr (PyPI)
Description
The semverr package on PyPI is a malicious typosquatting package that executes malware during installation. It downloads an unverified binary from an anonymous Cloudflare Workers URL and runs it silently on the victim's system. The package has no legitimate functionality and is designed to evade detection by swallowing errors during the download and execution process.
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 semverr package is a near-empty Python package whose setup.py script, executed during installation, downloads a remote binary from an untrusted Cloudflare Workers URL without verification. This binary is saved to a temporary file and launched as a detached subprocess with output suppressed, allowing the malware to run silently. The package name mimics the popular semver library, indicating a typosquatting attack. The installation process swallows exceptions to avoid alerting the user to the malicious activity. The package contains no other functionality beyond this malicious behavior.
Potential Impact
Installing the semverr package results in silent execution of a remote binary that is malware. This can lead to compromise of the host system, unauthorized code execution, and potential further malicious activity depending on the payload of the downloaded binary. The package is designed to evade detection and runs without user awareness.
Mitigation Recommendations
Do not install the semverr package. Use official and verified packages from trusted sources. Since no patch or fix exists for this malicious package, avoid it entirely. Security teams should monitor for attempts to install this package and block it in package management systems. Verify package authenticity and integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-18103
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6ad7ec522cdf04f6566ba2a8
Added to database: 10/20/2026, 22:33:54 UTC
Last enriched: 10/20/2026, 22:44:39 UTC
Last updated: 10/20/2026, 22:44:39 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.