pypi · Malicious package advisory
Malwarepython-dev-toolkit
GHSA-m9jc-pmj9-vq3j
Malicious code in python-dev-toolkit (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.9` ## Source: kam193 (3e8bbf18a10505977ab19adc6dd13d15e1c7df3c69391e1c930289b953619549) Installing packages exfiltrates data (different in different packages and versions) or run revshells --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-08-learning-pypi-demo-nisimi Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - exfiltration-generic --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-dev-toolkit/MAL-2025-191839.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/python-dev-toolkit - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-dev-toolkit/MAL-2025-191839.json - https://github.com/advisories/GHSA-m9jc-pmj9-vq3j
Compromised versions (1)
- = 0.1.9
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.