GHSA-7p38-28h2-mw4v
Malicious code in python-requirements (PyPI)
Impact
## Source: kam193 (40fa77c47c3649fce85f601f8aa10bf13674e5db4a2d35f125cb48b77d65f99d) 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-requirements/MAL-2026-1264.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | python-requirements | = 3.15.5 | none recorded |
| pip | python-requirements | = 3.15.6 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-7p38-28h2-mw4v
- https://github.com/Python-source-dev/python-module-installer/commit/f58c60b95e98dc9ae8f0fb03ed8eaa5fa23e14cf
- https://bad-packages.kam193.eu/pypi/package/python-requirements
- 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-requirements/MAL-2026-1264.json
- https://github.com/python-requirements/requirements