{"id":"MAL-2026-590","summary":"Malicious code in pytorch-mutex (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4959fc9ffb04b2e53d068fa3e6564a21dd3bd4b6374324416a643c3e58ebe330)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-01-28T18:03:07.003864Z","published":"2026-01-28T16:28:32Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/pytorch-mutex","import_time":"2026-01-28T16:48:06.907420222Z","modified_time":"2026-01-28T16:28:32.932607Z","sha256":"4959fc9ffb04b2e53d068fa3e6564a21dd3bd4b6374324416a643c3e58ebe330","source":"kam193","versions":["0.0.0","1","7.0.0","7.0.1","7.0.3","10.0.0"]},{"versions":["0.0.0","1","7.0.0","7.0.1","7.0.3","10.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/pytorch-mutex","import_time":"2026-01-28T17:45:19.870117479Z","modified_time":"2026-01-28T16:48:59.455689Z","sha256":"59a2cea7a7578f7a9b290751c635ebf20230b644028ec76b9d1dca97e08c491e","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pytorch-mutex"}],"affected":[{"package":{"name":"pytorch-mutex","ecosystem":"PyPI","purl":"pkg:pypi/pytorch-mutex"},"versions":["0.0.0","1","7.0.0","7.0.1","7.0.3","10.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pytorch-mutex/MAL-2026-590.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}