Malicious code in semmver (PyPI)
Description
The semmver package on PyPI is a typosquatting malicious package that executes attacker-controlled code during installation. Its setup.py downloads and runs an unverified binary from a suspicious external URL, leading to remote code execution on the installer's machine.
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 semmver PyPI package (version 1.0.0) is a typosquatting stub that contains minimal legitimate code but executes malicious actions during installation. Specifically, its setup.py script downloads an opaque binary from a suspicious domain labeled 'c2-worker' and executes it without any integrity checks or pinning. This results in arbitrary code execution on the system of anyone installing the package. The package is designed to masquerade as a legitimate utility but is in fact a malware delivery mechanism.
Potential Impact
Installing the semmver package version 1.0.0 results in execution of attacker-controlled code on the installer's machine. This can lead to compromise of the system, including potential installation of malware or other malicious activities. The lack of verification for the downloaded binary increases the risk of infection.
Defensive Guidance
Avoid installing the semmver package version 1.0.0 from PyPI. Since this is a malicious typosquatting package, the best mitigation is to verify package names carefully before installation. There is no official fix or patch available. Users should remove the package if installed and scan their systems for potential compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-18101
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6ad7ec522cdf04f6566ba2aa
Added to database: 10/20/2026, 22:33:54 UTC
Last enriched: 10/20/2026, 22:44:50 UTC
Last updated: 10/20/2026, 22:44:50 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.