pypi · Malicious package advisory
Malwarepretty-tabulate
GHSA-2cv8-x4mx-6xm7
Malicious code in pretty-tabulate (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.37.1` ## Source: kam193 (807e99c43a51fb7620cee47a356774c3ead94e75c4bc48621a942c835107b2eb) Malicious code hidden in the color-list package uses the presence of pretty-tabulate as a trigger to load code hidden in likely a third malicious package. Packages were published simultaneously by two accounts not used for about a year, suggesting hijacked access. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-color-list Reasons (based on the campaign): - The malicious code is intentionally included in a dependency of the package - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pretty-tabulate/MAL-2026-1480.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pretty-tabulate - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pretty-tabulate/MAL-2026-1480.json - https://github.com/advisories/GHSA-2cv8-x4mx-6xm7
Compromised versions (1)
- = 2.37.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.