GHSA-j3ch-3jf2-gxgg
Malicious code in python-module-installer (PyPI)
Impact
## Source: kam193 (61bfa181c5afb9e33e0d529138c813fc05d8130062182d9d1a5cb4ef9c8da0ea) The package clones a legitimate webdavclient3 library and modifies it to be an installer utility. During installation, the package exfiltrates the current working directory to a remote WebDAV server or Telegram Bot. Additionally, the package targets cryptocurrency operations in another suspicious project, https://github.com/fewcatltd/zkSync/ The install_modules() method injects code into two files, which are characteristic for this repository, and causes exfiltrating configuration files during cryptocurrency exchange operations. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-old-python-module-installer Reasons (based on the campaign): - impersonation - dependency-confusion - files-exfiltration - action-hidden-in-lib-usage - clones-real-package - crypto-related - exfiltration-crypto --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-module-installer/MAL-2026-1263.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | python-module-installer | = 3.15.6 | none recorded |
| pip | python-module-installer | = 3.15.7 | none recorded |
| pip | python-module-installer | = 3.15.8 | none recorded |
| pip | python-module-installer | = 3.15.9 | none recorded |
| pip | python-module-installer | = 3.15.10 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-j3ch-3jf2-gxgg
- https://github.com/Python-source-dev/python-module-installer/commit/f58c60b95e98dc9ae8f0fb03ed8eaa5fa23e14cf
- https://bad-packages.kam193.eu/pypi/package/python-module-installer
- https://github.com/Python-source-dev/python-module-installer
- https://github.com/fewcatltd/zkSync
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-module-installer/MAL-2026-1263.json
- https://github.com/python-requirements/requirements