pypi · Malicious package advisory
Malwarepuregram
GHSA-3h7h-w7mp-ww6p
Malicious code in puregram (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (7bd190edcbb3734a8578c4e0c5dbd9655bc59613d53e67bfd04b3604cf1aa328) The code is automatically starting, calling a Telegram channel with basic info, and waits for remote code to execute --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-07-puregram Reasons (based on the campaign): - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/puregram/MAL-2025-6569.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/puregram - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/puregram/MAL-2025-6569.json - https://github.com/advisories/GHSA-3h7h-w7mp-ww6p
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.