pypi · Malicious package advisory
Malwarepycalculater
GHSA-qcm7-hvwr-rx3q
Malicious code in pycalculater (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1` ## Source: kam193 (84e239de4d2d6d9652a78ead4c1ebb6b3f4952aeb54dc51dc30765eaaf806368) During installation, a remote, obfuscated executable is downloaded and started. The executable at least disables automated updates, malware protection and other security mechanisms. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-11-discconnect Reasons (based on the campaign): - typosquatting - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote executable. - modify-system-without-consent --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pycalculater/MAL-2024-11668.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pycalculater - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pycalculater/MAL-2024-11668.json - https://tria.ge/241116-2zm18awbpe - https://www.virustotal.com/gui/file-analysis/Y2IyYmNjMjNlNjdmNzYwMmM0M2RkYjk4ZTliODllN2Y6MTczMTc5NzYxMg== - https://github.com/advisories/GHSA-qcm7-hvwr-rx3q
Compromised versions (1)
- = 0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.