pypi · Malicious package advisory
Malwarepyregions-snowflake
GHSA-pc49-gj8m-h96f
Malicious code in pyregions-snowflake (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 3.9.1` ## Source: kam193 (4c3a6759d779c0fe3ffac5559aa5f8915f72cab6bce545e1fe261f3caab47a65) During installation, the package starts obfuscated code that downloads and runs remote executables in specific environments - in older packages - attempts to exfiltrate some basic information using DNS requests and then likely cover tracks by installing a similarly named package from private repository --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-urllib-slim Reasons (based on the campaign): - typosquatting - Downloads and executes a remote executable. - obfuscation - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyregions-snowflake/MAL-2026-2109.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pyregions-snowflake - https://github.com/GCLNS - https://github.com/geekennedy - https://github.com/loudpage5125 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyregions-snowflake/MAL-2026-2109.json - https://www.virustotal.com/gui/file/d6029cce705b3842042106efb737c8b14eb736fdbfb8d0d03c3dfbc8d6c207a5?nocache=1 - https://github.com/advisories/GHSA-pc49-gj8m-h96f
Compromised versions (1)
- = 3.9.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.