pypi · Malicious package advisory
Malwarehashstation
GHSA-34fc-pcvg-ggrj
Malicious code in hashstation (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## Source: kam193 (c4f136247c8a57eee83a1a36ee355c982d900b5f5b570a0936dc1df68db6d5f2) When using methods from the package, it downloads an obfuscated code from Github and puts it in multiple localisation. While it appears that this code is used to perform action user requested, deobfuscation reveals exfiltrating user's data instead. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-08-kertash Reasons (based on the campaign): - exfiltration-generic - A Telegram webhook is used to send collected data. - obfuscation - action-hidden-in-lib-usage --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hashstation/MAL-2025-191749.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/hashstation - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hashstation/MAL-2025-191749.json - https://github.com/advisories/GHSA-34fc-pcvg-ggrj
Compromised versions (1)
- = 0.1.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.