MAL-2026-1264Malicious code in python-requirements (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | python-requirements | 3.15.5 |
| PyPI | python-requirements | 3.15.6 |
{"modified":"2026-03-06T13:12:15Z","published":"2026-03-06T13:12:14Z","schema_version":"1.7.4","id":"MAL-2026-1264","summary":"Malicious code in python-requirements (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (40fa77c47c3649fce85f601f8aa10bf13674e5db4a2d35f125cb48b77d65f99d)\nThe 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/\n\nThe install_modules() method injects code into two files, which are characteristic for this repository, and causes exfiltrating configuration files during cryptocurrency exchange operations.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-03-old-python-module-installer\n\n\nReasons (based on the campaign):\n\n\n - impersonation\n\n\n - dependency-confusion\n\n\n - files-exfiltration\n\n\n - action-hidden-in-lib-usage\n\n\n - clones-real-package\n\n\n - crypto-related\n\n\n - exfiltration-crypto\n","affected":[{"package":{"ecosystem":"PyPI","name":"python-requirements"},"versions":["3.15.5","3.15.6"]}],"references":[{"type":"WEB","url":"https://github.com/Python-source-dev/python-module-installer/commit/f58c60b95e98dc9ae8f0fb03ed8eaa5fa23e14cf"},{"type":"WEB","url":"https://github.com/Python-source-dev/python-module-installer"},{"type":"WEB","url":"https://github.com/python-requirements/requirements"},{"type":"WEB","url":"https://github.com/fewcatltd/zkSync/"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-requirements"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/2026-03-old-python-module-installer/python-requirements","import_time":"2026-03-06T13:50:46.650453554Z","modified_time":"2026-03-06T13:12:15.018857Z","sha256":"40fa77c47c3649fce85f601f8aa10bf13674e5db4a2d35f125cb48b77d65f99d","source":"kam193","versions":["3.15.5","3.15.6"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0