pypi · Malicious package advisory
Malwarecryptolock
GHSA-5w4p-qq8r-3gx5
Malicious code in cryptolock (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (b0140fddafadce54debaca7d9591e2770acd987aaf90ec7008b4ae4cf301c233) During installation, the code tamper with security settings and downloads and executes malicious executable. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-cryptolock Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote executable. - malware --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cryptolock/MAL-2026-5089.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/cryptolock - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cryptolock/MAL-2026-5089.json - https://www.virustotal.com/gui/file/0912542c6e3a6b747a5bb30de22c1b79ead35c5a9a6813dcd8a6056cc312b892/detection - https://github.com/advisories/GHSA-5w4p-qq8r-3gx5
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.