pypi · Malicious package advisory
Malwarequatres
GHSA-xj2p-68p2-8wpj
Malicious code in quatres (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 3.0.1` ## Source: kam193 (0d720315dd49970cfc00c39f4e377485b2746a4fc24f42dec7e79d0749ab9a7d) During import, the hidden code downloads and executes the second-stage code. After performing anti-analysis checks, it downloads a malicious executable and ensures its persistence. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-helu Reasons (based on the campaign): - obfuscation - Downloads and executes a remote malicious script. - The package contains code to detect if it is running in a sandbox environment. - Downloads and executes a remote executable. - malware - persistence - covering-tracks --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/quatres/MAL-2026-4829.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/quatres - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/quatres/MAL-2026-4829.json - https://www.virustotal.com/gui/file/a14d17cd9f2e983795ed63f73373b94cb9eb047044a7b2f5269ac10c7db0499a/detection - https://github.com/advisories/GHSA-xj2p-68p2-8wpj
Compromised versions (1)
- = 3.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.