pypi · Malicious package advisory
Malwarechacha-lite-encrypt
GHSA-3fvx-f33q-fccr
Malicious code in chacha-lite-encrypt (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 4.2.0` ## Source: kam193 (705b86da323a21b157504bf4833b60c8aa90a57d6db5111716afe31c114b6c1d) During import, package decrypts and runs a malicious executable. The executable is hidden in an encoded and xored form in the JSON resource file. This is a follow up of the campaign 2026-03-fastapi-middleware-cors --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-ariadne-federation Reasons (based on the campaign): - malware - obfuscation - dependency-confusion - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/chacha-lite-encrypt/MAL-2026-1482.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/chacha-lite-encrypt - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/chacha-lite-encrypt/MAL-2026-1482.json - https://www.virustotal.com/gui/file/609d9adb5afe6fb913b605157a86e484f609b939e6755af4311ac6b824e634e2/detection - https://github.com/advisories/GHSA-3fvx-f33q-fccr
Compromised versions (1)
- = 4.2.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.